#include <G4INCLIAvatar.hh>
Definition at line 72 of file G4INCLIAvatar.hh.
◆ IAvatar() [1/2]
G4INCL::IAvatar::IAvatar |
( |
| ) |
|
Definition at line 53 of file G4INCLIAvatar.cc.
53 :
56 {
57 ID = nextID;
58 nextID++;
59 }
◆ IAvatar() [2/2]
G4INCL::IAvatar::IAvatar |
( |
G4double | time | ) |
|
Definition at line 61 of file G4INCLIAvatar.cc.
61 :
64 {
65 ID = nextID;
66 nextID++;
67 }
◆ ~IAvatar()
G4INCL::IAvatar::~IAvatar |
( |
| ) |
|
|
virtual |
◆ dump()
virtual std::string G4INCL::IAvatar::dump |
( |
| ) |
const |
|
pure virtual |
◆ fillFinalState()
void G4INCL::IAvatar::fillFinalState |
( |
FinalState * | fs | ) |
|
Definition at line 96 of file G4INCLIAvatar.cc.
96 {
101 if( !c )
102 return;
104 c->fillFinalState(fs);
107 delete c;
108 }
virtual void postInteraction(FinalState *)=0
virtual void preInteraction()=0
virtual G4INCL::IChannel * getChannel()=0
Referenced by getFinalState().
◆ getChannel()
◆ getFinalState()
Definition at line 90 of file G4INCLIAvatar.cc.
90 {
91 FinalState *fs = new FinalState;
93 return fs;
94 }
void fillFinalState(FinalState *fs)
◆ getID()
long G4INCL::IAvatar::getID |
( |
| ) |
const |
|
inline |
◆ getParticles()
virtual ParticleList G4INCL::IAvatar::getParticles |
( |
| ) |
const |
|
pure virtual |
◆ getTime()
G4double G4INCL::IAvatar::getTime |
( |
| ) |
const |
|
inline |
◆ getType()
◆ isACollision()
G4bool G4INCL::IAvatar::isACollision |
( |
| ) |
const |
|
inline |
◆ isADecay()
G4bool G4INCL::IAvatar::isADecay |
( |
| ) |
const |
|
inline |
◆ postInteraction()
virtual void G4INCL::IAvatar::postInteraction |
( |
FinalState * | | ) |
|
|
pure virtual |
◆ preInteraction()
virtual void G4INCL::IAvatar::preInteraction |
( |
| ) |
|
|
pure virtual |
◆ setType()
◆ toString()
std::string G4INCL::IAvatar::toString |
( |
| ) |
|
Definition at line 73 of file G4INCLIAvatar.cc.
73 {
74 std::stringstream entry;
75 std::stringstream particleString;
77 G4int numberOfParticles = 0;
79 numberOfParticles++;
80 particleString << (*i)->getID() << " ";
81 }
82 if(numberOfParticles == 1) particleString << "-1";
83 entry <<
getID() <<
" "
86 << particleString.str();
87 return entry.str();
88 }
virtual ParticleList getParticles() const =0
AvatarType getType() const
ParticleList::const_iterator ParticleIter
◆ theTime
The documentation for this class was generated from the following files: