Geant4  10.00.p02
G4AllITManager Class Reference

Holds all IT Manager, and take care of deleting them when AllITManager is deleted Set general verbose for all IT Manager. More...

#include <G4AllITManager.hh>

+ Collaboration diagram for G4AllITManager:

Public Member Functions

 ~G4AllITManager ()
 To delete the Instance you should use DeleteInstance() rather than the destructor. More...
 
template<typename T >
G4ITManager< T > * Instance ()
 
G4VITManagerGetInstance (G4ITType)
 
G4ITBoxGetBox (const G4Track *)
 
void RegisterManager (G4VITManager *manager)
 
void Push (G4Track *track)
 
void SetVerboseLevel (G4int level)
 Set General verbose for all IT Manager See ITManager builder. More...
 
G4int GetVerboseLevel ()
 
void UpdatePositionMap ()
 
void CreateTree ()
 
template<typename T >
std::vector< std::pair< G4IT
*, double > > * 
FindNearest (const G4ThreeVector &pos, const T *it)
 
template<typename T >
std::vector< std::pair< G4IT
*, double > > * 
FindNearest (const T *it0, const T *it)
 
template<typename T >
std::vector< std::pair< G4IT
*, double > > * 
FindNearestInRange (const G4ThreeVector &pos, const T *it, G4double range)
 
template<typename T >
std::vector< std::pair< G4IT
*, double > > * 
FindNearestInRange (const T *it0, const T *it, G4double range)
 

Static Public Member Functions

static G4AllITManagerInstance ()
 
static void DeleteInstance ()
 

Private Member Functions

 G4AllITManager ()
 

Private Attributes

std::map< G4ITType,
G4VITManager * > 
fITSubManager
 
int fVerbose
 

Static Private Attributes

static G4ThreadLocal
G4AllITManager
fpInstance = 0
 

Detailed Description

Holds all IT Manager, and take care of deleting them when AllITManager is deleted Set general verbose for all IT Manager.

Definition at line 60 of file G4AllITManager.hh.

Constructor & Destructor Documentation

G4AllITManager::~G4AllITManager ( )

To delete the Instance you should use DeleteInstance() rather than the destructor.

Definition at line 58 of file G4AllITManager.cc.

G4AllITManager::G4AllITManager ( )
private

Definition at line 42 of file G4AllITManager.cc.

Member Function Documentation

void G4AllITManager::CreateTree ( )

Definition at line 83 of file G4AllITManager.cc.

void G4AllITManager::DeleteInstance ( )
static

Definition at line 53 of file G4AllITManager.cc.

template<typename T >
std::vector< std::pair< G4IT *, double > > * G4AllITManager::FindNearest ( const G4ThreeVector pos,
const T *  it 
)
inline

Definition at line 111 of file G4AllITManager.hh.

References G4ITManager< T >::Instance().

+ Here is the call graph for this function:

template<typename T >
std::vector< std::pair< G4IT *, double > > * G4AllITManager::FindNearest ( const T *  it0,
const T *  it 
)
inline

Definition at line 117 of file G4AllITManager.hh.

References G4ITManager< T >::Instance().

+ Here is the call graph for this function:

template<typename T >
std::vector< std::pair< G4IT *, double > > * G4AllITManager::FindNearestInRange ( const G4ThreeVector pos,
const T *  it,
G4double  range 
)
inline

Definition at line 123 of file G4AllITManager.hh.

References G4ITManager< T >::Instance().

+ Here is the call graph for this function:

template<typename T >
std::vector< std::pair< G4IT *, double > > * G4AllITManager::FindNearestInRange ( const T *  it0,
const T *  it,
G4double  range 
)
inline

Definition at line 129 of file G4AllITManager.hh.

References G4ITManager< T >::Instance().

+ Here is the call graph for this function:

G4ITBox * G4AllITManager::GetBox ( const G4Track track)

Definition at line 112 of file G4AllITManager.cc.

References GetIT().

+ Here is the call graph for this function:

G4VITManager * G4AllITManager::GetInstance ( G4ITType  type)

Definition at line 98 of file G4AllITManager.cc.

Referenced by G4VITManager::allbox_iterator::allbox_iterator().

+ Here is the caller graph for this function:

G4int G4AllITManager::GetVerboseLevel ( )
inline

Definition at line 88 of file G4AllITManager.hh.

References fVerbose.

G4AllITManager * G4AllITManager::Instance ( void  )
static

Definition at line 47 of file G4AllITManager.cc.

Referenced by G4VITManager::allbox_iterator::allbox_iterator().

+ Here is the caller graph for this function:

template<typename T >
G4ITManager< T > * G4AllITManager::Instance ( void  )

Definition at line 93 of file G4AllITManager.cc.

References G4ITManager< T >::Instance().

+ Here is the call graph for this function:

void G4AllITManager::Push ( G4Track track)

Definition at line 121 of file G4AllITManager.cc.

References GetIT(), and G4IT::GetITType().

+ Here is the call graph for this function:

void G4AllITManager::RegisterManager ( G4VITManager manager)

Definition at line 107 of file G4AllITManager.cc.

References G4VITManager::GetITType().

+ Here is the call graph for this function:

void G4AllITManager::SetVerboseLevel ( G4int  level)
inline

Set General verbose for all IT Manager See ITManager builder.

Definition at line 84 of file G4AllITManager.hh.

References fVerbose.

void G4AllITManager::UpdatePositionMap ( )

Definition at line 73 of file G4AllITManager.cc.

Member Data Documentation

std::map<G4ITType, G4VITManager*> G4AllITManager::fITSubManager
private

Definition at line 105 of file G4AllITManager.hh.

G4ThreadLocal G4AllITManager * G4AllITManager::fpInstance = 0
staticprivate

Definition at line 104 of file G4AllITManager.hh.

int G4AllITManager::fVerbose
private

Definition at line 107 of file G4AllITManager.hh.

Referenced by GetVerboseLevel(), and SetVerboseLevel().


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