G4INCL::ParticleEntryAvatar Class Reference

#include <G4INCLParticleEntryAvatar.hh>

Inheritance diagram for G4INCL::ParticleEntryAvatar:

G4INCL::IAvatar

Public Member Functions

 ParticleEntryAvatar (G4double, G4INCL::Nucleus *, G4INCL::Particle *)
virtual ~ParticleEntryAvatar ()
virtual G4INCL::IChannelgetChannel () const
ParticleList getParticles () const
virtual void preInteraction ()
virtual FinalStatepostInteraction (FinalState *)
std::string dump () const

Static Public Attributes

static const G4double cutNN
static const G4double cutNNSquared

Detailed Description

Definition at line 45 of file G4INCLParticleEntryAvatar.hh.


Constructor & Destructor Documentation

G4INCL::ParticleEntryAvatar::ParticleEntryAvatar ( G4double  ,
G4INCL::Nucleus ,
G4INCL::Particle  
)

Definition at line 46 of file G4INCLParticleEntryAvatar.cc.

References G4INCL::ParticleEntryAvatarType, and G4INCL::IAvatar::setType().

00049     :IAvatar(time), theNucleus(nucleus), theParticle(particle)
00050   {
00051     setType(ParticleEntryAvatarType);
00052   }

G4INCL::ParticleEntryAvatar::~ParticleEntryAvatar (  )  [virtual]

Definition at line 54 of file G4INCLParticleEntryAvatar.cc.

00055   {}


Member Function Documentation

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

Implements G4INCL::IAvatar.

Definition at line 57 of file G4INCLParticleEntryAvatar.cc.

References G4INCL::Particle::dump(), and G4INCL::IAvatar::theTime.

00057                                             {
00058     std::stringstream ss;
00059     ss << "(avatar " << theTime <<" 'particle-entry" << std::endl
00060       << "(list " << std::endl
00061        << theParticle->dump()
00062       << "))" << std::endl;
00063     return ss.str();
00064   }

IChannel * G4INCL::ParticleEntryAvatar::getChannel (  )  const [virtual]

Implements G4INCL::IAvatar.

Definition at line 70 of file G4INCLParticleEntryAvatar.cc.

00070                                                   {
00071     return new ParticleEntryChannel(theNucleus, theParticle);
00072   }

ParticleList G4INCL::ParticleEntryAvatar::getParticles (  )  const [inline, virtual]

Implements G4INCL::IAvatar.

Definition at line 50 of file G4INCLParticleEntryAvatar.hh.

00050                                       {
00051       ParticleList theParticleList;
00052       theParticleList.push_back(theParticle);
00053       return theParticleList;
00054     };

FinalState * G4INCL::ParticleEntryAvatar::postInteraction ( FinalState  )  [virtual]

Implements G4INCL::IAvatar.

Definition at line 66 of file G4INCLParticleEntryAvatar.cc.

00066                                                                  {
00067     return fs;
00068   }

virtual void G4INCL::ParticleEntryAvatar::preInteraction (  )  [inline, virtual]

Implements G4INCL::IAvatar.

Definition at line 56 of file G4INCLParticleEntryAvatar.hh.

00056 {};


Field Documentation

const G4double G4INCL::ParticleEntryAvatar::cutNN [static]

Definition at line 61 of file G4INCLParticleEntryAvatar.hh.

const G4double G4INCL::ParticleEntryAvatar::cutNNSquared [static]

Definition at line 62 of file G4INCLParticleEntryAvatar.hh.


The documentation for this class was generated from the following files:
Generated on Mon May 27 17:54:07 2013 for Geant4 by  doxygen 1.4.7