Geant4  10.01.p03
G4AllITFinder 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 <G4AllITFinder.hh>

+ Collaboration diagram for G4AllITFinder:

Public Member Functions

 ~G4AllITFinder ()
 To delete the Instance you should use DeleteInstance() rather than the destructor. More...
 
G4VITFinderGetInstance (G4ITType)
 
G4ITBoxGetBox (const G4Track *)
 
void RegisterManager (G4VITFinder *manager)
 
void Push (G4Track *track)
 
void SetVerboseLevel (G4int level)
 Set General verbose for all IT Manager See ITManager builder. More...
 
G4int GetVerboseLevel ()
 
void UpdatePositionMap ()
 
template<typename T >
G4KDTreeResultHandle FindNearest (const G4ThreeVector &pos, const T *it)
 
template<typename T >
G4KDTreeResultHandle FindNearest (const T *it0, const T *it)
 
template<typename T >
G4KDTreeResultHandle FindNearestInRange (const G4ThreeVector &pos, const T *it, G4double range)
 
template<typename T >
G4KDTreeResultHandle FindNearestInRange (const T *it0, const T *it, G4double range)
 

Static Public Member Functions

static G4AllITFinderInstance ()
 
static void DeleteInstance ()
 

Private Member Functions

 G4AllITFinder ()
 

Private Attributes

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

Static Private Attributes

static G4ThreadLocal
G4AllITFinder
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 71 of file G4AllITFinder.hh.

Constructor & Destructor Documentation

G4AllITFinder::~G4AllITFinder ( )

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

Definition at line 62 of file G4AllITFinder.cc.

G4AllITFinder::G4AllITFinder ( )
private

Definition at line 42 of file G4AllITFinder.cc.

Member Function Documentation

void G4AllITFinder::DeleteInstance ( )
static

Definition at line 53 of file G4AllITFinder.cc.

Referenced by G4Scheduler::ClearList().

+ Here is the caller graph for this function:

template<typename T >
G4KDTreeResultHandle G4AllITFinder::FindNearest ( const G4ThreeVector pos,
const T *  it 
)
inline

Definition at line 127 of file G4AllITFinder.hh.

References G4ITFinder< T >::FindNearest(), and G4ITFinder< T >::Instance().

+ Here is the call graph for this function:

template<typename T >
G4KDTreeResultHandle G4AllITFinder::FindNearest ( const T *  it0,
const T *  it 
)
inline

Definition at line 134 of file G4AllITFinder.hh.

References G4ITFinder< T >::FindNearest(), and G4ITFinder< T >::Instance().

+ Here is the call graph for this function:

template<typename T >
G4KDTreeResultHandle G4AllITFinder::FindNearestInRange ( const G4ThreeVector pos,
const T *  it,
G4double  range 
)
inline

Definition at line 141 of file G4AllITFinder.hh.

References G4ITFinder< T >::FindNearestInRange(), and G4ITFinder< T >::Instance().

+ Here is the call graph for this function:

template<typename T >
G4KDTreeResultHandle G4AllITFinder::FindNearestInRange ( const T *  it0,
const T *  it,
G4double  range 
)
inline

Definition at line 149 of file G4AllITFinder.hh.

References G4ITFinder< T >::FindNearestInRange(), and G4ITFinder< T >::Instance().

+ Here is the call graph for this function:

G4ITBox* G4AllITFinder::GetBox ( const G4Track )
G4VITFinder * G4AllITFinder::GetInstance ( G4ITType  type)

Definition at line 87 of file G4AllITFinder.cc.

G4int G4AllITFinder::GetVerboseLevel ( )
inline

Definition at line 97 of file G4AllITFinder.hh.

References fVerbose.

G4AllITFinder * G4AllITFinder::Instance ( void  )
static

Definition at line 47 of file G4AllITFinder.cc.

void G4AllITFinder::Push ( G4Track track)

Definition at line 101 of file G4AllITFinder.cc.

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

+ Here is the call graph for this function:

void G4AllITFinder::RegisterManager ( G4VITFinder manager)

Definition at line 96 of file G4AllITFinder.cc.

References G4VITFinder::GetITType().

+ Here is the call graph for this function:

void G4AllITFinder::SetVerboseLevel ( G4int  level)
inline

Set General verbose for all IT Manager See ITManager builder.

Definition at line 93 of file G4AllITFinder.hh.

References fVerbose.

void G4AllITFinder::UpdatePositionMap ( )

Definition at line 77 of file G4AllITFinder.cc.

Member Data Documentation

std::map<G4ITType, G4VITFinder*> G4AllITFinder::fITSubManager
private

Definition at line 121 of file G4AllITFinder.hh.

G4ThreadLocal G4AllITFinder * G4AllITFinder::fpInstance = 0
staticprivate

Definition at line 120 of file G4AllITFinder.hh.

int G4AllITFinder::fVerbose
private

Definition at line 123 of file G4AllITFinder.hh.

Referenced by GetVerboseLevel(), and SetVerboseLevel().


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