56 G4cout <<
"G4ParticleChangeForGamma::G4ParticleChangeForGamma() " <<
G4endl;
65 G4cout <<
"G4ParticleChangeForGamma::~G4ParticleChangeForGamma() " <<
G4endl;
74 G4cout <<
"G4ParticleChangeForGamma:: copy constructor is called " <<
G4endl;
76 currentTrack = right.currentTrack;
77 proposedKinEnergy = right.proposedKinEnergy;
78 proposedMomentumDirection = right.proposedMomentumDirection;
79 proposedPolarization = right.proposedPolarization;
88 G4cout <<
"G4ParticleChangeForGamma:: assignment operator is called " <<
G4endl;
95 G4cout <<
"G4ParticleChangeForGamma: assignment operator Warning ";
96 G4cout <<
"theListOfSecondaries is not empty ";
115 currentTrack = right.currentTrack;
116 proposedKinEnergy = right.proposedKinEnergy;
117 proposedMomentumDirection = right.proposedMomentumDirection;
118 proposedPolarization = right.proposedPolarization;
162 if(proposedKinEnergy > 0.0) {
187 G4cout <<
" Kinetic Energy (MeV): "
188 << std::setw(20) << proposedKinEnergy/
MeV
190 G4cout <<
" Momentum Direction: "
191 << std::setw(20) << proposedMomentumDirection
193 G4cout <<
" Polarization: "
194 << std::setw(20) << proposedPolarization
202 G4bool exitWithError =
false;
212 G4cout <<
"G4ParticleChangeForGamma::CheckIt: ";
213 G4cout <<
"KinEnergy become larger than the initial value!"
214 <<
" Difference: " << accuracy <<
"[MeV] " <<
G4endl;
233 "energy was illegal");
G4ParticleDefinition * GetDefinition() const
void SetStepLength(G4double value)
void SetElement(G4int anIndex, Type *anElement)
void AddNonIonizingEnergyDeposit(G4double value)
G4ParticleChangeForGamma & operator=(const G4ParticleChangeForGamma &right)
const G4ThreeVector & GetPosition() const
G4TrackFastVector * theListOfSecondaries
void SetWeight(G4double aValue)
virtual G4bool CheckIt(const G4Track &)
void SetTouchableHandle(const G4TouchableHandle &apValue)
virtual void DumpInfo() const
G4ParticleChangeForGamma()
const G4String & GetParticleName() const
G4Step * UpdateStepForPostStep(G4Step *Step)
static const G4double accuracyForException
virtual ~G4ParticleChangeForGamma()
void AddSecondary(G4DynamicParticle *aParticle)
void SetMomentumDirection(const G4ThreeVector &aValue)
virtual G4bool CheckIt(const G4Track &)
G4double GetKineticEnergy() const
void SetPolarization(const G4ThreeVector &aValue)
G4GLOB_DLL std::ostream G4cout
static constexpr double m
G4SteppingControl theSteppingControlFlag
G4bool isParentWeightProposed
G4double theLocalEnergyDeposit
G4int theNumberOfSecondaries
const G4ParticleDefinition * GetParticleDefinition() const
G4double GetGlobalTime() const
virtual void DumpInfo() const
G4double CalculateVelocity() const
void AddSecondary(G4Track *aSecondary)
const G4TouchableHandle & GetTouchableHandle() const
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
G4double GetPDGMass() const
void SetVelocity(G4double v)
G4FastVector< G4Track, G4TrackFastVectorSize > G4TrackFastVector
G4StepPoint * GetPostStepPoint() const
void AddTotalEnergyDeposit(G4double value)
static constexpr double MeV
G4TrackStatus theStatusChange
G4Step * UpdateStepForAtRest(G4Step *pStep)
static const G4double accuracyForWarning
void SetKineticEnergy(const G4double aValue)
G4Track * GetTrack() const
G4double theNonIonizingEnergyDeposit