Geant4 9.6.0
Toolkit for the simulation of the passage of particles through matter
|
#include <G4ITBox.hh>
Public Member Functions | |
G4ITBox () | |
~G4ITBox () | |
void | ResetStack () |
void | Push (G4IT *) |
void | Extract (G4IT *) |
G4IT * | FindIT (const G4Track &) |
const G4IT * | FindIT (const G4Track &) const |
void | TransferTo (G4ITBox *) |
G4bool | Empty () const |
G4int | GetNTrack () const |
G4IT * | GetFirstIT () |
G4IT * | GetLastIT () |
const G4IT * | GetFirstIT () const |
const G4IT * | GetLastIT () const |
void | SetNextBox (G4ITBox *box) |
G4ITBox * | GetNextBox () |
void | SetPreviousBox (G4ITBox *box) |
G4ITBox * | GetPreviousBox () |
A G4ITBox contains all IT of the same kind. eg : all °OH It behaves just like a stack.
Definition at line 50 of file G4ITBox.hh.
G4ITBox::G4ITBox | ( | ) |
Definition at line 38 of file G4ITBox.cc.
G4ITBox::~G4ITBox | ( | ) |
Definition at line 41 of file G4ITBox.cc.
|
inline |
Definition at line 95 of file G4ITBox.hh.
void G4ITBox::Extract | ( | G4IT * | aStackedIT | ) |
Definition at line 87 of file G4ITBox.cc.
Referenced by G4IT::TakeOutBox(), and TransferTo().
The FindIT methods are used for check only. Those methods are not effective due to the linear search. It is better to use GetIT(track) in order to retrieve the IT and GetIT(track)->GetBox() in order to check which is the box pointer.
Definition at line 110 of file G4ITBox.cc.
Definition at line 130 of file G4ITBox.cc.
|
inline |
Definition at line 104 of file G4ITBox.hh.
Definition at line 113 of file G4ITBox.hh.
|
inline |
Definition at line 108 of file G4ITBox.hh.
Definition at line 117 of file G4ITBox.hh.
|
inline |
Definition at line 127 of file G4ITBox.hh.
Referenced by G4ITManager< T >::GetNextBox().
|
inline |
Definition at line 100 of file G4ITBox.hh.
|
inline |
Definition at line 137 of file G4ITBox.hh.
void G4ITBox::Push | ( | G4IT * | aIT | ) |
Definition at line 70 of file G4ITBox.cc.
Referenced by TransferTo().
void G4ITBox::ResetStack | ( | ) |
|
inline |
|
inline |
Definition at line 132 of file G4ITBox.hh.
Referenced by ~G4ITBox().
void G4ITBox::TransferTo | ( | G4ITBox * | aStack | ) |