122 G4cout <<
" Position - x (mm) : " << std::setw(20)
124 G4cout <<
" Position - y (mm) : " << std::setw(20)
126 G4cout <<
" Position - z (mm) : " << std::setw(20)
128 G4cout <<
" Momentum Direct - x : " << std::setw(20)
130 G4cout <<
" Momentum Direct - y : " << std::setw(20)
132 G4cout <<
" Momentum Direct - z : " << std::setw(20)
141 G4bool exitWithError =
false;
154 G4cout <<
" G4ParticleChangeForMSC::CheckIt : ";
155 G4cout <<
"the Momentum Change is not unit vector !!"
156 <<
" Difference: " << accuracy <<
G4endl;
174 "momentum direction was illegal");
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
static constexpr double m
static constexpr double mm
static constexpr double MeV
G4GLOB_DLL std::ostream G4cout
G4ThreeVector thePosition
virtual G4Step * UpdateStepForPostStep(G4Step *Step)
virtual G4Step * UpdateStepForAlongStep(G4Step *Step)
virtual ~G4ParticleChangeForMSC()
G4ParticleChangeForMSC & operator=(const G4ParticleChangeForMSC &right)
virtual void DumpInfo() const
virtual G4bool CheckIt(const G4Track &)
G4ThreeVector theMomentumDirection
const G4String & GetParticleName() const
void SetPosition(const G4ThreeVector &aValue)
void SetMomentumDirection(const G4ThreeVector &aValue)
G4Track * GetTrack() const
void SetStepLength(G4double value)
G4StepPoint * GetPostStepPoint() const
G4TrackStatus GetTrackStatus() const
const G4ThreeVector & GetPosition() const
G4ParticleDefinition * GetDefinition() const
G4double GetKineticEnergy() const
G4int theNumberOfSecondaries
virtual G4bool CheckIt(const G4Track &)
static const G4double accuracyForException
G4double theTrueStepLength
G4double theLocalEnergyDeposit
G4TrackStatus theStatusChange
G4TrackFastVector * theListOfSecondaries
G4SteppingControl theSteppingControlFlag
static const G4double accuracyForWarning
G4int theSizeOftheListOfSecondaries
virtual void DumpInfo() const