38 fCountCalls(0), fCountEvaluations(0)
40 fpMagneticField= pMagField;
41 fDistanceConst= distance;
62 fpMagneticField= rightCMF.fpMagneticField;
63 fDistanceConst = rightCMF.fDistanceConst;
64 fLastLocation = rightCMF.fLastLocation;
65 fLastValue = rightCMF.fLastValue;
71 if (&p ==
this)
return *
this; *
this =
p;
return *
this;
82 G4double distSq= (newLocation-fLastLocation).mag2();
84 if( distSq < fDistanceConst*fDistanceConst ) {
85 Bfield[0] = fLastValue.
x();
86 Bfield[1] = fLastValue.
y();
87 Bfield[2] = fLastValue.
z();