Geant4  10.03.p01
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
G4INCL::ParticleEntryAvatar Class Reference

#include <G4INCLParticleEntryAvatar.hh>

Inheritance diagram for G4INCL::ParticleEntryAvatar:
Collaboration diagram for G4INCL::ParticleEntryAvatar:

Public Member Functions

 ParticleEntryAvatar (G4double, G4INCL::Nucleus *, G4INCL::Particle *)
 
virtual ~ParticleEntryAvatar ()
 
virtual G4INCL::IChannelgetChannel ()
 
ParticleList getParticles () const
 
virtual void preInteraction ()
 
virtual void postInteraction (FinalState *)
 
std::string dump () const
 
- Public Member Functions inherited from G4INCL::IAvatar
 IAvatar ()
 
 IAvatar (G4double time)
 
virtual ~IAvatar ()
 
FinalStategetFinalState ()
 
void fillFinalState (FinalState *fs)
 
G4double getTime () const
 
AvatarType getType () const
 
G4bool isACollision () const
 
G4bool isADecay () const
 
void setType (AvatarType t)
 
long getID () const
 
std::string toString ()
 

Additional Inherited Members

- Protected Attributes inherited from G4INCL::IAvatar
G4double theTime
 

Detailed Description

Definition at line 47 of file G4INCLParticleEntryAvatar.hh.

Constructor & Destructor Documentation

G4INCL::ParticleEntryAvatar::ParticleEntryAvatar ( G4double  time,
G4INCL::Nucleus nucleus,
G4INCL::Particle particle 
)

Definition at line 47 of file G4INCLParticleEntryAvatar.cc.

50  :IAvatar(time), theNucleus(nucleus), theParticle(particle)
51  {
53  }
void setType(AvatarType t)

Here is the call graph for this function:

G4INCL::ParticleEntryAvatar::~ParticleEntryAvatar ( )
virtual

Definition at line 55 of file G4INCLParticleEntryAvatar.cc.

56  {}

Member Function Documentation

std::string G4INCL::ParticleEntryAvatar::dump ( ) const
virtual

Implements G4INCL::IAvatar.

Definition at line 58 of file G4INCLParticleEntryAvatar.cc.

58  {
59  std::stringstream ss;
60  ss << "(avatar " << theTime <<" 'particle-entry" << '\n'
61  << "(list " << '\n'
62  << theParticle->dump()
63  << "))" << '\n';
64  return ss.str();
65  }
std::string dump() const

Here is the call graph for this function:

IChannel * G4INCL::ParticleEntryAvatar::getChannel ( )
virtual

Implements G4INCL::IAvatar.

Definition at line 71 of file G4INCLParticleEntryAvatar.cc.

71  {
72  return new ParticleEntryChannel(theNucleus, theParticle);
73  }
ParticleList G4INCL::ParticleEntryAvatar::getParticles ( ) const
inlinevirtual

Implements G4INCL::IAvatar.

Definition at line 52 of file G4INCLParticleEntryAvatar.hh.

52  {
53  ParticleList theParticleList;
54  theParticleList.push_back(theParticle);
55  return theParticleList;
56  };
void G4INCL::ParticleEntryAvatar::postInteraction ( FinalState )
virtual

Implements G4INCL::IAvatar.

Definition at line 67 of file G4INCLParticleEntryAvatar.cc.

67  {
68  theParticle->rpCorrelate();
69  }
void rpCorrelate()
Make the particle follow a strict r-p correlation.

Here is the call graph for this function:

virtual void G4INCL::ParticleEntryAvatar::preInteraction ( )
inlinevirtual

Implements G4INCL::IAvatar.

Definition at line 58 of file G4INCLParticleEntryAvatar.hh.

58 {};

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