Geant4  10.00.p02
G4INCL::IAvatar Class Referenceabstract

#include <G4INCLIAvatar.hh>

+ Inheritance diagram for G4INCL::IAvatar:

Public Member Functions

 IAvatar ()
 
 IAvatar (G4double time)
 
virtual ~IAvatar ()
 
virtual G4INCL::IChannelgetChannel ()=0
 
G4INCL::FinalStategetFinalState ()
 
virtual void preInteraction ()=0
 
virtual FinalStatepostInteraction (FinalState *)=0
 
G4double getTime () const
 
virtual ParticleList getParticles () const =0
 
virtual std::string dump () const =0
 
AvatarType getType () const
 
G4bool isACollision () const
 
G4bool isADecay () const
 
void setType (AvatarType t)
 
long getID () const
 
std::string toString ()
 

Protected Attributes

G4double theTime
 

Private Attributes

long ID
 
AvatarType type
 

Static Private Attributes

static G4ThreadLocal long nextID = 1
 

Detailed Description

Definition at line 60 of file G4INCLIAvatar.hh.

Constructor & Destructor Documentation

G4INCL::IAvatar::IAvatar ( )

Definition at line 52 of file G4INCLIAvatar.cc.

References ID, and nextID.

G4INCL::IAvatar::IAvatar ( G4double  time)

Definition at line 60 of file G4INCLIAvatar.cc.

References ID, and nextID.

G4INCL::IAvatar::~IAvatar ( )
virtual

Definition at line 68 of file G4INCLIAvatar.cc.

Member Function Documentation

virtual std::string G4INCL::IAvatar::dump ( ) const
pure virtual

Implemented in G4INCL::SurfaceAvatar, G4INCL::DecayAvatar, G4INCL::BinaryCollisionAvatar, and G4INCL::ParticleEntryAvatar.

Referenced by G4INCL::CascadeAction::beforeAvatarDefaultAction().

+ Here is the caller graph for this function:

virtual G4INCL::IChannel* G4INCL::IAvatar::getChannel ( )
pure virtual

Implemented in G4INCL::InteractionAvatar, G4INCL::SurfaceAvatar, G4INCL::BinaryCollisionAvatar, G4INCL::DecayAvatar, and G4INCL::ParticleEntryAvatar.

Referenced by getFinalState().

+ Here is the caller graph for this function:

G4INCL::FinalState * G4INCL::IAvatar::getFinalState ( )

Definition at line 88 of file G4INCLIAvatar.cc.

References getChannel(), G4INCL::IChannel::getFinalState(), G4INCL::Random::getSeeds(), INCL_DEBUG, postInteraction(), and preInteraction().

Referenced by G4INCL::INCL::cascade(), G4INCL::Nucleus::computeOneNucleonRecoilKinematics(), G4INCL::Nucleus::decayOutgoingDeltas(), and G4INCL::INCL::makeCompoundNucleus().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

long G4INCL::IAvatar::getID ( ) const
inline

Definition at line 81 of file G4INCLIAvatar.hh.

References ID.

Referenced by G4INCL::CascadeAction::afterAvatarDefaultAction(), G4INCL::CascadeAction::beforeAvatarDefaultAction(), and toString().

+ Here is the caller graph for this function:

virtual ParticleList G4INCL::IAvatar::getParticles ( ) const
pure virtual

Implemented in G4INCL::SurfaceAvatar, G4INCL::DecayAvatar, G4INCL::BinaryCollisionAvatar, and G4INCL::ParticleEntryAvatar.

Referenced by G4INCL::Store::add(), G4INCL::Store::addParticleEntryAvatar(), G4INCL::Store::removeAvatar(), and toString().

+ Here is the caller graph for this function:

G4double G4INCL::IAvatar::getTime ( ) const
inline

Definition at line 71 of file G4INCLIAvatar.hh.

References theTime.

Referenced by G4INCL::Store::avatarComparisonPredicate(), G4INCL::StandardPropagationModel::propagate(), and toString().

+ Here is the caller graph for this function:

AvatarType G4INCL::IAvatar::getType ( ) const
inline

Definition at line 77 of file G4INCLIAvatar.hh.

References type.

Referenced by G4INCL::CascadeAction::beforeAvatarDefaultAction(), G4INCL::InteractionAvatar::shouldUseLocalEnergy(), and toString().

+ Here is the caller graph for this function:

G4bool G4INCL::IAvatar::isACollision ( ) const
inline

Definition at line 78 of file G4INCLIAvatar.hh.

References G4INCL::CollisionAvatarType, and type.

Referenced by G4INCL::CascadeAction::afterAvatarDefaultAction().

+ Here is the caller graph for this function:

G4bool G4INCL::IAvatar::isADecay ( ) const
inline

Definition at line 79 of file G4INCLIAvatar.hh.

References G4INCL::DecayAvatarType, and type.

Referenced by G4INCL::CascadeAction::afterAvatarDefaultAction().

+ Here is the caller graph for this function:

virtual FinalState* G4INCL::IAvatar::postInteraction ( FinalState )
pure virtual

Implemented in G4INCL::InteractionAvatar, G4INCL::SurfaceAvatar, G4INCL::BinaryCollisionAvatar, G4INCL::DecayAvatar, and G4INCL::ParticleEntryAvatar.

Referenced by getFinalState().

+ Here is the caller graph for this function:

virtual void G4INCL::IAvatar::preInteraction ( )
pure virtual

Implemented in G4INCL::InteractionAvatar, G4INCL::SurfaceAvatar, G4INCL::BinaryCollisionAvatar, G4INCL::DecayAvatar, and G4INCL::ParticleEntryAvatar.

Referenced by getFinalState().

+ Here is the caller graph for this function:

void G4INCL::IAvatar::setType ( AvatarType  t)
inline

Definition at line 80 of file G4INCLIAvatar.hh.

References type.

Referenced by G4INCL::BinaryCollisionAvatar::BinaryCollisionAvatar(), G4INCL::DecayAvatar::DecayAvatar(), G4INCL::ParticleEntryAvatar::ParticleEntryAvatar(), and G4INCL::SurfaceAvatar::SurfaceAvatar().

+ Here is the caller graph for this function:

std::string G4INCL::IAvatar::toString ( )

Definition at line 71 of file G4INCLIAvatar.cc.

References getID(), getParticles(), getTime(), getType(), and numberOfParticles.

+ Here is the call graph for this function:

Member Data Documentation

long G4INCL::IAvatar::ID
private

Definition at line 85 of file G4INCLIAvatar.hh.

Referenced by getID(), and IAvatar().

G4ThreadLocal long G4INCL::IAvatar::nextID = 1
staticprivate

Definition at line 87 of file G4INCLIAvatar.hh.

Referenced by IAvatar().

AvatarType G4INCL::IAvatar::type
private

Definition at line 86 of file G4INCLIAvatar.hh.

Referenced by getType(), isACollision(), isADecay(), and setType().


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