#include <G4TrackStack.hh>
Definition at line 49 of file G4TrackStack.hh.
G4TrackStack::G4TrackStack |
( |
| ) |
|
|
inline |
Definition at line 52 of file G4TrackStack.hh.
52 : safetyValve1(0), safetyValve2(0), nstick(0) {}
G4TrackStack::G4TrackStack |
( |
size_t |
n | ) |
|
|
inline |
Definition at line 53 of file G4TrackStack.hh.
53 : safetyValve1(4*
n/5), safetyValve2(4*
n/5-100), nstick(100) { reserve(
n);}
G4TrackStack::~G4TrackStack |
( |
| ) |
|
void G4TrackStack::clearAndDestroy |
( |
| ) |
|
Definition at line 40 of file G4TrackStack.cc.
42 for( iterator i = begin(); i != end(); i++ ) {
43 delete (*i).GetTrack();
44 delete (*i).GetTrajectory();
G4int G4TrackStack::GetMaxNTrack |
( |
| ) |
const |
|
inline |
G4int G4TrackStack::GetNStick |
( |
| ) |
const |
|
inline |
G4int G4TrackStack::GetNTrack |
( |
| ) |
const |
|
inline |
G4int G4TrackStack::GetSafetyValve1 |
( |
| ) |
const |
|
inline |
G4int G4TrackStack::GetSafetyValve2 |
( |
| ) |
const |
|
inline |
Definition at line 61 of file G4TrackStack.cc.
64 for (const_iterator i = begin(); i != end(); i++) {
65 totalEnergy += (*i).GetTrack()->GetDynamicParticle()->GetTotalEnergy();
void G4TrackStack::SetSafetyValve2 |
( |
int |
x | ) |
|
|
inline |
Definition at line 49 of file G4TrackStack.cc.
50 for(iterator i = begin(); i != end(); i++) aStack->push_back(*i);
Definition at line 55 of file G4TrackStack.cc.
void PushToStack(const G4StackedTrack &aStackedTrack)
G4StackedTrack PopFromStack()
The documentation for this class was generated from the following files: