104 if (localCoordinates)
106 TransformPoint(position);
130 if (localCoordinates)
132 TransformAxis(momentum);
156 if (localCoordinates)
158 TransformAxis(direction);
183 if (localCoordinates)
185 TransformAxis(globalPolarization);
242 if (localCoordinates)
246 GetInverseAffineTransformation()->
247 TransformAxis(globalDynamics->
248 GetMomentumDirection()));
254 globalPolarization.
x(),
255 globalPolarization.
y(),
256 globalPolarization.
z()
261 TransformPoint(globalPosition);
289 tellWhatIsWrong <<
"G4FastStep can be initialised only through G4FastTrack."
291 G4Exception(
"G4FastStep::Initialize(const G4Track&)",
299 theEnergyChange ( 0.0 ),
300 theTimeChange ( 0.0 ),
301 theProperTimeChange( 0.0 ),
302 fFastTrack ( nullptr ),
303 theWeightChange ( 0.0 )
486 G4bool exitWithError =
false;
494 ed <<
"The energy becomes larger than the initial value, difference = " << accuracy <<
" MeV" <<
G4endl;
495 G4Exception(
"G4FastStep::CheckIt(const G4Track& aTrack)",
502 G4bool itsOKforMomentum =
true;
509 ed <<
"The Momentum Change is not a unit vector, difference = " << accuracy <<
G4endl;
510 G4Exception(
"G4FastStep::CheckIt(const G4Track& aTrack)",
513 itsOK = itsOKforMomentum =
false;
522 ed <<
"The global time is getting backward, difference = " << accuracy <<
" ns" <<
G4endl;
523 G4Exception(
"G4FastStep::CheckIt(const G4Track& aTrack)",
533 ed <<
"The proper time is getting backward, difference = " << accuracy <<
" ns" <<
G4endl;
534 G4Exception(
"G4FastStep::CheckIt(const G4Track& aTrack)",
551 ed <<
"An inaccuracy in G4FastStep is beyond tolerance." <<
G4endl;
552 G4Exception(
"G4FastStep::CheckIt(const G4Track& aTrack)",
558 if (!itsOKforMomentum) {