Geant4  10.00.p02
G4CollisionOutput Class Reference

#include <G4CollisionOutput.hh>

+ Collaboration diagram for G4CollisionOutput:

Public Member Functions

 G4CollisionOutput ()
 
G4CollisionOutputoperator= (const G4CollisionOutput &right)
 
void setVerboseLevel (G4int verbose)
 
void reset ()
 
void add (const G4CollisionOutput &right)
 
void addOutgoingParticle (const G4InuclElementaryParticle &particle)
 
void addOutgoingParticles (const std::vector< G4InuclElementaryParticle > &particles)
 
void addOutgoingNucleus (const G4InuclNuclei &nuclei)
 
void addOutgoingNuclei (const std::vector< G4InuclNuclei > &nuclea)
 
void addOutgoingParticle (const G4CascadParticle &cparticle)
 
void addOutgoingParticles (const std::vector< G4CascadParticle > &cparticles)
 
void addOutgoingParticles (const G4ReactionProductVector *rproducts)
 
void addRecoilFragment (const G4Fragment *aFragment)
 
void addRecoilFragment (const G4Fragment &aFragment)
 
void removeOutgoingParticle (G4int index)
 
void removeOutgoingParticle (const G4InuclElementaryParticle &particle)
 
void removeOutgoingParticle (const G4InuclElementaryParticle *particle)
 
void removeOutgoingNucleus (G4int index)
 
void removeOutgoingNucleus (const G4InuclNuclei &nuclei)
 
void removeOutgoingNucleus (const G4InuclNuclei *nuclei)
 
void removeRecoilFragment (G4int index=-1)
 
G4int numberOfOutgoingParticles () const
 
const std::vector
< G4InuclElementaryParticle > & 
getOutgoingParticles () const
 
std::vector
< G4InuclElementaryParticle > & 
getOutgoingParticles ()
 
G4int numberOfOutgoingNuclei () const
 
const std::vector
< G4InuclNuclei > & 
getOutgoingNuclei () const
 
std::vector< G4InuclNuclei > & getOutgoingNuclei ()
 
G4int numberOfFragments () const
 
const G4FragmentgetRecoilFragment (G4int index=0) const
 
const std::vector< G4Fragment > & getRecoilFragments () const
 
std::vector< G4Fragment > & getRecoilFragments ()
 
G4LorentzVector getTotalOutputMomentum () const
 
G4int getTotalCharge () const
 
G4int getTotalBaryonNumber () const
 
G4int getTotalStrangeness () const
 
void printCollisionOutput (std::ostream &os=G4cout) const
 
void boostToLabFrame (const G4LorentzConvertor &convertor)
 
G4LorentzVector boostToLabFrame (G4LorentzVector mom, const G4LorentzConvertor &convertor) const
 
void rotateEvent (const G4LorentzRotation &rotate)
 
void trivialise (G4InuclParticle *bullet, G4InuclParticle *target)
 
void setOnShell (G4InuclParticle *bullet, G4InuclParticle *target)
 
void setRemainingExitationEnergy ()
 
double getRemainingExitationEnergy () const
 
G4bool acceptable () const
 

Private Member Functions

std::pair< std::pair< G4int,
G4int >, G4int
selectPairToTune (G4double de) const
 

Private Attributes

G4int verboseLevel
 
std::vector
< G4InuclElementaryParticle
outgoingParticles
 
std::vector< G4InuclNucleioutgoingNuclei
 
std::vector< G4FragmentrecoilFragments
 
G4double eex_rest
 
G4bool on_shell
 

Static Private Attributes

static const G4Fragment emptyFragment
 

Detailed Description

Definition at line 66 of file G4CollisionOutput.hh.

Constructor & Destructor Documentation

G4CollisionOutput::G4CollisionOutput ( )

Definition at line 81 of file G4CollisionOutput.cc.

References G4cout, G4endl, and verboseLevel.

Member Function Documentation

G4bool G4CollisionOutput::acceptable ( ) const
inline

Definition at line 173 of file G4CollisionOutput.hh.

Referenced by G4InuclCollider::collide(), and G4IntraNucleiCascader::finishCascade().

+ Here is the caller graph for this function:

void G4CollisionOutput::add ( const G4CollisionOutput right)

Definition at line 120 of file G4CollisionOutput.cc.

References addOutgoingNuclei(), addOutgoingParticles(), eex_rest, on_shell, outgoingNuclei, outgoingParticles, and recoilFragments.

Referenced by G4InuclCollider::collide(), G4CascadeCheckBalance::collide(), G4CascadeDeexcitation::deExcite(), G4InuclCollider::deexcite(), G4IntraNucleiCascader::finalize(), and G4InuclCollider::rescatter().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4CollisionOutput::addOutgoingNuclei ( const std::vector< G4InuclNuclei > &  nuclea)

Definition at line 136 of file G4CollisionOutput.cc.

References outgoingNuclei.

Referenced by add(), and G4CascadeCheckBalance::collide().

+ Here is the caller graph for this function:

void G4CollisionOutput::addOutgoingNucleus ( const G4InuclNuclei nuclei)
inline

Definition at line 85 of file G4CollisionOutput.hh.

References outgoingNuclei.

Referenced by G4CascadeCoalescence::createNuclei(), and G4EquilibriumEvaporator::deExcite().

+ Here is the caller graph for this function:

void G4CollisionOutput::addOutgoingParticle ( const G4InuclElementaryParticle particle)
inline

Definition at line 79 of file G4CollisionOutput.hh.

References outgoingParticles.

Referenced by addOutgoingParticle(), addOutgoingParticles(), G4IntraNucleiCascader::decayTrappedParticle(), G4NonEquilibriumEvaporator::deExcite(), G4EquilibriumEvaporator::deExcite(), G4IntraNucleiCascader::finishCascade(), G4IntraNucleiCascader::generateCascade(), and G4IntraNucleiCascader::processTrappedParticle().

+ Here is the caller graph for this function:

void G4CollisionOutput::addOutgoingParticle ( const G4CascadParticle cparticle)

Definition at line 142 of file G4CollisionOutput.cc.

References addOutgoingParticle(), and G4CascadParticle::getParticle().

+ Here is the call graph for this function:

void G4CollisionOutput::addOutgoingParticles ( const std::vector< G4InuclElementaryParticle > &  particles)

Definition at line 131 of file G4CollisionOutput.cc.

References outgoingParticles.

Referenced by add(), G4ElementaryParticleCollider::collide(), G4CascadeCheckBalance::collide(), G4BigBanger::deExcite(), G4CascadeDeexcitation::deExcite(), G4PreCompoundDeexcitation::deExcite(), G4IntraNucleiCascader::finishCascade(), and G4IntraNucleiCascader::setupCascade().

+ Here is the caller graph for this function:

void G4CollisionOutput::addOutgoingParticles ( const std::vector< G4CascadParticle > &  cparticles)

Definition at line 146 of file G4CollisionOutput.cc.

References addOutgoingParticle().

+ Here is the call graph for this function:

void G4CollisionOutput::addOutgoingParticles ( const G4ReactionProductVector rproducts)

Definition at line 153 of file G4CollisionOutput.cc.

References G4cout, G4endl, G4ParticleDefinition::GetAtomicMass(), G4ParticleDefinition::GetAtomicNumber(), G4ParticleDefinition::GetParticleName(), GeV, numberOfOutgoingNuclei(), numberOfOutgoingParticles(), outgoingNuclei, outgoingParticles, G4InuclParticle::PreCompound, G4InuclElementaryParticle::type(), and verboseLevel.

+ Here is the call graph for this function:

void G4CollisionOutput::addRecoilFragment ( const G4Fragment aFragment)
inline

Definition at line 98 of file G4CollisionOutput.hh.

Referenced by G4NonEquilibriumEvaporator::deExcite(), G4Fissioner::deExcite(), G4EquilibriumEvaporator::deExcite(), and G4IntraNucleiCascader::finishCascade().

+ Here is the caller graph for this function:

void G4CollisionOutput::addRecoilFragment ( const G4Fragment aFragment)
inline

Definition at line 102 of file G4CollisionOutput.hh.

References recoilFragments.

void G4CollisionOutput::boostToLabFrame ( const G4LorentzConvertor convertor)

Definition at line 318 of file G4CollisionOutput.cc.

References G4cout, G4endl, GeV, outgoingNuclei, outgoingParticles, recoilFragments, and verboseLevel.

Referenced by G4InuclCollider::collide(), and G4EquilibriumEvaporator::deExcite().

+ Here is the caller graph for this function:

G4LorentzVector G4CollisionOutput::boostToLabFrame ( G4LorentzVector  mom,
const G4LorentzConvertor convertor 
) const

Definition at line 346 of file G4CollisionOutput.cc.

References G4LorentzConvertor::backToTheLab(), G4LorentzConvertor::reflectionNeeded(), and G4LorentzConvertor::rotate().

+ Here is the call graph for this function:

const std::vector<G4InuclNuclei>& G4CollisionOutput::getOutgoingNuclei ( ) const
inline

Definition at line 136 of file G4CollisionOutput.hh.

References outgoingNuclei.

Referenced by G4Analyser::analyse(), G4InuclEvaporation::BreakItUp(), G4CascadeInterface::copyOutputToHadronicResult(), G4CascadeInterface::copyOutputToReactionProducts(), G4EquilibriumEvaporator::deExcite(), and G4IntraNucleiCascader::releaseSecondary().

+ Here is the caller graph for this function:

std::vector<G4InuclNuclei>& G4CollisionOutput::getOutgoingNuclei ( )
inline

Definition at line 140 of file G4CollisionOutput.hh.

References outgoingNuclei.

std::vector<G4InuclElementaryParticle>& G4CollisionOutput::getOutgoingParticles ( )
inline

Definition at line 130 of file G4CollisionOutput.hh.

References outgoingParticles.

const G4Fragment & G4CollisionOutput::getRecoilFragment ( G4int  index = 0) const

Definition at line 112 of file G4CollisionOutput.cc.

References emptyFragment, numberOfFragments(), and recoilFragments.

Referenced by G4InuclCollider::collide(), G4NonEquilibriumEvaporator::deExcite(), G4CascadeDeexcitation::deExcite(), G4EquilibriumEvaporator::deExcite(), and G4InuclCollider::rescatter().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

const std::vector<G4Fragment>& G4CollisionOutput::getRecoilFragments ( ) const
inline

Definition at line 146 of file G4CollisionOutput.hh.

References recoilFragments.

std::vector<G4Fragment>& G4CollisionOutput::getRecoilFragments ( )
inline

Definition at line 150 of file G4CollisionOutput.hh.

References recoilFragments.

double G4CollisionOutput::getRemainingExitationEnergy ( ) const
inline

Definition at line 172 of file G4CollisionOutput.hh.

References eex_rest.

G4int G4CollisionOutput::getTotalBaryonNumber ( ) const

Definition at line 267 of file G4CollisionOutput.cc.

References G4InuclParticleNames::baryon(), G4cout, G4endl, numberOfFragments(), numberOfOutgoingNuclei(), numberOfOutgoingParticles(), outgoingNuclei, outgoingParticles, recoilFragments, and verboseLevel.

Referenced by G4CascadeCheckBalance::collide().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4int G4CollisionOutput::getTotalCharge ( ) const

Definition at line 248 of file G4CollisionOutput.cc.

References G4cout, G4endl, numberOfFragments(), numberOfOutgoingNuclei(), numberOfOutgoingParticles(), outgoingNuclei, outgoingParticles, recoilFragments, and verboseLevel.

Referenced by G4CascadeCheckBalance::collide().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4LorentzVector G4CollisionOutput::getTotalOutputMomentum ( ) const

Definition at line 229 of file G4CollisionOutput.cc.

References G4cout, G4endl, GeV, numberOfFragments(), numberOfOutgoingNuclei(), numberOfOutgoingParticles(), outgoingNuclei, outgoingParticles, recoilFragments, and verboseLevel.

Referenced by G4CascadeCheckBalance::collide(), and setOnShell().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4int G4CollisionOutput::getTotalStrangeness ( ) const

Definition at line 286 of file G4CollisionOutput.cc.

References G4cout, G4endl, numberOfOutgoingParticles(), outgoingParticles, and verboseLevel.

Referenced by G4CascadeCheckBalance::collide().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4int G4CollisionOutput::numberOfFragments ( ) const
inline

Definition at line 142 of file G4CollisionOutput.hh.

References recoilFragments.

Referenced by G4EquilibriumEvaporator::deExcite(), getRecoilFragment(), getTotalBaryonNumber(), getTotalCharge(), getTotalOutputMomentum(), printCollisionOutput(), removeRecoilFragment(), setOnShell(), and setRemainingExitationEnergy().

+ Here is the caller graph for this function:

G4int G4CollisionOutput::numberOfOutgoingNuclei ( ) const
inline

Definition at line 134 of file G4CollisionOutput.hh.

References outgoingNuclei.

Referenced by addOutgoingParticles(), G4IntraNucleiCascader::copySecondaries(), getTotalBaryonNumber(), getTotalCharge(), getTotalOutputMomentum(), printCollisionOutput(), G4IntraNucleiCascader::releaseSecondary(), removeOutgoingNucleus(), G4CascadeInterface::retryInelasticNucleus(), setOnShell(), and setRemainingExitationEnergy().

+ Here is the caller graph for this function:

G4CollisionOutput & G4CollisionOutput::operator= ( const G4CollisionOutput right)
void G4CollisionOutput::printCollisionOutput ( std::ostream &  os = G4cout) const

Definition at line 300 of file G4CollisionOutput.cc.

References G4endl, numberOfFragments(), numberOfOutgoingNuclei(), numberOfOutgoingParticles(), outgoingNuclei, outgoingParticles, and recoilFragments.

Referenced by G4CascadeInterface::ApplyYourself(), G4EvaporationInuclCollider::deExcite(), G4CascadeDeexcitation::deExcite(), G4CascadeCoalescence::FindClusters(), G4IntraNucleiCascader::finishCascade(), G4NucleiModel::generateParticleFate(), G4CascadeInterface::Propagate(), setOnShell(), G4CascadeInterface::throwNonConservationFailure(), and G4CascadeColliderBase::validateOutput().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4CollisionOutput::removeOutgoingNucleus ( G4int  index)

Definition at line 199 of file G4CollisionOutput.cc.

References numberOfOutgoingNuclei(), and outgoingNuclei.

Referenced by removeOutgoingNucleus().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4CollisionOutput::removeOutgoingNucleus ( const G4InuclNuclei nuclei)

Definition at line 212 of file G4CollisionOutput.cc.

References G4InuclParticleNames::nuclei, outgoingNuclei, and pos.

void G4CollisionOutput::removeOutgoingNucleus ( const G4InuclNuclei nuclei)
inline

Definition at line 116 of file G4CollisionOutput.hh.

References removeOutgoingNucleus().

+ Here is the call graph for this function:

void G4CollisionOutput::removeOutgoingParticle ( G4int  index)

Definition at line 194 of file G4CollisionOutput.cc.

References numberOfOutgoingParticles(), and outgoingParticles.

Referenced by G4CascadeCoalescence::removeNucleons(), and removeOutgoingParticle().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4CollisionOutput::removeOutgoingParticle ( const G4InuclElementaryParticle particle)

Definition at line 206 of file G4CollisionOutput.cc.

References outgoingParticles, and pos.

void G4CollisionOutput::removeOutgoingParticle ( const G4InuclElementaryParticle particle)
inline

Definition at line 110 of file G4CollisionOutput.hh.

References removeOutgoingParticle().

+ Here is the call graph for this function:

void G4CollisionOutput::removeRecoilFragment ( G4int  index = -1)

Definition at line 220 of file G4CollisionOutput.cc.

References numberOfFragments(), and recoilFragments.

Referenced by G4InuclCollider::collide(), and G4InuclCollider::rescatter().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4CollisionOutput::rotateEvent ( const G4LorentzRotation rotate)

Definition at line 357 of file G4CollisionOutput.cc.

References G4cout, G4endl, outgoingNuclei, outgoingParticles, recoilFragments, and verboseLevel.

Referenced by G4CascadeInterface::ApplyYourself().

+ Here is the caller graph for this function:

std::pair< std::pair< G4int, G4int >, G4int > G4CollisionOutput::selectPairToTune ( G4double  de) const
private

Definition at line 644 of file G4CollisionOutput.cc.

References G4cout, G4endl, outgoingParticles, and verboseLevel.

Referenced by setOnShell().

+ Here is the caller graph for this function:

void G4CollisionOutput::setOnShell ( G4InuclParticle bullet,
G4InuclParticle target 
)

Definition at line 402 of file G4CollisionOutput.cc.

References eex_rest, G4cout, G4endl, G4InuclParticle::getMomentum(), getTotalOutputMomentum(), GeV, numberOfFragments(), numberOfOutgoingNuclei(), numberOfOutgoingParticles(), on_shell, outgoingNuclei, outgoingParticles, printCollisionOutput(), recoilFragments, selectPairToTune(), setRemainingExitationEnergy(), and verboseLevel.

Referenced by G4InuclCollider::collide(), and G4IntraNucleiCascader::finishCascade().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4CollisionOutput::setRemainingExitationEnergy ( )

Definition at line 633 of file G4CollisionOutput.cc.

References eex_rest, GeV, numberOfFragments(), numberOfOutgoingNuclei(), outgoingNuclei, and recoilFragments.

Referenced by setOnShell().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4CollisionOutput::setVerboseLevel ( G4int  verbose)
inline

Definition at line 71 of file G4CollisionOutput.hh.

References verboseLevel.

Referenced by G4PreCompoundDeexcitation::deExcite(), G4IntraNucleiCascader::finishCascade(), G4InuclCollider::setVerboseLevel(), and G4CascadeInterface::SetVerboseLevel().

+ Here is the caller graph for this function:

void G4CollisionOutput::trivialise ( G4InuclParticle bullet,
G4InuclParticle target 
)

Definition at line 377 of file G4CollisionOutput.cc.

References G4cout, G4endl, outgoingNuclei, outgoingParticles, reset(), and verboseLevel.

Referenced by G4InuclCollider::collide(), and G4IntraNucleiCascader::finalize().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

G4double G4CollisionOutput::eex_rest
private
const G4Fragment G4CollisionOutput::emptyFragment
staticprivate

Definition at line 181 of file G4CollisionOutput.hh.

Referenced by getRecoilFragment().

G4bool G4CollisionOutput::on_shell
private

Definition at line 187 of file G4CollisionOutput.hh.

Referenced by add(), operator=(), reset(), and setOnShell().


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