42 , lowEnergyLimit(1.0 * eV)
58 currentTrack = right.currentTrack;
59 proposedKinEnergy = right.proposedKinEnergy;
60 lowEnergyLimit = right.lowEnergyLimit;
61 currentCharge = right.currentCharge;
62 proposedMomentumDirection = right.proposedMomentumDirection;
76 delete(*theListOfSecondaries)[index];
95 currentTrack = right.currentTrack;
96 proposedKinEnergy = right.proposedKinEnergy;
97 currentCharge = right.currentCharge;
98 proposedMomentumDirection = right.proposedMomentumDirection;
110 G4cout <<
" Charge (eplus) : " << std::setw(20)
111 << currentCharge / eplus <<
G4endl;
112 G4cout <<
" Kinetic Energy (MeV): " << std::setw(20)
113 << proposedKinEnergy / MeV <<
G4endl;
114 G4cout <<
" Momentum Direct - x : " << std::setw(20)
115 << proposedMomentumDirection.
x() <<
G4endl;
116 G4cout <<
" Momentum Direct - y : " << std::setw(20)
117 << proposedMomentumDirection.
y() <<
G4endl;
118 G4cout <<
" Momentum Direct - z : " << std::setw(20)
119 << proposedMomentumDirection.
z() <<
G4endl;
127 G4bool exitWithError =
false;
138 G4cout <<
"G4ParticleChangeForLoss::CheckIt: ";
139 G4cout <<
"KinEnergy become larger than the initial value!"
140 <<
" Difference: " << accuracy <<
"[MeV] " <<
G4endl;
157 G4Exception(
"G4ParticleChangeForLoss::CheckIt()",
"TRACK004",
184 if(kinEnergy < lowEnergyLimit)
192 pPostStepPoint->
SetCharge(currentCharge);
216 pPostStepPoint->
SetCharge(currentCharge);
220 if(proposedKinEnergy > 0.0)
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *description)
G4FastVector< G4Track, G4TrackFastVectorSize > G4TrackFastVector
G4GLOB_DLL std::ostream G4cout
void SetElement(G4int anIndex, Type *anElement)
G4Step * UpdateStepForPostStep(G4Step *Step)
virtual G4bool CheckIt(const G4Track &)
G4ParticleChangeForLoss()
G4ParticleChangeForLoss & operator=(const G4ParticleChangeForLoss &right)
virtual void DumpInfo() const
virtual ~G4ParticleChangeForLoss()
G4Step * UpdateStepForAlongStep(G4Step *Step)
const G4String & GetParticleName() const
void SetKineticEnergy(const G4double aValue)
void SetWeight(G4double aValue)
void SetCharge(G4double value)
void SetVelocity(G4double v)
G4double GetKineticEnergy() const
void SetMomentumDirection(const G4ThreeVector &aValue)
void SetPolarization(const G4ThreeVector &aValue)
G4Track * GetTrack() const
void AddNonIonizingEnergyDeposit(G4double value)
void AddTotalEnergyDeposit(G4double value)
G4StepPoint * GetPreStepPoint() const
G4StepPoint * GetPostStepPoint() const
const G4ThreeVector & GetPosition() const
G4ParticleDefinition * GetDefinition() const
G4double GetKineticEnergy() const
G4double CalculateVelocity() const
void SetKineticEnergy(const G4double aValue)
G4int theNumberOfSecondaries
G4bool fSetSecondaryWeightByProcess
virtual G4bool CheckIt(const G4Track &)
static const G4double accuracyForException
G4double theLocalEnergyDeposit
G4TrackStatus theStatusChange
G4TrackFastVector * theListOfSecondaries
G4SteppingControl theSteppingControlFlag
static const G4double accuracyForWarning
G4double theNonIonizingEnergyDeposit
virtual void DumpInfo() const
G4bool isParentWeightProposed