#include <G4SmartTrackStack.hh>
Definition at line 46 of file G4SmartTrackStack.hh.
G4SmartTrackStack::G4SmartTrackStack |
( |
| ) |
|
Definition at line 45 of file G4SmartTrackStack.cc.
46 :fTurn(0), nTurn(5), maxNTracks(0), nTracks(0)
48 for(
int i=0;i<nTurn;i++)
G4SmartTrackStack::~G4SmartTrackStack |
( |
| ) |
|
void G4SmartTrackStack::clear |
( |
| ) |
|
void G4SmartTrackStack::clearAndDestroy |
( |
| ) |
|
void G4SmartTrackStack::dumpStatistics |
( |
| ) |
|
Definition at line 34 of file G4SmartTrackStack.cc.
38 for (
int i = 0; i < nTurn; i++) {
G4double getTotalEnergy(void) const
G4GLOB_DLL std::ostream G4cerr
G4int G4SmartTrackStack::GetMaxNTrack |
( |
| ) |
const |
|
inline |
G4int G4SmartTrackStack::GetNTrack |
( |
| ) |
const |
|
inline |
Definition at line 83 of file G4SmartTrackStack.cc.
95 fTurn = (fTurn+1) % nTurn;
101 return aStackedTrack;
G4Track * GetTrack() const
G4double GetTotalEnergy() const
const G4DynamicParticle * GetDynamicParticle() const
G4StackedTrack PopFromStack()
Definition at line 108 of file G4SmartTrackStack.cc.
133 if (dy1 > 0 || dy1 > dy2 ||
135 stacks[iDest]->
GetNTrack() < 50 && energies[iDest] < energies[fTurn])) {
139 if (nTracks > maxNTracks) maxNTracks = nTracks;
G4Track * GetTrack() const
G4int GetParentID() const
G4int GetSafetyValve1() const
G4double GetTotalEnergy() const
const G4DynamicParticle * GetDynamicParticle() const
void PushToStack(const G4StackedTrack &aStackedTrack)
G4int GetSafetyValve2() const
Definition at line 75 of file G4SmartTrackStack.cc.
77 for (
int i = 0; i < nTurn; i++) {
void TransferTo(G4TrackStack *aStack)
The documentation for this class was generated from the following files: