Geant4  10.02
G4CascadParticle Class Reference

#include <G4CascadParticle.hh>

+ Collaboration diagram for G4CascadParticle:

Public Member Functions

 G4CascadParticle ()
 
 G4CascadParticle (const G4InuclElementaryParticle &particle, const G4ThreeVector &pos, G4int izone, G4double cpath, G4int gen)
 
 ~G4CascadParticle ()
 
 G4CascadParticle (const G4CascadParticle &cpart)
 
G4CascadParticleoperator= (const G4CascadParticle &cpart)
 
void fill (const G4InuclElementaryParticle &particle, const G4ThreeVector &pos, G4int izone, G4double cpath, G4int gen)
 
const G4InuclElementaryParticlegetParticle () const
 
G4InuclElementaryParticlegetParticle ()
 
G4int getGeneration () const
 
void setGeneration (G4int gen)
 
G4int getHistoryId () const
 
void setHistoryId (G4int id)
 
G4LorentzVector getMomentum () const
 
void updateParticleMomentum (const G4LorentzVector &mom)
 
const G4ThreeVectorgetPosition () const
 
void updatePosition (const G4ThreeVector &pos)
 
void incrementReflectionCounter ()
 
G4int getNumberOfReflections () const
 
void resetReflection ()
 
G4bool reflectedNow () const
 
void initializePath (G4double npath)
 
void incrementCurrentPath (G4double npath)
 
G4double getCurrentPath () const
 
void updateZone (G4int izone)
 
G4int getCurrentZone () const
 
void setMovingInsideNuclei (G4bool isMovingIn=true)
 
G4bool movingInsideNuclei () const
 
G4double getPathToTheNextZone (G4double rz_in, G4double rz_out)
 
void propagateAlongThePath (G4double path)
 
G4bool young (G4double young_path_cut, G4double cpath) const
 
void print (std::ostream &os) const
 

Private Attributes

G4int verboseLevel
 
G4InuclElementaryParticle theParticle
 
G4ThreeVector position
 
G4int current_zone
 
G4double current_path
 
G4bool movingIn
 
G4int reflectionCounter
 
G4bool reflected
 
G4int generation
 
G4int historyId
 

Detailed Description

Definition at line 50 of file G4CascadParticle.hh.

Constructor & Destructor Documentation

G4CascadParticle::G4CascadParticle ( )

Definition at line 47 of file G4CascadParticle.cc.

References G4cout, G4endl, and verboseLevel.

G4CascadParticle::G4CascadParticle ( const G4InuclElementaryParticle particle,
const G4ThreeVector pos,
G4int  izone,
G4double  cpath,
G4int  gen 
)

Definition at line 57 of file G4CascadParticle.cc.

References G4cout, G4endl, G4InuclParticle::getDefinition(), G4ParticleDefinition::GetParticleName(), and verboseLevel.

+ Here is the call graph for this function:

G4CascadParticle::~G4CascadParticle ( )
inline

Definition at line 60 of file G4CascadParticle.hh.

G4CascadParticle::G4CascadParticle ( const G4CascadParticle cpart)
inline

Definition at line 64 of file G4CascadParticle.hh.

Member Function Documentation

void G4CascadParticle::fill ( const G4InuclElementaryParticle particle,
const G4ThreeVector pos,
G4int  izone,
G4double  cpath,
G4int  gen 
)
G4double G4CascadParticle::getCurrentPath ( ) const
inline

Definition at line 105 of file G4CascadParticle.hh.

References current_path.

G4int G4CascadParticle::getCurrentZone ( ) const
inline
G4int G4CascadParticle::getGeneration ( ) const
inline

Definition at line 77 of file G4CascadParticle.hh.

References generation.

Referenced by G4IntraNucleiCascader::decayTrappedParticle(), G4NucleiModel::generateParticleFate(), G4NucleiModel::isProjectile(), and G4CascadeHistory::PrintEntry().

+ Here is the caller graph for this function:

G4int G4CascadParticle::getHistoryId ( ) const
inline

Definition at line 80 of file G4CascadParticle.hh.

References historyId.

Referenced by G4CascadeHistory::AddEntry(), G4CascadeHistory::AssignHistoryID(), and G4CascadeHistory::DropEntry().

+ Here is the caller graph for this function:

G4LorentzVector G4CascadParticle::getMomentum ( ) const
inline

Definition at line 83 of file G4CascadParticle.hh.

References G4InuclParticle::getMomentum(), and theParticle.

Referenced by G4NucleiModel::boundaryTransition(), G4NucleiModel::choosePointAlongTraj(), G4NucleiModel::generateInteractionPartners(), getPathToTheNextZone(), G4CascadeHistory::PrintEntry(), and propagateAlongThePath().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4int G4CascadParticle::getNumberOfReflections ( ) const
inline

Definition at line 98 of file G4CascadParticle.hh.

References reflectionCounter.

Referenced by G4IntraNucleiCascader::generateCascade().

+ Here is the caller graph for this function:

G4InuclElementaryParticle& G4CascadParticle::getParticle ( )
inline

Definition at line 75 of file G4CascadParticle.hh.

References theParticle.

G4double G4CascadParticle::getPathToTheNextZone ( G4double  rz_in,
G4double  rz_out 
)

Definition at line 109 of file G4CascadParticle.cc.

References current_zone, d2, G4cout, G4endl, getMomentum(), movingIn, position, G4InuclParticleNames::pp, and verboseLevel.

Referenced by G4NucleiModel::generateInteractionPartners().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

const G4ThreeVector& G4CascadParticle::getPosition ( ) const
inline

Definition at line 91 of file G4CascadParticle.hh.

References position.

Referenced by G4NucleiModel::boundaryTransition(), G4NucleiModel::choosePointAlongTraj(), G4IntraNucleiCascader::decayTrappedParticle(), G4NucleiModel::generateParticleFate(), and G4CascadeHistory::PrintEntry().

+ Here is the caller graph for this function:

void G4CascadParticle::incrementCurrentPath ( G4double  npath)
inline

Definition at line 104 of file G4CascadParticle.hh.

References current_path.

Referenced by G4NucleiModel::generateParticleFate().

+ Here is the caller graph for this function:

void G4CascadParticle::incrementReflectionCounter ( )
inline

Definition at line 94 of file G4CascadParticle.hh.

References reflected, and reflectionCounter.

Referenced by G4NucleiModel::boundaryTransition().

+ Here is the caller graph for this function:

void G4CascadParticle::initializePath ( G4double  npath)
inline

Definition at line 103 of file G4CascadParticle.hh.

References current_path.

Referenced by G4IntraNucleiCascader::processSecondary().

+ Here is the caller graph for this function:

G4bool G4CascadParticle::movingInsideNuclei ( ) const
inline

Definition at line 111 of file G4CascadParticle.hh.

References movingIn.

Referenced by G4NucleiModel::boundaryTransition().

+ Here is the caller graph for this function:

G4CascadParticle & G4CascadParticle::operator= ( const G4CascadParticle cpart)
void G4CascadParticle::print ( std::ostream &  os) const

Definition at line 187 of file G4CascadParticle.cc.

References current_path, current_zone, G4endl, position, reflectionCounter, and theParticle.

Referenced by operator<<().

+ Here is the caller graph for this function:

void G4CascadParticle::propagateAlongThePath ( G4double  path)

Definition at line 171 of file G4CascadParticle.cc.

References G4cout, G4endl, getMomentum(), position, and verboseLevel.

Referenced by G4NucleiModel::generateParticleFate().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4bool G4CascadParticle::reflectedNow ( ) const
inline

Definition at line 101 of file G4CascadParticle.hh.

References reflected.

Referenced by G4NucleiModel::worthToPropagate().

+ Here is the caller graph for this function:

void G4CascadParticle::resetReflection ( )
inline

Definition at line 100 of file G4CascadParticle.hh.

References reflected.

Referenced by G4NucleiModel::boundaryTransition().

+ Here is the caller graph for this function:

void G4CascadParticle::setGeneration ( G4int  gen)
inline

Definition at line 78 of file G4CascadParticle.hh.

References generation.

Referenced by G4IntraNucleiCascader::processSecondary().

+ Here is the caller graph for this function:

void G4CascadParticle::setHistoryId ( G4int  id)
inline

Definition at line 81 of file G4CascadParticle.hh.

References historyId.

Referenced by G4CascadeHistory::AssignHistoryID().

+ Here is the caller graph for this function:

void G4CascadParticle::setMovingInsideNuclei ( G4bool  isMovingIn = true)
inline

Definition at line 110 of file G4CascadParticle.hh.

References movingIn.

Referenced by G4IntraNucleiCascader::processSecondary().

+ Here is the caller graph for this function:

void G4CascadParticle::updateParticleMomentum ( const G4LorentzVector mom)
inline

Definition at line 87 of file G4CascadParticle.hh.

References G4InuclParticle::setMomentum(), and theParticle.

Referenced by G4NucleiModel::boundaryTransition().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4CascadParticle::updatePosition ( const G4ThreeVector pos)
inline

Definition at line 92 of file G4CascadParticle.hh.

References pos, and position.

Referenced by G4NucleiModel::choosePointAlongTraj(), G4NucleiModel::generateParticleFate(), and G4IntraNucleiCascader::processSecondary().

+ Here is the caller graph for this function:

void G4CascadParticle::updateZone ( G4int  izone)
inline

Definition at line 107 of file G4CascadParticle.hh.

References current_zone.

Referenced by G4NucleiModel::boundaryTransition(), G4NucleiModel::choosePointAlongTraj(), and G4IntraNucleiCascader::processSecondary().

+ Here is the caller graph for this function:

G4bool G4CascadParticle::young ( G4double  young_path_cut,
G4double  cpath 
) const
inline

Definition at line 116 of file G4CascadParticle.hh.

References current_path.

Referenced by G4NucleiModel::generateInteractionLength().

+ Here is the caller graph for this function:

Member Data Documentation

G4double G4CascadParticle::current_path
private
G4int G4CascadParticle::current_zone
private
G4int G4CascadParticle::generation
private

Definition at line 131 of file G4CascadParticle.hh.

Referenced by fill(), getGeneration(), operator=(), and setGeneration().

G4int G4CascadParticle::historyId
private

Definition at line 132 of file G4CascadParticle.hh.

Referenced by fill(), getHistoryId(), operator=(), and setHistoryId().

G4bool G4CascadParticle::movingIn
private
G4ThreeVector G4CascadParticle::position
private
G4bool G4CascadParticle::reflected
private
G4int G4CascadParticle::reflectionCounter
private
G4InuclElementaryParticle G4CascadParticle::theParticle
private
G4int G4CascadParticle::verboseLevel
private

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