Geant4
10.01.p01
|
#include <G4CascadeHistory.hh>
Classes | |
struct | HistoryEntry |
Public Member Functions | |
G4CascadeHistory (G4int verbose=0) | |
~G4CascadeHistory () | |
void | setVerboseLevel (G4int verbose=0) |
void | Clear () |
G4int | AddEntry (G4CascadParticle &cpart) |
G4int | AddVertex (G4CascadParticle &cpart, std::vector< G4CascadParticle > &daug) |
void | DropEntry (const G4CascadParticle &cpart) |
void | Print (std::ostream &os) const |
Protected Member Functions | |
void | AssignHistoryID (G4CascadParticle &cpart) |
void | FillDaughters (G4int iEntry, std::vector< G4CascadParticle > &daug) |
void | PrintEntry (std::ostream &os, G4int iEntry) const |
void | PrintParticle (std::ostream &os, const G4CascadParticle &cpart) const |
G4bool | PrintingDone (G4int iEntry) const |
const char * | GuessTarget (const HistoryEntry &entry) const |
G4int | size () const |
Private Member Functions | |
G4CascadeHistory (const G4CascadeHistory &rhs) | |
G4CascadeHistory & | operator= (const G4CascadeHistory &rhs) |
Private Attributes | |
G4int | verboseLevel |
std::vector< HistoryEntry > | theHistory |
std::set< G4int > | entryPrinted |
Definition at line 41 of file G4CascadeHistory.hh.
|
inline |
Definition at line 43 of file G4CascadeHistory.hh.
|
inline |
Definition at line 44 of file G4CascadeHistory.hh.
|
private |
G4int G4CascadeHistory::AddEntry | ( | G4CascadParticle & | cpart | ) |
Definition at line 106 of file G4CascadeHistory.cc.
References AssignHistoryID(), G4cout, G4endl, G4CascadParticle::getHistoryId(), size(), theHistory, and verboseLevel.
Referenced by AddVertex(), FillDaughters(), and G4IntraNucleiCascader::generateCascade().
G4int G4CascadeHistory::AddVertex | ( | G4CascadParticle & | cpart, |
std::vector< G4CascadParticle > & | daug | ||
) |
Definition at line 59 of file G4CascadeHistory.cc.
References AddEntry(), FillDaughters(), G4cout, G4endl, theHistory, and verboseLevel.
Referenced by G4IntraNucleiCascader::generateCascade().
|
protected |
Definition at line 137 of file G4CascadeHistory.cc.
References G4cout, G4endl, G4CascadParticle::getHistoryId(), G4CascadParticle::setHistoryId(), size(), and verboseLevel.
Referenced by AddEntry().
void G4CascadeHistory::Clear | ( | ) |
Definition at line 50 of file G4CascadeHistory.cc.
References entryPrinted, G4cout, G4endl, theHistory, and verboseLevel.
Referenced by G4IntraNucleiCascader::newCascade().
void G4CascadeHistory::DropEntry | ( | const G4CascadParticle & | cpart | ) |
Definition at line 127 of file G4CascadeHistory.cc.
References G4cout, G4endl, G4CascadParticle::getHistoryId(), theHistory, and verboseLevel.
Referenced by G4IntraNucleiCascader::processTrappedParticle().
|
protected |
Definition at line 80 of file G4CascadeHistory.cc.
References AddEntry(), G4cout, G4endl, theHistory, and verboseLevel.
Referenced by AddVertex().
|
protected |
Definition at line 205 of file G4CascadeHistory.cc.
References G4InuclElementaryParticle::baryon(), G4CascadeHistory::HistoryEntry::cpart, G4CascadeHistory::HistoryEntry::dId, G4cout, G4endl, G4InuclParticle::getCharge(), G4CascadParticle::getParticle(), G4CascadeHistory::HistoryEntry::n, theHistory, and verboseLevel.
Referenced by PrintEntry().
|
private |
void G4CascadeHistory::Print | ( | std::ostream & | os | ) | const |
Definition at line 156 of file G4CascadeHistory.cc.
References PrintEntry(), PrintingDone(), size(), and verboseLevel.
Referenced by G4IntraNucleiCascader::collide(), operator<<(), and G4IntraNucleiCascader::rescatter().
|
protected |
Definition at line 169 of file G4CascadeHistory.cc.
References G4CascadeHistory::HistoryEntry::cpart, G4CascadeHistory::HistoryEntry::dId, entryPrinted, G4CascadParticle::getCurrentZone(), G4InuclParticle::getDefinition(), G4CascadParticle::getGeneration(), G4CascadParticle::getMomentum(), G4CascadParticle::getParticle(), G4ParticleDefinition::GetParticleName(), G4CascadParticle::getPosition(), GuessTarget(), left, G4CascadeHistory::HistoryEntry::n, PrintingDone(), size(), and theHistory.
Referenced by Print().
Definition at line 83 of file G4CascadeHistory.hh.
References entryPrinted.
Referenced by Print(), and PrintEntry().
|
protected |
|
inline |
Definition at line 46 of file G4CascadeHistory.hh.
References verboseLevel.
Referenced by G4IntraNucleiCascader::setVerboseLevel().
|
inlineprotected |
Definition at line 90 of file G4CascadeHistory.hh.
References theHistory.
Referenced by AddEntry(), AssignHistoryID(), Print(), and PrintEntry().
|
mutableprivate |
Definition at line 96 of file G4CascadeHistory.hh.
Referenced by Clear(), PrintEntry(), and PrintingDone().
|
private |
Definition at line 95 of file G4CascadeHistory.hh.
Referenced by AddEntry(), AddVertex(), Clear(), DropEntry(), FillDaughters(), GuessTarget(), PrintEntry(), and size().
|
private |
Definition at line 93 of file G4CascadeHistory.hh.
Referenced by AddEntry(), AddVertex(), AssignHistoryID(), Clear(), DropEntry(), FillDaughters(), GuessTarget(), Print(), and setVerboseLevel().