Geant4  10.02
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
 
G4bool tuneSelectedPair (G4LorentzVector &mom1, G4LorentzVector &mom2, G4int mom_index) const
 

Private Attributes

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

Static Private Attributes

static const G4Fragment emptyFragment
 

Detailed Description

Definition at line 67 of file G4CollisionOutput.hh.

Constructor & Destructor Documentation

G4CollisionOutput::G4CollisionOutput ( )

Definition at line 82 of file G4CollisionOutput.cc.

References G4cout, G4endl, and verboseLevel.

Member Function Documentation

G4bool G4CollisionOutput::acceptable ( ) const
inline

Definition at line 174 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 121 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 137 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 86 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 80 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 143 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 132 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 147 of file G4CollisionOutput.cc.

References addOutgoingParticle().

+ Here is the call graph for this function:

void G4CollisionOutput::addOutgoingParticles ( const G4ReactionProductVector rproducts)

Definition at line 154 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 99 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 103 of file G4CollisionOutput.hh.

References recoilFragments.

void G4CollisionOutput::boostToLabFrame ( const G4LorentzConvertor convertor)

Definition at line 319 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 347 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 137 of file G4CollisionOutput.hh.

References outgoingNuclei.

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

+ Here is the caller graph for this function:

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

Definition at line 141 of file G4CollisionOutput.hh.

References outgoingNuclei.

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

Definition at line 131 of file G4CollisionOutput.hh.

References outgoingParticles.

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

Definition at line 113 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 147 of file G4CollisionOutput.hh.

References recoilFragments.

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

Definition at line 151 of file G4CollisionOutput.hh.

References recoilFragments.

double G4CollisionOutput::getRemainingExitationEnergy ( ) const
inline

Definition at line 173 of file G4CollisionOutput.hh.

References eex_rest.

G4int G4CollisionOutput::getTotalBaryonNumber ( ) const

Definition at line 268 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 249 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 230 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 287 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 143 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 135 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 301 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 200 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 213 of file G4CollisionOutput.cc.

References G4InuclParticleNames::nuclei, outgoingNuclei, and pos.

void G4CollisionOutput::removeOutgoingNucleus ( const G4InuclNuclei nuclei)
inline

Definition at line 117 of file G4CollisionOutput.hh.

References removeOutgoingNucleus().

+ Here is the call graph for this function:

void G4CollisionOutput::removeOutgoingParticle ( G4int  index)

Definition at line 195 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 207 of file G4CollisionOutput.cc.

References outgoingParticles, and pos.

void G4CollisionOutput::removeOutgoingParticle ( const G4InuclElementaryParticle particle)
inline

Definition at line 111 of file G4CollisionOutput.hh.

References removeOutgoingParticle().

+ Here is the call graph for this function:

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

Definition at line 221 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 358 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 621 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 403 of file G4CollisionOutput.cc.

References eex_rest, G4cout, G4endl, G4InuclParticle::getMomentum(), getTotalOutputMomentum(), GeV, mom_non_cons, numberOfFragments(), numberOfOutgoingNuclei(), numberOfOutgoingParticles(), on_shell, outgoingNuclei, outgoingParticles, printCollisionOutput(), recoilFragments, selectPairToTune(), setRemainingExitationEnergy(), tuneSelectedPair(), 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 610 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 72 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 378 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:

G4bool G4CollisionOutput::tuneSelectedPair ( G4LorentzVector mom1,
G4LorentzVector mom2,
G4int  mom_index 
) const
private

Definition at line 678 of file G4CollisionOutput.cc.

References G4cout, G4endl, mom_non_cons, Q, verboseLevel, and x.

Referenced by setOnShell().

+ Here is the caller graph for this function:

Member Data Documentation

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

Definition at line 182 of file G4CollisionOutput.hh.

Referenced by getRecoilFragment().

G4LorentzVector G4CollisionOutput::mom_non_cons
private

Definition at line 189 of file G4CollisionOutput.hh.

Referenced by setOnShell(), and tuneSelectedPair().

G4bool G4CollisionOutput::on_shell
private

Definition at line 190 of file G4CollisionOutput.hh.

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


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