Geant4 10.7.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4CascadeCoalescence Class Reference

#include <G4CascadeCoalescence.hh>

Public Member Functions

 G4CascadeCoalescence (G4int verbose=0)
 
virtual ~G4CascadeCoalescence ()
 
void FindClusters (G4CollisionOutput &finalState)
 
void setVerboseLevel (G4int verbose)
 

Detailed Description

Definition at line 52 of file G4CascadeCoalescence.hh.

Constructor & Destructor Documentation

◆ G4CascadeCoalescence()

G4CascadeCoalescence::G4CascadeCoalescence ( G4int  verbose = 0)

Definition at line 66 of file G4CascadeCoalescence.cc.

67 : verboseLevel(verbose), thisFinalState(0), thisHadrons(0),
70 dpMaxAlpha(G4CascadeParameters::dpMaxAlpha()) {}
static G4double dpMaxDoublet()
static G4double dpMaxTriplet()
static G4double dpMaxAlpha()

◆ ~G4CascadeCoalescence()

G4CascadeCoalescence::~G4CascadeCoalescence ( )
virtual

Definition at line 72 of file G4CascadeCoalescence.cc.

72{}

Member Function Documentation

◆ FindClusters()

void G4CascadeCoalescence::FindClusters ( G4CollisionOutput finalState)

Definition at line 77 of file G4CascadeCoalescence.cc.

77 {
78 if (verboseLevel)
79 G4cout << " >>> G4CascadeCoalescence::FindClusters()" << G4endl;
80
81 thisFinalState = &finalState; // Save pointers for use in processing
82 thisHadrons = &finalState.getOutgoingParticles();
83
84 if (verboseLevel>1) thisFinalState->printCollisionOutput(); // Before
85
86 selectCandidates();
87 createNuclei();
88 removeNucleons();
89
90 if (verboseLevel>1) thisFinalState->printCollisionOutput(); // After
91}
#define G4endl
Definition: G4ios.hh:57
G4GLOB_DLL std::ostream G4cout
void printCollisionOutput(std::ostream &os=G4cout) const
const std::vector< G4InuclElementaryParticle > & getOutgoingParticles() const

Referenced by G4IntraNucleiCascader::finishCascade().

◆ setVerboseLevel()

void G4CascadeCoalescence::setVerboseLevel ( G4int  verbose)
inline

Definition at line 60 of file G4CascadeCoalescence.hh.

60{ verboseLevel = verbose; }

Referenced by G4IntraNucleiCascader::finishCascade(), and G4IntraNucleiCascader::setVerboseLevel().


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