59 if(trackdata ==
nullptr){
82 pos = ((*theTouchable->
GetRotation()).inverse())(pos);
99 G4double integrationLimit = std::fabs(posPost.
z() - posPre.
z());
101 if(integrationLimit > 0.){
151 G4double nud_temp =0., eld_temp =0.;
169 if(step + stepTot > integrationLimit){
170 step = integrationLimit - stepTot;
178 GetEF(aTrack,pos,efxy);
179 posk1 = step / mom.
z() *
mom;
180 momk1 = step / beta * Z * efxy;
183 GetEF(aTrack,pos_temp = pos + posk1 * 0.5,efxy);
184 posk2 = step / mom.
z() * (mom + momk1 * 0.5);
185 momk2 = step / beta * Z * efxy;
188 GetEF(aTrack,pos_temp = pos + posk2 * 0.5,efxy);
189 posk3 = step / mom.
z() * (mom + momk2 * 0.5);
190 momk3 = step / beta * Z * efxy;
193 GetEF(aTrack,pos_temp = pos + posk3,efxy);
194 posk4 = step / mom.
z() * (mom + momk3);
195 momk4 = step / beta * Z * efxy;
198 pos = pos + oneSixth * (posk1 + 2.*posk2 + 2.*posk3 + posk4);
199 mom = mom + oneSixth * (momk1 + 2.*momk2 + 2.*momk3 + momk4);
231 if(nud_temp < 0.) {nud_temp = 0.;}
232 if(eld_temp < 0.) {eld_temp = 0.;}
234 nud += (step * nud_temp);
235 eld += (step * eld_temp);
240 }
while(stepTot<integrationLimit);
245 if(nud < 1.
E-10) {nud = 1.E-10;}
246 if(eld < 1.
E-10) {eld = 1.E-10;}
272 if(mom.
x() != 0.0 || mom.
y() != 0.0){
273 double xy2 = mom.
x() * mom.
x() + mom.
y()*mom.
y();
319 return osc_per * 0.01;
353 if(bModifiedTraj==
true){