Geant4  10.00.p02
G4InuclParticle Class Reference

#include <G4InuclParticle.hh>

+ Inheritance diagram for G4InuclParticle:
+ Collaboration diagram for G4InuclParticle:

Public Types

enum  Model {
  DefaultModel, bullet, target, EPCollider,
  INCascader, NonEquilib, Equilib, Fissioner,
  BigBanger, PreCompound, Coalescence
}
 

Public Member Functions

 G4InuclParticle ()
 
 G4InuclParticle (const G4DynamicParticle &dynPart, Model model=DefaultModel)
 
 G4InuclParticle (const G4LorentzVector &mom, Model model=DefaultModel)
 
virtual ~G4InuclParticle ()
 
 G4InuclParticle (const G4InuclParticle &right)
 
G4InuclParticleoperator= (const G4InuclParticle &right)
 
bool operator== (const G4InuclParticle &right)
 
bool operator!= (const G4InuclParticle &right)
 
void setEnergy ()
 
void setMomentum (const G4LorentzVector &mom)
 
void setKineticEnergy (G4double ekin)
 
void setMass (G4double mass)
 
G4double getMass () const
 
G4double getCharge () const
 
G4double getKineticEnergy () const
 
G4double getEnergy () const
 
G4double getMomModule () const
 
G4LorentzVector getMomentum () const
 
virtual void print (std::ostream &os) const
 
G4ParticleDefinitiongetDefinition () const
 
const G4DynamicParticlegetDynamicParticle () const
 
void setModel (Model model)
 
Model getModel () const
 

Protected Member Functions

 G4InuclParticle (G4ParticleDefinition *pd, Model model=DefaultModel)
 
 G4InuclParticle (G4ParticleDefinition *pd, const G4LorentzVector &mom, Model model=DefaultModel)
 
 G4InuclParticle (G4ParticleDefinition *pd, G4double ekin, Model model=DefaultModel)
 
void setDefinition (G4ParticleDefinition *pd)
 

Private Attributes

G4DynamicParticle pDP
 
Model modelId
 

Detailed Description

Definition at line 52 of file G4InuclParticle.hh.

Member Enumeration Documentation

Enumerator
DefaultModel 
bullet 
target 
EPCollider 
INCascader 
NonEquilib 
Equilib 
Fissioner 
BigBanger 
PreCompound 
Coalescence 

Definition at line 66 of file G4InuclParticle.hh.

Constructor & Destructor Documentation

G4InuclParticle::G4InuclParticle ( )
inline

Definition at line 71 of file G4InuclParticle.hh.

G4InuclParticle::G4InuclParticle ( const G4DynamicParticle dynPart,
Model  model = DefaultModel 
)
inline

Definition at line 73 of file G4InuclParticle.hh.

G4InuclParticle::G4InuclParticle ( const G4LorentzVector mom,
Model  model = DefaultModel 
)
inline

Definition at line 76 of file G4InuclParticle.hh.

References GeV, MeV, pDP, and G4DynamicParticle::Set4Momentum().

+ Here is the call graph for this function:

virtual G4InuclParticle::~G4InuclParticle ( )
inlinevirtual

Definition at line 79 of file G4InuclParticle.hh.

G4InuclParticle::G4InuclParticle ( const G4InuclParticle right)
inline

Definition at line 82 of file G4InuclParticle.hh.

G4InuclParticle::G4InuclParticle ( G4ParticleDefinition pd,
Model  model = DefaultModel 
)
inlineexplicitprotected

Definition at line 146 of file G4InuclParticle.hh.

References setDefinition().

+ Here is the call graph for this function:

G4InuclParticle::G4InuclParticle ( G4ParticleDefinition pd,
const G4LorentzVector mom,
G4InuclParticle::Model  model = DefaultModel 
)
protected

Definition at line 43 of file G4InuclParticle.cc.

References setDefinition(), and setMomentum().

+ Here is the call graph for this function:

G4InuclParticle::G4InuclParticle ( G4ParticleDefinition pd,
G4double  ekin,
Model  model = DefaultModel 
)
inlineprotected

Definition at line 155 of file G4InuclParticle.hh.

Member Function Documentation

G4double G4InuclParticle::getCharge ( ) const
inline

Definition at line 110 of file G4InuclParticle.hh.

References G4DynamicParticle::GetCharge(), and pDP.

Referenced by G4CascadeCheckBalance::collide(), G4IntraNucleiCascader::generateCascade(), G4NucleiModel::generateParticleFate(), G4CascadeHistory::GuessTarget(), G4CascadeColliderBase::inelasticInteractionPossible(), and G4IntraNucleiCascader::setupCascade().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4ParticleDefinition* G4InuclParticle::getDefinition ( ) const
inline
const G4DynamicParticle& G4InuclParticle::getDynamicParticle ( ) const
inline

Definition at line 136 of file G4InuclParticle.hh.

References pDP.

Referenced by G4CascadeInterface::makeDynamicParticle().

+ Here is the caller graph for this function:

G4double G4InuclParticle::getEnergy ( ) const
inline

Definition at line 118 of file G4InuclParticle.hh.

References G4DynamicParticle::GetTotalEnergy(), GeV, MeV, and pDP.

Referenced by G4CascadeInterface::checkFinalResult(), G4IntraNucleiCascader::decayTrappedParticle(), G4NucleiModel::initializeCascad(), and G4ParticleLargerBeta::operator()().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4double G4InuclParticle::getKineticEnergy ( ) const
inline

Definition at line 114 of file G4InuclParticle.hh.

References G4DynamicParticle::GetKineticEnergy(), GeV, MeV, and pDP.

Referenced by G4CascadeRecoilMaker::collide(), G4IntraNucleiCascader::generateCascade(), G4NucleiModel::initializeCascad(), G4CascadeInterface::makeDynamicParticle(), G4ParticleLargerEkin::operator()(), G4InuclNuclei::setExitationEnergy(), and G4NucleiModel::worthToPropagate().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4double G4InuclParticle::getMass ( ) const
inline

Definition at line 106 of file G4InuclParticle.hh.

References G4DynamicParticle::GetMass(), GeV, MeV, and pDP.

Referenced by G4NonEquilibriumEvaporator::deExcite(), G4IntraNucleiCascader::generateCascade(), G4InuclNuclei::getExitationEnergy(), G4NucleiModel::initializeCascad(), G4InuclNuclei::print(), G4InuclNuclei::setExitationEnergy(), and setMomentum().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Model G4InuclParticle::getModel ( ) const
inline

Definition at line 142 of file G4InuclParticle.hh.

References modelId.

G4LorentzVector G4InuclParticle::getMomentum ( ) const
inline

Definition at line 126 of file G4InuclParticle.hh.

References G4DynamicParticle::Get4Momentum(), GeV, MeV, and pDP.

Referenced by G4CascadeCheckBalance::collide(), G4IntraNucleiCascader::decayTrappedParticle(), G4CascadeCoalescence::getClusterMomentum(), G4CascadParticle::getMomentum(), G4IntraNucleiCascader::initialize(), G4CascadeInterface::makeDynamicParticle(), G4InuclNuclei::makeG4Fragment(), G4CascadeCoalescence::maxDeltaP(), print(), G4LorentzConvertor::setBullet(), G4CollisionOutput::setOnShell(), and G4LorentzConvertor::setTarget().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4double G4InuclParticle::getMomModule ( ) const
inline

Definition at line 122 of file G4InuclParticle.hh.

References G4DynamicParticle::GetTotalMomentum(), GeV, MeV, and pDP.

Referenced by G4ElementaryParticleCollider::collide(), and G4ParticleLargerBeta::operator()().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

bool G4InuclParticle::operator!= ( const G4InuclParticle right)
inline

Definition at line 92 of file G4InuclParticle.hh.

References operator==().

+ Here is the call graph for this function:

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

Definition at line 53 of file G4InuclParticle.cc.

References modelId, and pDP.

Referenced by G4InuclElementaryParticle::operator=(), and G4InuclNuclei::operator=().

+ Here is the caller graph for this function:

bool G4InuclParticle::operator== ( const G4InuclParticle right)
inline

Definition at line 88 of file G4InuclParticle.hh.

References pDP.

Referenced by operator!=().

+ Here is the caller graph for this function:

void G4InuclParticle::print ( std::ostream &  os) const
virtual

Reimplemented in G4InuclNuclei, and G4InuclElementaryParticle.

Definition at line 92 of file G4InuclParticle.cc.

References getMomentum(), and modelId.

Referenced by operator<<(), G4InuclElementaryParticle::print(), and G4InuclNuclei::print().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4InuclParticle::setDefinition ( G4ParticleDefinition pd)
protected

Definition at line 69 of file G4InuclParticle.cc.

References pDP, and G4DynamicParticle::SetDefinition().

Referenced by G4InuclNuclei::clear(), G4InuclNuclei::fill(), and G4InuclParticle().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4InuclParticle::setEnergy ( )
inline

Definition at line 97 of file G4InuclParticle.hh.

void G4InuclParticle::setKineticEnergy ( G4double  ekin)
inline

Definition at line 102 of file G4InuclParticle.hh.

References GeV, MeV, pDP, and G4DynamicParticle::SetKineticEnergy().

Referenced by G4InuclNuclei::fill(), and G4InuclNuclei::setExitationEnergy().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4InuclParticle::setMass ( G4double  mass)
inline

Definition at line 104 of file G4InuclParticle.hh.

References GeV, MeV, pDP, and G4DynamicParticle::SetMass().

Referenced by G4InuclNuclei::setExitationEnergy().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4InuclParticle::setModel ( Model  model)
inline

Definition at line 141 of file G4InuclParticle.hh.

References modelId.

Referenced by G4InuclNuclei::clear(), G4NonEquilibriumEvaporator::deExcite(), and G4InuclNuclei::fill().

+ Here is the caller graph for this function:

void G4InuclParticle::setMomentum ( const G4LorentzVector mom)

Definition at line 76 of file G4InuclParticle.cc.

References getMass(), GeV, MeV, pDP, G4DynamicParticle::Set4Momentum(), and G4DynamicParticle::SetMomentum().

Referenced by G4NonEquilibriumEvaporator::deExcite(), G4InuclNuclei::fill(), G4InuclParticle(), and G4CascadParticle::updateParticleMomentum().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

Model G4InuclParticle::modelId
private

Definition at line 163 of file G4InuclParticle.hh.

Referenced by getModel(), operator=(), print(), and setModel().


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