Geant4
10.03
|
#include <G4SmartTrackStack.hh>
Public Member Functions | |
G4SmartTrackStack () | |
~G4SmartTrackStack () | |
void | PushToStack (const G4StackedTrack &aStackedTrack) |
G4StackedTrack | PopFromStack () |
void | clear () |
void | clearAndDestroy () |
void | TransferTo (G4TrackStack *aStack) |
G4double | getEnergyOfStack (G4TrackStack *aTrackStack) |
void | dumpStatistics () |
G4int | GetNTrack () const |
G4int | GetMaxNTrack () const |
Private Member Functions | |
const G4SmartTrackStack & | operator= (const G4SmartTrackStack &right) |
G4int | operator== (const G4SmartTrackStack &right) const |
G4int | operator!= (const G4SmartTrackStack &right) const |
G4int | n_stackedTrack () const |
Private Attributes | |
G4int | fTurn |
G4int | nTurn |
G4double | energies [5] |
G4TrackStack * | stacks [5] |
G4int | maxNTracks |
G4int | nTracks |
Definition at line 46 of file G4SmartTrackStack.hh.
G4SmartTrackStack::G4SmartTrackStack | ( | ) |
Definition at line 45 of file G4SmartTrackStack.cc.
G4SmartTrackStack::~G4SmartTrackStack | ( | ) |
Definition at line 55 of file G4SmartTrackStack.cc.
void G4SmartTrackStack::clear | ( | void | ) |
void G4SmartTrackStack::clearAndDestroy | ( | ) |
Definition at line 152 of file G4SmartTrackStack.cc.
References G4TrackStack::clearAndDestroy(), energies, fTurn, nTracks, nTurn, and stacks.
void G4SmartTrackStack::dumpStatistics | ( | ) |
Definition at line 34 of file G4SmartTrackStack.cc.
References G4cerr, G4endl, G4TrackStack::GetNTrack(), G4TrackStack::getTotalEnergy(), nTurn, and stacks.
G4double G4SmartTrackStack::getEnergyOfStack | ( | G4TrackStack * | aTrackStack | ) |
|
inline |
Definition at line 82 of file G4SmartTrackStack.hh.
References maxNTracks.
|
inline |
Definition at line 81 of file G4SmartTrackStack.hh.
References nTracks.
Referenced by PopFromStack(), and PushToStack().
|
inlineprivate |
Definition at line 85 of file G4SmartTrackStack.hh.
References G4TrackStack::GetNTrack().
|
private |
Definition at line 71 of file G4SmartTrackStack.cc.
|
private |
Definition at line 63 of file G4SmartTrackStack.cc.
|
private |
Definition at line 67 of file G4SmartTrackStack.cc.
G4StackedTrack G4SmartTrackStack::PopFromStack | ( | ) |
Definition at line 83 of file G4SmartTrackStack.cc.
References energies, fTurn, G4Track::GetDynamicParticle(), GetNTrack(), G4DynamicParticle::GetTotalEnergy(), G4StackedTrack::GetTrack(), nTracks, nTurn, G4TrackStack::PopFromStack(), and stacks.
void G4SmartTrackStack::PushToStack | ( | const G4StackedTrack & | aStackedTrack | ) |
Definition at line 108 of file G4SmartTrackStack.cc.
References electronCode, energies, fTurn, gammaCode, G4Track::GetDynamicParticle(), G4TrackStack::GetNTrack(), GetNTrack(), G4Track::GetParentID(), G4DynamicParticle::GetPDGcode(), G4TrackStack::GetSafetyValve1(), G4TrackStack::GetSafetyValve2(), G4DynamicParticle::GetTotalEnergy(), G4StackedTrack::GetTrack(), maxNTracks, neutronCode, nTracks, positronCode, G4TrackStack::PushToStack(), and stacks.
Referenced by G4TrackStack::TransferTo().
void G4SmartTrackStack::TransferTo | ( | G4TrackStack * | aStack | ) |
Definition at line 75 of file G4SmartTrackStack.cc.
References nTracks, nTurn, stacks, and G4TrackStack::TransferTo().
|
private |
Definition at line 70 of file G4SmartTrackStack.hh.
Referenced by clear(), clearAndDestroy(), G4SmartTrackStack(), PopFromStack(), and PushToStack().
|
private |
Definition at line 68 of file G4SmartTrackStack.hh.
Referenced by clear(), clearAndDestroy(), PopFromStack(), and PushToStack().
|
private |
Definition at line 77 of file G4SmartTrackStack.hh.
Referenced by GetMaxNTrack(), and PushToStack().
|
private |
Definition at line 78 of file G4SmartTrackStack.hh.
Referenced by clear(), clearAndDestroy(), GetNTrack(), PopFromStack(), PushToStack(), and TransferTo().
|
private |
Definition at line 69 of file G4SmartTrackStack.hh.
Referenced by clear(), clearAndDestroy(), dumpStatistics(), G4SmartTrackStack(), PopFromStack(), TransferTo(), and ~G4SmartTrackStack().
|
private |
Definition at line 71 of file G4SmartTrackStack.hh.
Referenced by clear(), clearAndDestroy(), dumpStatistics(), G4SmartTrackStack(), PopFromStack(), PushToStack(), TransferTo(), and ~G4SmartTrackStack().