#include <G4ParticleChangeForGamma.hh>
Definition at line 58 of file G4ParticleChangeForGamma.hh.
G4ParticleChangeForGamma::G4ParticleChangeForGamma |
( |
| ) |
|
Definition at line 49 of file G4ParticleChangeForGamma.cc.
56 G4cout <<
"G4ParticleChangeForGamma::G4ParticleChangeForGamma() " <<
G4endl;
G4GLOB_DLL std::ostream G4cout
G4SteppingControl theSteppingControlFlag
G4ParticleChangeForGamma::~G4ParticleChangeForGamma |
( |
| ) |
|
|
virtual |
Definition at line 70 of file G4ParticleChangeForGamma.cc.
74 G4cout <<
"G4ParticleChangeForGamma:: copy constructor is called " <<
G4endl;
76 currentTrack = right.currentTrack;
77 proposedKinEnergy = right.proposedKinEnergy;
78 proposedMomentumDirection = right.proposedMomentumDirection;
79 proposedPolarization = right.proposedPolarization;
G4GLOB_DLL std::ostream G4cout
Definition at line 123 of file G4ParticleChangeForGamma.cc.
const G4ThreeVector & GetPosition() const
void SetTouchableHandle(const G4TouchableHandle &apValue)
G4double GetGlobalTime() const
void AddSecondary(G4Track *aSecondary)
const G4TouchableHandle & GetTouchableHandle() const
G4bool G4ParticleChangeForGamma::CheckIt |
( |
const G4Track & |
aTrack | ) |
|
|
virtual |
Reimplemented from G4VParticleChange.
Definition at line 199 of file G4ParticleChangeForGamma.cc.
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
const G4ThreeVector & GetPosition() const
const G4String & GetParticleName() const
static const G4double accuracyForException
virtual G4bool CheckIt(const G4Track &)
G4double GetKineticEnergy() const
G4GLOB_DLL std::ostream G4cout
static constexpr double m
virtual void DumpInfo() const
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
static constexpr double MeV
static const G4double accuracyForWarning
void G4ParticleChangeForGamma::DumpInfo |
( |
| ) |
const |
|
virtual |
Reimplemented from G4VParticleChange.
Definition at line 181 of file G4ParticleChangeForGamma.cc.
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
virtual void DumpInfo() const
G4GLOB_DLL std::ostream G4cout
static constexpr double MeV
const G4Track * G4ParticleChangeForGamma::GetCurrentTrack |
( |
| ) |
const |
|
inline |
G4double G4ParticleChangeForGamma::GetProposedKineticEnergy |
( |
| ) |
const |
|
inline |
const G4ThreeVector & G4ParticleChangeForGamma::GetProposedMomentumDirection |
( |
| ) |
const |
|
inline |
const G4ThreeVector & G4ParticleChangeForGamma::GetProposedPolarization |
( |
| ) |
const |
|
inline |
void G4ParticleChangeForGamma::InitializeForPostStep |
( |
const G4Track & |
track | ) |
|
|
inline |
Definition at line 179 of file G4ParticleChangeForGamma.hh.
190 currentTrack = &track;
const G4ThreeVector & GetPolarization() const
G4TrackStatus GetTrackStatus() const
G4double GetKineticEnergy() const
G4bool isParentWeightProposed
G4double theLocalEnergyDeposit
void InitializeSecondaries(const G4Track &)
const G4ThreeVector & GetMomentumDirection() const
G4double GetWeight() const
G4TrackStatus theStatusChange
G4double theNonIonizingEnergyDeposit
Definition at line 83 of file G4ParticleChangeForGamma.cc.
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;
void SetElement(G4int anIndex, Type *anElement)
G4TrackFastVector * theListOfSecondaries
G4GLOB_DLL std::ostream G4cout
G4SteppingControl theSteppingControlFlag
G4double theLocalEnergyDeposit
G4int theNumberOfSecondaries
G4FastVector< G4Track, G4TrackFastVectorSize > G4TrackFastVector
G4TrackStatus theStatusChange
void G4ParticleChangeForGamma::ProposeMomentumDirection |
( |
const G4ThreeVector & |
Pfinal | ) |
|
|
inline |
void G4ParticleChangeForGamma::SetProposedKineticEnergy |
( |
G4double |
proposedKinEnergy | ) |
|
|
inline |
G4Step * G4ParticleChangeForGamma::UpdateStepForAtRest |
( |
G4Step * |
pStep | ) |
|
|
virtual |
Reimplemented from G4VParticleChange.
Definition at line 140 of file G4ParticleChangeForGamma.cc.
void SetStepLength(G4double value)
void SetWeight(G4double aValue)
G4bool isParentWeightProposed
G4double theLocalEnergyDeposit
G4StepPoint * GetPostStepPoint() const
void AddTotalEnergyDeposit(G4double value)
G4Step * G4ParticleChangeForGamma::UpdateStepForPostStep |
( |
G4Step * |
Step | ) |
|
|
virtual |
Reimplemented from G4VParticleChange.
Definition at line 152 of file G4ParticleChangeForGamma.cc.
154 G4StepPoint* pPostStepPoint = pStep->GetPostStepPoint();
155 G4Track* pTrack = pStep->GetTrack();
162 if(proposedKinEnergy > 0.0) {
void SetWeight(G4double aValue)
void SetMomentumDirection(const G4ThreeVector &aValue)
void SetPolarization(const G4ThreeVector &aValue)
G4bool isParentWeightProposed
G4double theLocalEnergyDeposit
const G4ParticleDefinition * GetParticleDefinition() const
G4double CalculateVelocity() const
G4double GetPDGMass() const
void SetVelocity(G4double v)
void SetKineticEnergy(const G4double aValue)
G4double theNonIonizingEnergyDeposit
The documentation for this class was generated from the following files: