Geant4  10.01.p03
G4ParticleChangeForDecay Class Reference

#include <G4ParticleChangeForDecay.hh>

+ Inheritance diagram for G4ParticleChangeForDecay:
+ Collaboration diagram for G4ParticleChangeForDecay:

Public Member Functions

 G4ParticleChangeForDecay ()
 
virtual ~G4ParticleChangeForDecay ()
 
G4bool operator== (const G4ParticleChangeForDecay &right) const
 
G4bool operator!= (const G4ParticleChangeForDecay &right) const
 
virtual G4StepUpdateStepForAtRest (G4Step *Step)
 
virtual G4StepUpdateStepForPostStep (G4Step *Step)
 
virtual void Initialize (const G4Track &)
 
void ProposeGlobalTime (G4double t)
 
void ProposeLocalTime (G4double t)
 
G4double GetGlobalTime (G4double timeDelay=0.0) const
 
G4double GetLocalTime (G4double timeDelay=0.0) const
 
const G4ThreeVectorGetPolarization () const
 
void ProposePolarization (G4double Px, G4double Py, G4double Pz)
 
void ProposePolarization (const G4ThreeVector &finalPoralization)
 
virtual void DumpInfo () const
 
virtual G4bool CheckIt (const G4Track &)
 
- Public Member Functions inherited from G4VParticleChange
 G4VParticleChange ()
 
virtual ~G4VParticleChange ()
 
G4bool operator== (const G4VParticleChange &right) const
 
G4bool operator!= (const G4VParticleChange &right) const
 
virtual G4StepUpdateStepForAlongStep (G4Step *Step)
 
G4double GetTrueStepLength () const
 
void ProposeTrueStepLength (G4double truePathLength)
 
G4double GetLocalEnergyDeposit () const
 
void ProposeLocalEnergyDeposit (G4double anEnergyPart)
 
G4double GetNonIonizingEnergyDeposit () const
 
void ProposeNonIonizingEnergyDeposit (G4double anEnergyPart)
 
G4TrackStatus GetTrackStatus () const
 
void ProposeTrackStatus (G4TrackStatus status)
 
G4SteppingControl GetSteppingControl () const
 
void ProposeSteppingControl (G4SteppingControl StepControlFlag)
 
G4bool GetFirstStepInVolume () const
 
G4bool GetLastStepInVolume () const
 
void ProposeFirstStepInVolume (G4bool flag)
 
void ProposeLastStepInVolume (G4bool flag)
 
void Clear ()
 
void SetNumberOfSecondaries (G4int totSecondaries)
 
G4int GetNumberOfSecondaries () const
 
G4TrackGetSecondary (G4int anIndex) const
 
void AddSecondary (G4Track *aSecondary)
 
G4double GetWeight () const
 
G4double GetParentWeight () const
 
void ProposeWeight (G4double finalWeight)
 
void ProposeParentWeight (G4double finalWeight)
 
void SetSecondaryWeightByProcess (G4bool)
 
G4bool IsSecondaryWeightSetByProcess () const
 
void SetParentWeightByProcess (G4bool)
 
G4bool IsParentWeightSetByProcess () const
 
void SetVerboseLevel (G4int vLevel)
 
G4int GetVerboseLevel () const
 
void ClearDebugFlag ()
 
void SetDebugFlag ()
 
G4bool GetDebugFlag () const
 

Protected Member Functions

 G4ParticleChangeForDecay (const G4ParticleChangeForDecay &right)
 
G4ParticleChangeForDecayoperator= (const G4ParticleChangeForDecay &right)
 
- Protected Member Functions inherited from G4VParticleChange
 G4VParticleChange (const G4VParticleChange &right)
 
G4VParticleChangeoperator= (const G4VParticleChange &right)
 
G4StepUpdateStepInfo (G4Step *Step)
 
void InitializeTrueStepLength (const G4Track &)
 
void InitializeLocalEnergyDeposit (const G4Track &)
 
void InitializeSteppingControl (const G4Track &)
 
void InitializeParentWeight (const G4Track &)
 
void InitializeParentGlobalTime (const G4Track &)
 
void InitializeStatusChange (const G4Track &)
 
void InitializeSecondaries (const G4Track &)
 
void InitializeStepInVolumeFlags (const G4Track &)
 
G4bool CheckSecondary (G4Track &)
 
G4double GetAccuracyForWarning () const
 
G4double GetAccuracyForException () const
 

Protected Attributes

G4double theGlobalTime0
 
G4double theLocalTime0
 
G4double theTimeChange
 
G4ThreeVector thePolarizationChange
 
- Protected Attributes inherited from G4VParticleChange
G4TrackFastVectortheListOfSecondaries
 
G4int theNumberOfSecondaries
 
G4int theSizeOftheListOfSecondaries
 
G4TrackStatus theStatusChange
 
G4SteppingControl theSteppingControlFlag
 
G4double theLocalEnergyDeposit
 
G4double theNonIonizingEnergyDeposit
 
G4double theTrueStepLength
 
G4bool theFirstStepInVolume
 
G4bool theLastStepInVolume
 
G4double theParentWeight
 
G4bool isParentWeightProposed
 
G4bool fSetSecondaryWeightByProcess
 
G4double theParentGlobalTime
 
G4int verboseLevel
 
G4bool debugFlag
 

Additional Inherited Members

- Static Protected Attributes inherited from G4VParticleChange
static const G4double accuracyForWarning = 1.0e-9
 
static const G4double accuracyForException = 0.001
 

Detailed Description

Definition at line 54 of file G4ParticleChangeForDecay.hh.

Constructor & Destructor Documentation

G4ParticleChangeForDecay::G4ParticleChangeForDecay ( )

Definition at line 48 of file G4ParticleChangeForDecay.cc.

References G4cout, G4endl, and G4VParticleChange::verboseLevel.

G4ParticleChangeForDecay::~G4ParticleChangeForDecay ( )
virtual

Definition at line 59 of file G4ParticleChangeForDecay.cc.

References G4cout, G4endl, and G4VParticleChange::verboseLevel.

G4ParticleChangeForDecay::G4ParticleChangeForDecay ( const G4ParticleChangeForDecay right)
protected

Member Function Documentation

G4bool G4ParticleChangeForDecay::CheckIt ( const G4Track aTrack)
virtual

Reimplemented from G4VParticleChange.

Definition at line 197 of file G4ParticleChangeForDecay.cc.

References G4VParticleChange::accuracyForException, G4VParticleChange::accuracyForWarning, G4VParticleChange::CheckIt(), DumpInfo(), EventMustBeAborted, G4cout, G4endl, G4Exception(), G4Track::GetDefinition(), G4Track::GetKineticEnergy(), G4Track::GetLocalTime(), G4ParticleDefinition::GetParticleName(), G4Track::GetPosition(), m, MeV, ns, theGlobalTime0, theLocalTime0, and theTimeChange.

Referenced by UpdateStepForAtRest().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4ParticleChangeForDecay::DumpInfo ( ) const
virtual

Reimplemented from G4VParticleChange.

Definition at line 182 of file G4ParticleChangeForDecay.cc.

References G4VParticleChange::DumpInfo(), G4cout, G4endl, ns, theGlobalTime0, theLocalTime0, and theTimeChange.

Referenced by CheckIt().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4double G4ParticleChangeForDecay::GetGlobalTime ( G4double  timeDelay = 0.0) const
inline

Definition at line 132 of file G4ParticleChangeForDecay.hh.

References theGlobalTime0, theLocalTime0, and theTimeChange.

Referenced by UpdateStepForAtRest().

+ Here is the caller graph for this function:

G4double G4ParticleChangeForDecay::GetLocalTime ( G4double  timeDelay = 0.0) const
inline

Definition at line 145 of file G4ParticleChangeForDecay.hh.

References theTimeChange.

const G4ThreeVector * G4ParticleChangeForDecay::GetPolarization ( void  ) const
inline

Definition at line 152 of file G4ParticleChangeForDecay.hh.

References thePolarizationChange.

void G4ParticleChangeForDecay::Initialize ( const G4Track track)
virtual

Reimplemented from G4VParticleChange.

Definition at line 124 of file G4ParticleChangeForDecay.cc.

References G4Track::GetDynamicParticle(), G4Track::GetGlobalTime(), G4Track::GetLocalTime(), G4DynamicParticle::GetPolarization(), G4VParticleChange::Initialize(), theGlobalTime0, theLocalTime0, thePolarizationChange, and theTimeChange.

Referenced by G4UnknownDecay::DecayIt(), G4Decay::DecayIt(), G4RadioactiveDecay::DecayIt(), and G4Decay::PostStepDoIt().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4bool G4ParticleChangeForDecay::operator!= ( const G4ParticleChangeForDecay right) const

Definition at line 116 of file G4ParticleChangeForDecay.cc.

G4bool G4ParticleChangeForDecay::operator== ( const G4ParticleChangeForDecay right) const

Definition at line 111 of file G4ParticleChangeForDecay.cc.

void G4ParticleChangeForDecay::ProposeGlobalTime ( G4double  t)
inline

Definition at line 126 of file G4ParticleChangeForDecay.hh.

References theGlobalTime0, theLocalTime0, and theTimeChange.

Referenced by G4UnknownDecay::DecayIt().

+ Here is the caller graph for this function:

void G4ParticleChangeForDecay::ProposeLocalTime ( G4double  t)
inline

Definition at line 139 of file G4ParticleChangeForDecay.hh.

References theTimeChange.

Referenced by G4Decay::DecayIt(), and G4RadioactiveDecay::DecayIt().

+ Here is the caller graph for this function:

void G4ParticleChangeForDecay::ProposePolarization ( G4double  Px,
G4double  Py,
G4double  Pz 
)
inline

Definition at line 164 of file G4ParticleChangeForDecay.hh.

References thePolarizationChange.

Referenced by G4DecayWithSpin::DecayIt().

+ Here is the caller graph for this function:

void G4ParticleChangeForDecay::ProposePolarization ( const G4ThreeVector finalPoralization)
inline

Definition at line 158 of file G4ParticleChangeForDecay.hh.

References thePolarizationChange.

G4Step * G4ParticleChangeForDecay::UpdateStepForAtRest ( G4Step Step)
virtual
G4Step * G4ParticleChangeForDecay::UpdateStepForPostStep ( G4Step Step)
virtual

Reimplemented from G4VParticleChange.

Definition at line 146 of file G4ParticleChangeForDecay.cc.

References G4Step::GetPostStepPoint(), G4VParticleChange::isParentWeightProposed, G4StepPoint::SetWeight(), G4VParticleChange::theParentWeight, and G4VParticleChange::UpdateStepInfo().

+ Here is the call graph for this function:

Member Data Documentation

G4double G4ParticleChangeForDecay::theGlobalTime0
protected
G4double G4ParticleChangeForDecay::theLocalTime0
protected
G4ThreeVector G4ParticleChangeForDecay::thePolarizationChange
protected

The documentation for this class was generated from the following files: