G4INCL::FinalState Class Reference

#include <G4INCLFinalState.hh>


Public Member Functions

 FinalState ()
virtual ~FinalState ()
void setTotalEnergyBeforeInteraction (G4double E)
G4double getTotalEnergyBeforeInteraction () const
void addModifiedParticle (Particle *p)
void addOutgoingParticle (Particle *p)
void addDestroyedParticle (Particle *p)
void addCreatedParticle (Particle *p)
void addEnteringParticle (Particle *p)
ParticleList const & getModifiedParticles () const
ParticleList const & getOutgoingParticles () const
ParticleList const & getDestroyedParticles () const
ParticleList const & getCreatedParticles () const
ParticleList const & getEnteringParticles () const
void setBlockedDelta (Particle *const p)
ParticlegetBlockedDelta ()
FinalStateValidity getValidity () const
void makeValid ()
void makePauliBlocked ()
void makeNoEnergyConservation ()
void makeParticleBelowFermi ()
void makeParticleBelowZero ()
std::string print () const


Detailed Description

Final state of an interaction

Definition at line 63 of file G4INCLFinalState.hh.


Constructor & Destructor Documentation

G4INCL::FinalState::FinalState (  ) 

Definition at line 41 of file G4INCLFinalState.cc.

00041                          :
00042     totalEnergyBeforeInteraction(0.0), validity(ValidFS),
00043     blockedDelta(NULL)
00044   {
00045   }

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

Definition at line 47 of file G4INCLFinalState.cc.

00048   {
00049   }


Member Function Documentation

void G4INCL::FinalState::addCreatedParticle ( Particle p  ) 

Definition at line 66 of file G4INCLFinalState.cc.

Referenced by G4INCL::DeltaDecayChannel::getFinalState().

00067   {
00068     created.push_back(p);
00069   }

void G4INCL::FinalState::addDestroyedParticle ( Particle p  ) 

Definition at line 61 of file G4INCLFinalState.cc.

Referenced by G4INCL::PionNucleonChannel::getFinalState().

00062   {
00063     destroyed.push_back(p);
00064   }

void G4INCL::FinalState::addEnteringParticle ( Particle p  ) 

Definition at line 71 of file G4INCLFinalState.cc.

Referenced by G4INCL::ParticleEntryChannel::getFinalState().

00072   {
00073     entering.push_back(p);
00074   }

void G4INCL::FinalState::addModifiedParticle ( Particle p  ) 

Definition at line 51 of file G4INCLFinalState.cc.

Referenced by G4INCL::ReflectionChannel::getFinalState(), G4INCL::RecombinationChannel::getFinalState(), G4INCL::PionNucleonChannel::getFinalState(), G4INCL::ElasticChannel::getFinalState(), G4INCL::DeltaProductionChannel::getFinalState(), G4INCL::DeltaDecayChannel::getFinalState(), and G4INCL::DecayAvatar::postInteraction().

00052   {
00053     modified.push_back(p);
00054   }

void G4INCL::FinalState::addOutgoingParticle ( Particle p  ) 

Definition at line 56 of file G4INCLFinalState.cc.

Referenced by G4INCL::TransmissionChannel::getFinalState(), and G4INCL::InteractionAvatar::postInteraction().

00057   {
00058     outgoing.push_back(p);
00059   }

Particle* G4INCL::FinalState::getBlockedDelta (  )  [inline]

Definition at line 84 of file G4INCLFinalState.hh.

Referenced by G4INCL::Nucleus::applyFinalState().

00084 { return blockedDelta; }

ParticleList const & G4INCL::FinalState::getCreatedParticles (  )  const

Definition at line 91 of file G4INCLFinalState.cc.

Referenced by G4INCL::AvatarAction::afterAvatarAction(), G4INCL::Nucleus::applyFinalState(), G4INCL::Nucleus::decayOutgoingDeltas(), G4INCL::InteractionAvatar::enforceEnergyConservation(), G4INCL::InteractionAvatar::postInteraction(), and G4INCL::DecayAvatar::postInteraction().

00092   {
00093     return created;
00094   }

ParticleList const & G4INCL::FinalState::getDestroyedParticles (  )  const

Definition at line 86 of file G4INCLFinalState.cc.

Referenced by G4INCL::Nucleus::applyFinalState(), and G4INCL::InteractionAvatar::postInteraction().

00087   {
00088     return destroyed;
00089   }

ParticleList const & G4INCL::FinalState::getEnteringParticles (  )  const

Definition at line 96 of file G4INCLFinalState.cc.

Referenced by G4INCL::Nucleus::applyFinalState().

00097   {
00098     return entering;
00099   }

ParticleList const & G4INCL::FinalState::getModifiedParticles (  )  const

Definition at line 76 of file G4INCLFinalState.cc.

Referenced by G4INCL::AvatarAction::afterAvatarAction(), G4INCL::Nucleus::applyFinalState(), G4INCL::Nucleus::decayOutgoingDeltas(), G4INCL::InteractionAvatar::enforceEnergyConservation(), G4INCL::InteractionAvatar::postInteraction(), and G4INCL::DecayAvatar::postInteraction().

00077   {
00078     return modified;
00079   }

ParticleList const & G4INCL::FinalState::getOutgoingParticles (  )  const

Definition at line 81 of file G4INCLFinalState.cc.

Referenced by G4INCL::Nucleus::applyFinalState(), and G4INCL::SurfaceAvatar::postInteraction().

00082   {
00083     return outgoing;
00084   }

G4double G4INCL::FinalState::getTotalEnergyBeforeInteraction (  )  const [inline]

Definition at line 69 of file G4INCLFinalState.hh.

Referenced by G4INCL::Nucleus::applyFinalState().

00069 { return totalEnergyBeforeInteraction; };

FinalStateValidity G4INCL::FinalState::getValidity (  )  const [inline]

Definition at line 86 of file G4INCLFinalState.hh.

Referenced by G4INCL::Nucleus::applyFinalState(), G4INCL::Nucleus::decayInsideDeltas(), G4INCL::DecayAvatar::postInteraction(), and G4INCL::BinaryCollisionAvatar::postInteraction().

00086 { return validity; }

void G4INCL::FinalState::makeNoEnergyConservation (  )  [inline]

Definition at line 89 of file G4INCLFinalState.hh.

References G4INCL::NoEnergyConservationFS.

Referenced by G4INCL::InteractionAvatar::postInteraction(), and G4INCL::DecayAvatar::postInteraction().

00089 { validity = NoEnergyConservationFS; }

void G4INCL::FinalState::makeParticleBelowFermi (  )  [inline]

Definition at line 90 of file G4INCLFinalState.hh.

References G4INCL::ParticleBelowFermiFS.

Referenced by G4INCL::ParticleEntryChannel::getFinalState().

00090 { validity = ParticleBelowFermiFS; }

void G4INCL::FinalState::makeParticleBelowZero (  )  [inline]

Definition at line 91 of file G4INCLFinalState.hh.

References G4INCL::ParticleBelowZeroFS.

Referenced by G4INCL::ParticleEntryChannel::getFinalState().

00091 { validity = ParticleBelowZeroFS; }

void G4INCL::FinalState::makePauliBlocked (  )  [inline]

Definition at line 88 of file G4INCLFinalState.hh.

References G4INCL::PauliBlockedFS.

Referenced by G4INCL::InteractionAvatar::postInteraction(), and G4INCL::DecayAvatar::postInteraction().

00088 { validity = PauliBlockedFS; }

void G4INCL::FinalState::makeValid (  )  [inline]

Definition at line 87 of file G4INCLFinalState.hh.

References G4INCL::ValidFS.

00087 { validity = ValidFS; }

std::string G4INCL::FinalState::print (  )  const

Definition at line 101 of file G4INCLFinalState.cc.

Referenced by G4INCL::Nucleus::applyFinalState().

00101                                     {
00102     std::stringstream ss;
00103     ss << "Modified particles:" << std::endl;
00104     for(ParticleIter iter = modified.begin(); iter != modified.end(); ++iter)
00105       ss << (*iter)->print();
00106     ss << "Outgoing particles:" << std::endl;
00107     for(ParticleIter iter = outgoing.begin(); iter != outgoing.end(); ++iter)
00108       ss << (*iter)->print();
00109     ss << "Destroyed particles:" << std::endl;
00110     for(ParticleIter iter = destroyed.begin(); iter != destroyed.end(); ++iter)
00111       ss << (*iter)->print();
00112     ss << "Created particles:" << std::endl;
00113     for(ParticleIter iter = created.begin(); iter != created.end(); ++iter)
00114       ss << (*iter)->print();
00115     ss << "Entering particles:" << std::endl;
00116     for(ParticleIter iter = entering.begin(); iter != entering.end(); ++iter)
00117       ss << (*iter)->print();
00118     return ss.str();
00119   }

void G4INCL::FinalState::setBlockedDelta ( Particle *const   p  )  [inline]

Definition at line 83 of file G4INCLFinalState.hh.

Referenced by G4INCL::DecayAvatar::postInteraction().

00083 { blockedDelta = p; }

void G4INCL::FinalState::setTotalEnergyBeforeInteraction ( G4double  E  )  [inline]

Definition at line 68 of file G4INCLFinalState.hh.

Referenced by G4INCL::TransmissionChannel::getFinalState(), G4INCL::ReflectionChannel::getFinalState(), G4INCL::ParticleEntryChannel::getFinalState(), G4INCL::InteractionAvatar::postInteraction(), and G4INCL::DecayAvatar::postInteraction().

00068 { totalEnergyBeforeInteraction = E; };


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