Geant4  10.01
G4DecayProducts Class Reference

#include <G4DecayProducts.hh>

+ Collaboration diagram for G4DecayProducts:

Public Types

typedef std::vector
< G4DynamicParticle * > 
G4DecayProductVector
 

Public Member Functions

 G4DecayProducts ()
 
 G4DecayProducts (const G4DynamicParticle &aParticle)
 
 G4DecayProducts (const G4DecayProducts &right)
 
G4DecayProductsoperator= (const G4DecayProducts &right)
 
 ~G4DecayProducts ()
 
G4int operator== (const G4DecayProducts &right) const
 
G4int operator!= (const G4DecayProducts &right) const
 
const G4DynamicParticleGetParentParticle () const
 
void SetParentParticle (const G4DynamicParticle &aParticle)
 
void Boost (G4double totalEnergy, const G4ThreeVector &momentumDirection)
 
void Boost (G4double betax, G4double betay, G4double betaz)
 
G4DynamicParticlePopProducts ()
 
G4int PushProducts (G4DynamicParticle *aParticle)
 
G4DynamicParticleoperator[] (G4int anIndex) const
 
G4int entries () const
 
G4bool IsChecked () const
 
void DumpInfo () const
 

Protected Types

enum  { MaxNumberOfProducts = 64 }
 

Private Attributes

G4int numberOfProducts
 
G4DynamicParticletheParentParticle
 
G4DecayProductVectortheProductVector
 

Detailed Description

Definition at line 47 of file G4DecayProducts.hh.

Member Typedef Documentation

Definition at line 94 of file G4DecayProducts.hh.

Member Enumeration Documentation

anonymous enum
protected
Enumerator
MaxNumberOfProducts 

Definition at line 96 of file G4DecayProducts.hh.

Constructor & Destructor Documentation

G4DecayProducts::G4DecayProducts ( )

Definition at line 50 of file G4DecayProducts.cc.

References theProductVector.

Referenced by G4DecayProducts(), and operator=().

+ Here is the caller graph for this function:

G4DecayProducts::G4DecayProducts ( const G4DynamicParticle aParticle)

Definition at line 56 of file G4DecayProducts.cc.

References theParentParticle, and theProductVector.

G4DecayProducts::G4DecayProducts ( const G4DecayProducts right)

Definition at line 63 of file G4DecayProducts.cc.

References G4DecayProducts(), G4DynamicParticle::GetPreAssignedDecayProducts(), G4DynamicParticle::GetPreAssignedDecayProperTime(), numberOfProducts, G4DynamicParticle::SetPreAssignedDecayProducts(), G4DynamicParticle::SetPreAssignedDecayProperTime(), theParentParticle, and theProductVector.

+ Here is the call graph for this function:

G4DecayProducts::~G4DecayProducts ( )

Definition at line 127 of file G4DecayProducts.cc.

References numberOfProducts, theParentParticle, and theProductVector.

Member Function Documentation

void G4DecayProducts::Boost ( G4double  totalEnergy,
const G4ThreeVector momentumDirection 
)

Definition at line 176 of file G4DecayProducts.cc.

References G4DynamicParticle::GetMass(), and theParentParticle.

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

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4DecayProducts::Boost ( G4double  betax,
G4double  betay,
G4double  betaz 
)

Definition at line 188 of file G4DecayProducts.cc.

References DBL_MIN, G4INCL::KinematicsUtils::energy(), G4DynamicParticle::GetMass(), G4DynamicParticle::GetMomentumDirection(), G4DynamicParticle::GetTotalEnergy(), G4DynamicParticle::GetTotalMomentum(), numberOfProducts, G4DynamicParticle::Set4Momentum(), theParentParticle, and theProductVector.

+ Here is the call graph for this function:

G4int G4DecayProducts::entries ( ) const
inline

Definition at line 86 of file G4DecayProducts.hh.

References numberOfProducts.

Referenced by G4PrimaryTransformer::CheckDynamicParticle(), G4RadioactiveDecay::CollimateDecay(), G4PionDecayMakeSpin::DaughterPolarization(), G4KineticTrack::Decay(), G4UnknownDecay::DecayIt(), G4Decay::DecayIt(), G4RadioactiveDecay::DecayIt(), and G4IntraNucleiCascader::decayTrappedParticle().

+ Here is the caller graph for this function:

const G4DynamicParticle* G4DecayProducts::GetParentParticle ( ) const
inline

Definition at line 73 of file G4DecayProducts.hh.

References theParentParticle.

Referenced by G4PionDecayMakeSpin::DaughterPolarization().

+ Here is the caller graph for this function:

G4bool G4DecayProducts::IsChecked ( ) const

Definition at line 241 of file G4DecayProducts.cc.

References DBL_MIN, G4INCL::KinematicsUtils::energy(), G4cout, G4endl, G4DynamicParticle::GetMass(), G4DynamicParticle::GetMomentumDirection(), G4DynamicParticle::GetTotalEnergy(), G4DynamicParticle::GetTotalMomentum(), MeV, numberOfProducts, theParentParticle, and theProductVector.

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

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4int G4DecayProducts::operator!= ( const G4DecayProducts right) const
inline

Definition at line 116 of file G4DecayProducts.hh.

G4DecayProducts & G4DecayProducts::operator= ( const G4DecayProducts right)

Definition at line 90 of file G4DecayProducts.cc.

References G4DecayProducts(), G4DynamicParticle::GetPreAssignedDecayProducts(), G4DynamicParticle::GetPreAssignedDecayProperTime(), numberOfProducts, G4DynamicParticle::SetPreAssignedDecayProducts(), G4DynamicParticle::SetPreAssignedDecayProperTime(), theParentParticle, and theProductVector.

+ Here is the call graph for this function:

G4int G4DecayProducts::operator== ( const G4DecayProducts right) const
inline

Definition at line 110 of file G4DecayProducts.hh.

G4DynamicParticle * G4DecayProducts::operator[] ( G4int  anIndex) const

Definition at line 160 of file G4DecayProducts.cc.

References numberOfProducts, and theProductVector.

G4DynamicParticle * G4DecayProducts::PopProducts ( )

Definition at line 141 of file G4DecayProducts.cc.

References numberOfProducts, and theProductVector.

Referenced by G4KineticTrack::Decay(), G4UnknownDecay::DecayIt(), G4NuclearDecayChannel::DecayIt(), G4Decay::DecayIt(), and G4RadioactiveDecay::DecayIt().

+ Here is the caller graph for this function:

void G4DecayProducts::SetParentParticle ( const G4DynamicParticle aParticle)

Definition at line 169 of file G4DecayProducts.cc.

References theParentParticle.

Member Data Documentation

G4int G4DecayProducts::numberOfProducts
private
G4DynamicParticle* G4DecayProducts::theParentParticle
private
G4DecayProductVector* G4DecayProducts::theProductVector
private

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