57 currentTrack = right.currentTrack;
58 proposedKinEnergy = right.proposedKinEnergy;
59 proposedMomentumDirection = right.proposedMomentumDirection;
60 proposedPolarization = right.proposedPolarization;
74 delete(*theListOfSecondaries)[index];
91 currentTrack = right.currentTrack;
92 proposedKinEnergy = right.proposedKinEnergy;
93 proposedMomentumDirection = right.proposedMomentumDirection;
94 proposedPolarization = right.proposedPolarization;
138 if(proposedKinEnergy > 0.0)
163 G4cout <<
" Kinetic Energy (MeV): " << std::setw(20)
164 << proposedKinEnergy / MeV <<
G4endl;
165 G4cout <<
" Momentum Direction: " << std::setw(20)
166 << proposedMomentumDirection <<
G4endl;
167 G4cout <<
" Polarization: " << std::setw(20) << proposedPolarization
176 G4bool exitWithError =
false;
187 G4cout <<
"G4ParticleChangeForGamma::CheckIt: ";
188 G4cout <<
"KinEnergy become larger than the initial value!"
189 <<
" Difference: " << accuracy <<
"[MeV] " <<
G4endl;
206 G4Exception(
"G4ParticleChangeForGamma::CheckIt()",
"TRACK004",
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)
virtual void DumpInfo() const
virtual ~G4ParticleChangeForGamma()
G4Step * UpdateStepForAtRest(G4Step *pStep)
G4ParticleChangeForGamma & operator=(const G4ParticleChangeForGamma &right)
virtual G4bool CheckIt(const G4Track &)
void AddSecondary(G4DynamicParticle *aParticle)
G4Step * UpdateStepForPostStep(G4Step *Step)
G4ParticleChangeForGamma()
G4double GetPDGMass() const
const G4String & GetParticleName() const
void SetKineticEnergy(const G4double aValue)
void SetWeight(G4double aValue)
void SetVelocity(G4double v)
void SetMomentumDirection(const G4ThreeVector &aValue)
void SetPolarization(const G4ThreeVector &aValue)
G4Track * GetTrack() const
void SetStepLength(G4double value)
void AddNonIonizingEnergyDeposit(G4double value)
void AddTotalEnergyDeposit(G4double value)
G4StepPoint * GetPostStepPoint() const
const G4ParticleDefinition * GetParticleDefinition() const
const G4ThreeVector & GetPosition() const
void SetTouchableHandle(const G4TouchableHandle &apValue)
G4double GetGlobalTime() const
G4ParticleDefinition * GetDefinition() const
const G4TouchableHandle & GetTouchableHandle() const
G4double GetKineticEnergy() const
G4double CalculateVelocity() const
G4int theNumberOfSecondaries
virtual G4bool CheckIt(const G4Track &)
static const G4double accuracyForException
G4double theLocalEnergyDeposit
G4TrackStatus theStatusChange
G4TrackFastVector * theListOfSecondaries
G4SteppingControl theSteppingControlFlag
static const G4double accuracyForWarning
G4double theNonIonizingEnergyDeposit
void AddSecondary(G4Track *aSecondary)
virtual void DumpInfo() const
G4bool isParentWeightProposed