Geant4  10.00.p01
G4TrackStack Class Reference

#include <G4TrackStack.hh>

+ Inheritance diagram for G4TrackStack:
+ Collaboration diagram for G4TrackStack:

Public Member Functions

 G4TrackStack ()
 
 G4TrackStack (size_t n)
 
 ~G4TrackStack ()
 
void PushToStack (const G4StackedTrack &aStackedTrack)
 
G4StackedTrack PopFromStack ()
 
void TransferTo (G4TrackStack *aStack)
 
void TransferTo (G4SmartTrackStack *aStack)
 
void clearAndDestroy ()
 
G4int GetNTrack () const
 
G4int GetMaxNTrack () const
 
G4int GetSafetyValve1 () const
 
G4int GetSafetyValve2 () const
 
G4int GetNStick () const
 
G4double getTotalEnergy (void) const
 
void SetSafetyValve2 (int x)
 

Private Member Functions

const G4TrackStackoperator= (const G4TrackStack &right)
 
G4int operator== (const G4TrackStack &right) const
 
G4int operator!= (const G4TrackStack &right) const
 

Private Attributes

G4int safetyValve1
 
G4int safetyValve2
 
G4int nstick
 

Detailed Description

Definition at line 49 of file G4TrackStack.hh.

Constructor & Destructor Documentation

G4TrackStack::G4TrackStack ( )
inline

Definition at line 52 of file G4TrackStack.hh.

G4TrackStack::G4TrackStack ( size_t  n)
inline

Definition at line 53 of file G4TrackStack.hh.

G4TrackStack::~G4TrackStack ( )

Definition at line 35 of file G4TrackStack.cc.

References clearAndDestroy().

+ Here is the call graph for this function:

Member Function Documentation

void G4TrackStack::clearAndDestroy ( )

Definition at line 40 of file G4TrackStack.cc.

Referenced by G4SmartTrackStack::clearAndDestroy(), G4StackManager::ClearPostponeStack(), G4StackManager::ClearUrgentStack(), G4StackManager::ClearWaitingStack(), G4StackManager::PrepareNewEvent(), G4StackManager::TransferStackedTracks(), and ~G4TrackStack().

+ Here is the caller graph for this function:

G4int G4TrackStack::GetMaxNTrack ( ) const
inline

Definition at line 75 of file G4TrackStack.hh.

Referenced by G4StackManager::~G4StackManager().

+ Here is the caller graph for this function:

G4int G4TrackStack::GetNStick ( ) const
inline

Definition at line 78 of file G4TrackStack.hh.

References nstick.

G4int G4TrackStack::GetNTrack ( ) const
inline
G4int G4TrackStack::GetSafetyValve1 ( ) const
inline

Definition at line 76 of file G4TrackStack.hh.

References safetyValve1.

Referenced by G4SmartTrackStack::PushToStack().

+ Here is the caller graph for this function:

G4int G4TrackStack::GetSafetyValve2 ( ) const
inline

Definition at line 77 of file G4TrackStack.hh.

References safetyValve2.

Referenced by G4SmartTrackStack::PushToStack().

+ Here is the caller graph for this function:

G4double G4TrackStack::getTotalEnergy ( void  ) const

Definition at line 61 of file G4TrackStack.cc.

Referenced by G4SmartTrackStack::dumpStatistics().

+ Here is the caller graph for this function:

G4int G4TrackStack::operator!= ( const G4TrackStack right) const
private
const G4TrackStack& G4TrackStack::operator= ( const G4TrackStack right)
private
G4int G4TrackStack::operator== ( const G4TrackStack right) const
private
G4StackedTrack G4TrackStack::PopFromStack ( )
inline

Definition at line 63 of file G4TrackStack.hh.

Referenced by G4SmartTrackStack::PopFromStack(), G4StackManager::PopNextTrack(), G4StackManager::PrepareNewEvent(), G4StackManager::ReClassify(), G4StackManager::TransferOneStackedTrack(), and TransferTo().

+ Here is the caller graph for this function:

void G4TrackStack::PushToStack ( const G4StackedTrack aStackedTrack)
inline

Definition at line 62 of file G4TrackStack.hh.

Referenced by G4StackManager::PrepareNewEvent(), G4StackManager::PushOneTrack(), G4SmartTrackStack::PushToStack(), G4StackManager::ReClassify(), and G4StackManager::TransferOneStackedTrack().

+ Here is the caller graph for this function:

void G4TrackStack::SetSafetyValve2 ( int  x)
inline

Definition at line 81 of file G4TrackStack.hh.

void G4TrackStack::TransferTo ( G4TrackStack aStack)

Definition at line 49 of file G4TrackStack.cc.

Referenced by G4StackManager::PopNextTrack(), G4StackManager::PrepareNewEvent(), G4StackManager::ReClassify(), G4StackManager::TransferStackedTracks(), and G4SmartTrackStack::TransferTo().

+ Here is the caller graph for this function:

void G4TrackStack::TransferTo ( G4SmartTrackStack aStack)

Definition at line 55 of file G4TrackStack.cc.

References PopFromStack(), and G4SmartTrackStack::PushToStack().

+ Here is the call graph for this function:

Member Data Documentation

G4int G4TrackStack::nstick
private

Definition at line 71 of file G4TrackStack.hh.

Referenced by GetNStick().

G4int G4TrackStack::safetyValve1
private

Definition at line 69 of file G4TrackStack.hh.

Referenced by GetSafetyValve1().

G4int G4TrackStack::safetyValve2
private

Definition at line 70 of file G4TrackStack.hh.

Referenced by GetSafetyValve2().


The documentation for this class was generated from the following files: