Geant4-11
Public Member Functions | Private Attributes
G4INCL::FinalState Class Reference

#include <G4INCLFinalState.hh>

Public Member Functions

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

Private Attributes

ParticleList created
 
ParticleList destroyed
 
ParticleList entering
 
ParticleList modified
 
ParticleList outgoing
 
G4double totalEnergyBeforeInteraction
 
FinalStateValidity validity
 

Detailed Description

Final state of an interaction

Definition at line 64 of file G4INCLFinalState.hh.

Constructor & Destructor Documentation

◆ FinalState()

G4INCL::FinalState::FinalState ( )

Definition at line 42 of file G4INCLFinalState.cc.

42 {
43 reset();
44 }

References reset().

◆ ~FinalState()

G4INCL::FinalState::~FinalState ( )
virtual

Definition at line 46 of file G4INCLFinalState.cc.

47 {
48 }

Member Function Documentation

◆ addCreatedParticle()

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

Definition at line 75 of file G4INCLFinalState.cc.

76 {
77 created.push_back(p);
78 }

References created.

Referenced by G4INCL::DeltaDecayChannel::fillFinalState(), G4INCL::EtaNToPiPiNChannel::fillFinalState(), G4INCL::NDeltaEtaProductionChannel::fillFinalState(), G4INCL::NDeltaOmegaProductionChannel::fillFinalState(), G4INCL::NDeltaToDeltaLKChannel::fillFinalState(), G4INCL::NDeltaToDeltaSKChannel::fillFinalState(), G4INCL::NDeltaToNLKChannel::fillFinalState(), G4INCL::NDeltaToNNKKbChannel::fillFinalState(), G4INCL::NDeltaToNSKChannel::fillFinalState(), G4INCL::NKbToL2piChannel::fillFinalState(), G4INCL::NKbToNKb2piChannel::fillFinalState(), G4INCL::NKbToNKbpiChannel::fillFinalState(), G4INCL::NKbToS2piChannel::fillFinalState(), G4INCL::NKToNK2piChannel::fillFinalState(), G4INCL::NKToNKpiChannel::fillFinalState(), G4INCL::NNEtaToMultiPionsChannel::fillFinalState(), G4INCL::NNOmegaToMultiPionsChannel::fillFinalState(), G4INCL::NNToMissingStrangenessChannel::fillFinalState(), G4INCL::NNToMultiPionsChannel::fillFinalState(), G4INCL::NNToNLK2piChannel::fillFinalState(), G4INCL::NNToNLKChannel::fillFinalState(), G4INCL::NNToNLKpiChannel::fillFinalState(), G4INCL::NNToNNEtaChannel::fillFinalState(), G4INCL::NNToNNKKbChannel::fillFinalState(), G4INCL::NNToNNOmegaChannel::fillFinalState(), G4INCL::NNToNSK2piChannel::fillFinalState(), G4INCL::NNToNSKChannel::fillFinalState(), G4INCL::NNToNSKpiChannel::fillFinalState(), G4INCL::NpiToLK2piChannel::fillFinalState(), G4INCL::NpiToLKpiChannel::fillFinalState(), G4INCL::NpiToMissingStrangenessChannel::fillFinalState(), G4INCL::NpiToNKKbChannel::fillFinalState(), G4INCL::NpiToSK2piChannel::fillFinalState(), G4INCL::NpiToSKpiChannel::fillFinalState(), G4INCL::OmegaNToPiPiNChannel::fillFinalState(), G4INCL::PiNToMultiPionsChannel::fillFinalState(), G4INCL::PionResonanceDecayChannel::fillFinalState(), and G4INCL::SigmaZeroDecayChannel::fillFinalState().

◆ addDestroyedParticle()

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

Definition at line 70 of file G4INCLFinalState.cc.

71 {
72 destroyed.push_back(p);
73 }
ParticleList destroyed

References destroyed.

Referenced by G4INCL::PiNToDeltaChannel::fillFinalState().

◆ addEnteringParticle()

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

Definition at line 80 of file G4INCLFinalState.cc.

81 {
82 entering.push_back(p);
83 }

References entering.

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

◆ addModifiedParticle()

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

Definition at line 60 of file G4INCLFinalState.cc.

61 {
62 modified.push_back(p);
63 }

References modified.

Referenced by G4INCL::DeltaDecayChannel::fillFinalState(), G4INCL::DeltaProductionChannel::fillFinalState(), G4INCL::ElasticChannel::fillFinalState(), G4INCL::EtaNElasticChannel::fillFinalState(), G4INCL::EtaNToPiNChannel::fillFinalState(), G4INCL::EtaNToPiPiNChannel::fillFinalState(), G4INCL::NDeltaEtaProductionChannel::fillFinalState(), G4INCL::NDeltaOmegaProductionChannel::fillFinalState(), G4INCL::NDeltaToDeltaLKChannel::fillFinalState(), G4INCL::NDeltaToDeltaSKChannel::fillFinalState(), G4INCL::NDeltaToNLKChannel::fillFinalState(), G4INCL::NDeltaToNNKKbChannel::fillFinalState(), G4INCL::NDeltaToNSKChannel::fillFinalState(), G4INCL::NeutralKaonDecayChannel::fillFinalState(), G4INCL::NKbElasticChannel::fillFinalState(), G4INCL::NKbToL2piChannel::fillFinalState(), G4INCL::NKbToLpiChannel::fillFinalState(), G4INCL::NKbToNKb2piChannel::fillFinalState(), G4INCL::NKbToNKbChannel::fillFinalState(), G4INCL::NKbToNKbpiChannel::fillFinalState(), G4INCL::NKbToS2piChannel::fillFinalState(), G4INCL::NKbToSpiChannel::fillFinalState(), G4INCL::NKElasticChannel::fillFinalState(), G4INCL::NKToNK2piChannel::fillFinalState(), G4INCL::NKToNKChannel::fillFinalState(), G4INCL::NKToNKpiChannel::fillFinalState(), G4INCL::NLToNSChannel::fillFinalState(), G4INCL::NNEtaToMultiPionsChannel::fillFinalState(), G4INCL::NNOmegaToMultiPionsChannel::fillFinalState(), G4INCL::NNToMissingStrangenessChannel::fillFinalState(), G4INCL::NNToMultiPionsChannel::fillFinalState(), G4INCL::NNToNLK2piChannel::fillFinalState(), G4INCL::NNToNLKChannel::fillFinalState(), G4INCL::NNToNLKpiChannel::fillFinalState(), G4INCL::NNToNNEtaChannel::fillFinalState(), G4INCL::NNToNNKKbChannel::fillFinalState(), G4INCL::NNToNNOmegaChannel::fillFinalState(), G4INCL::NNToNSK2piChannel::fillFinalState(), G4INCL::NNToNSKChannel::fillFinalState(), G4INCL::NNToNSKpiChannel::fillFinalState(), G4INCL::NpiToLK2piChannel::fillFinalState(), G4INCL::NpiToLKChannel::fillFinalState(), G4INCL::NpiToLKpiChannel::fillFinalState(), G4INCL::NpiToMissingStrangenessChannel::fillFinalState(), G4INCL::NpiToNKKbChannel::fillFinalState(), G4INCL::NpiToSK2piChannel::fillFinalState(), G4INCL::NpiToSKChannel::fillFinalState(), G4INCL::NpiToSKpiChannel::fillFinalState(), G4INCL::NSToNLChannel::fillFinalState(), G4INCL::NSToNSChannel::fillFinalState(), G4INCL::NYElasticChannel::fillFinalState(), G4INCL::OmegaNElasticChannel::fillFinalState(), G4INCL::OmegaNToPiNChannel::fillFinalState(), G4INCL::OmegaNToPiPiNChannel::fillFinalState(), G4INCL::PiNElasticChannel::fillFinalState(), G4INCL::PiNToDeltaChannel::fillFinalState(), G4INCL::PiNToEtaChannel::fillFinalState(), G4INCL::PiNToMultiPionsChannel::fillFinalState(), G4INCL::PiNToOmegaChannel::fillFinalState(), G4INCL::PionResonanceDecayChannel::fillFinalState(), G4INCL::RecombinationChannel::fillFinalState(), G4INCL::ReflectionChannel::fillFinalState(), G4INCL::SigmaZeroDecayChannel::fillFinalState(), G4INCL::StrangeAbsorbtionChannel::fillFinalState(), and G4INCL::DecayAvatar::postInteraction().

◆ addOutgoingParticle()

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

Definition at line 65 of file G4INCLFinalState.cc.

66 {
67 outgoing.push_back(p);
68 }

References outgoing.

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

◆ getCreatedParticles()

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

◆ getDestroyedParticles()

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

◆ getEnteringParticles()

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

◆ getModifiedParticles()

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

◆ getOutgoingParticles()

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

◆ getTotalEnergyBeforeInteraction()

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

◆ getValidity()

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

◆ makeNoEnergyConservation()

void G4INCL::FinalState::makeNoEnergyConservation ( )
inline

◆ makeParticleBelowFermi()

void G4INCL::FinalState::makeParticleBelowFermi ( )
inline

◆ makeParticleBelowZero()

void G4INCL::FinalState::makeParticleBelowZero ( )
inline

◆ makePauliBlocked()

void G4INCL::FinalState::makePauliBlocked ( )
inline

◆ makeValid()

void G4INCL::FinalState::makeValid ( )
inline

Definition at line 87 of file G4INCLFinalState.hh.

References G4INCL::ValidFS, and validity.

◆ print()

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

Definition at line 110 of file G4INCLFinalState.cc.

110 {
111 std::stringstream ss;
112 ss << "Modified particles:" << '\n';
113 for(ParticleIter iter=modified.begin(), e=modified.end(); iter!=e; ++iter)
114 ss << (*iter)->print();
115 ss << "Outgoing particles:" << '\n';
116 for(ParticleIter iter=outgoing.begin(), e=outgoing.end(); iter!=e; ++iter)
117 ss << (*iter)->print();
118 ss << "Destroyed particles:" << '\n';
119 for(ParticleIter iter=destroyed.begin(), e=destroyed.end(); iter!=e; ++iter)
120 ss << (*iter)->print();
121 ss << "Created particles:" << '\n';
122 for(ParticleIter iter=created.begin(), e=created.end(); iter!=e; ++iter)
123 ss << (*iter)->print();
124 ss << "Entering particles:" << '\n';
125 for(ParticleIter iter=entering.begin(), e=entering.end(); iter!=e; ++iter)
126 ss << (*iter)->print();
127 return ss.str();
128 }
ParticleList::const_iterator ParticleIter

References created, destroyed, entering, modified, and outgoing.

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

◆ reset()

void G4INCL::FinalState::reset ( )

◆ setTotalEnergyBeforeInteraction()

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

Field Documentation

◆ created

ParticleList G4INCL::FinalState::created
private

Definition at line 96 of file G4INCLFinalState.hh.

Referenced by addCreatedParticle(), getCreatedParticles(), print(), and reset().

◆ destroyed

ParticleList G4INCL::FinalState::destroyed
private

Definition at line 96 of file G4INCLFinalState.hh.

Referenced by addDestroyedParticle(), getDestroyedParticles(), print(), and reset().

◆ entering

ParticleList G4INCL::FinalState::entering
private

Definition at line 96 of file G4INCLFinalState.hh.

Referenced by addEnteringParticle(), getEnteringParticles(), print(), and reset().

◆ modified

ParticleList G4INCL::FinalState::modified
private

Definition at line 96 of file G4INCLFinalState.hh.

Referenced by addModifiedParticle(), getModifiedParticles(), print(), and reset().

◆ outgoing

ParticleList G4INCL::FinalState::outgoing
private

Definition at line 96 of file G4INCLFinalState.hh.

Referenced by addOutgoingParticle(), getOutgoingParticles(), print(), and reset().

◆ totalEnergyBeforeInteraction

G4double G4INCL::FinalState::totalEnergyBeforeInteraction
private

◆ validity

FinalStateValidity G4INCL::FinalState::validity
private

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