#include <G4INCLParticleEntryAvatar.hh>
◆ ParticleEntryAvatar()
Definition at line 52 of file G4INCLParticleEntryAvatar.cc.
56 :
IAvatar(time), theNucleus(nucleus), theParticle(particle), theEType(EType)
57 {
59 }
void setType(AvatarType t)
@ ParticleEntryAvatarType
◆ ~ParticleEntryAvatar()
| G4INCL::ParticleEntryAvatar::~ParticleEntryAvatar |
( |
| ) |
|
|
virtual |
◆ dump()
| std::string G4INCL::ParticleEntryAvatar::dump |
( |
| ) |
const |
|
virtual |
Implements G4INCL::IAvatar.
Definition at line 64 of file G4INCLParticleEntryAvatar.cc.
64 {
65 std::stringstream ss;
66 ss <<
"(avatar " <<
theTime <<
" 'particle-entry" <<
'\n'
67 << "(list " << '\n'
68 << theParticle->dump()
69 << "))" << '\n';
70 return ss.str();
71 }
◆ getChannel()
| IChannel * G4INCL::ParticleEntryAvatar::getChannel |
( |
| ) |
|
|
virtual |
Implements G4INCL::IAvatar.
Definition at line 77 of file G4INCLParticleEntryAvatar.cc.
77 {
79 return new PbarAtrestEntryChannel(theNucleus, theParticle);
80 INCL_DEBUG(
"Particle " << theParticle->getID() <<
" is trying to enter at rest" <<
'\n');
81 }
82 else if(theEType ==
ANAR){
83 return new NbarAtrestEntryChannel(theNucleus, theParticle);
84 INCL_DEBUG(
"Particle " << theParticle->getID() <<
"is trying to enter at rest " <<
'\n');
85
86 }
87 else if(theEType ==
ADAR){
88 return new AntinucleiAtrestEntryChannel(theNucleus, theParticle);
89 INCL_DEBUG(
"Particle " << theParticle->getID() <<
"is trying to enter at rest " <<
'\n');
90 }
91 else {
92 return new ParticleEntryChannel(theNucleus, theParticle);
93 }
94 }
◆ getEntryType()
| EntryType G4INCL::ParticleEntryAvatar::getEntryType |
( |
| ) |
const |
|
inline |
◆ getParticles()
| ParticleList G4INCL::ParticleEntryAvatar::getParticles |
( |
| ) |
const |
|
inlinevirtual |
◆ postInteraction()
| void G4INCL::ParticleEntryAvatar::postInteraction |
( |
FinalState * | | ) |
|
|
virtual |
◆ preInteraction()
| virtual void G4INCL::ParticleEntryAvatar::preInteraction |
( |
| ) |
|
|
inlinevirtual |
The documentation for this class was generated from the following files: