From 9525fb65f41846ff6217b2e20655f21f70cfa548 Mon Sep 17 00:00:00 2001 From: Daniel Noll Date: Wed, 4 Feb 2026 08:47:10 +0100 Subject: [PATCH] Update classicalRadius variable of Bunch in addition to the bunchAttr value. This fixes the scaling of SC strength as the former is the value used for the SC kicks. --- src/orbit/Bunch.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/orbit/Bunch.cc b/src/orbit/Bunch.cc index 98503c59..8a2a2714 100644 --- a/src/orbit/Bunch.cc +++ b/src/orbit/Bunch.cc @@ -808,6 +808,7 @@ void Bunch::updateClassicalRadius(){ val *= OrbitConst::mass_proton/mass; val *= charge*charge; bunchAttr->doubleVal("classical_radius",val); + classicalRadius = val; } double Bunch::setMacroSize(double val){