34#ifndef G4TrackStack_hh
35#define G4TrackStack_hh 1
49 : safetyValue1(0), safetyValue2(0), nstick(0) {}
51 : safetyValue1(
G4int(4*n/5)),
52 safetyValue2(
G4int(4*n/5-100)), nstick(100) { reserve(n); }
60 { push_back(aStackedTrack); }
68 inline std::size_t
GetNTrack()
const {
return size(); }
void PushToStack(const G4StackedTrack &aStackedTrack)
G4bool operator!=(const G4TrackStack &) const =delete
G4int GetSafetyValue2() const
void TransferTo(G4TrackStack *aStack)
G4double getTotalEnergy(void) const
void SetSafetyValue2(G4int x)
G4bool operator==(const G4TrackStack &) const =delete
G4TrackStack(std::size_t n)
std::size_t GetNTrack() const
G4TrackStack & operator=(const G4TrackStack &)=delete
G4StackedTrack PopFromStack()
G4int GetSafetyValue1() const
std::size_t GetMaxNTrack() const