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;
178 G4cout <<
" Kinetic Energy (MeV): "
179 << std::setw(20) << proposedKinEnergy/MeV
181 G4cout <<
" Momentum Direction: "
182 << std::setw(20) << proposedMomentumDirection
184 G4cout <<
" Polarization: "
185 << std::setw(20) << proposedPolarization
193 G4bool exitWithError =
false;
203 G4cout <<
"G4ParticleChangeForGamma::CheckIt: ";
204 G4cout <<
"KinEnergy become larger than the initial value!"
205 <<
" Difference: " << accuracy <<
"[MeV] " <<
G4endl;
224 "energy was illegal");
G4FastVector< G4Track, G4TrackFastVectorSize > G4TrackFastVector
G4DLLIMPORT 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()
const G4String & GetParticleName() const
void SetKineticEnergy(const G4double aValue)
void SetWeight(G4double aValue)
void SetMomentumDirection(const G4ThreeVector &aValue)
void SetPolarization(const G4ThreeVector &aValue)
void SetStepLength(G4double value)
void AddNonIonizingEnergyDeposit(G4double value)
void AddTotalEnergyDeposit(G4double value)
G4StepPoint * GetPostStepPoint() const
const G4ThreeVector & GetPosition() const
void SetTouchableHandle(const G4TouchableHandle &apValue)
G4double GetGlobalTime() const
G4ParticleDefinition * GetDefinition() const
const G4TouchableHandle & GetTouchableHandle() const
G4double GetKineticEnergy() 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
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)