Geant4  10.00.p02
G4ITManager< T > Class Template Reference

G4ITManager is able to save into different boxes the ITs that will be used in the simulation. More...

#include <G4AllITManager.hh>

+ Inheritance diagram for G4ITManager< T >:
+ Collaboration diagram for G4ITManager< T >:

Public Member Functions

virtual ~G4ITManager ()
 
virtual void Push (G4Track *)
 
G4int NbElements (const G4IT *)
 
void EraseABox (T *)
 
void EraseABox (G4ITBox *)
 
void SetVerboseLevel (G4int level)
 
G4int GetVerboseLevel ()
 
virtual void UpdatePositionMap ()
 
G4KDTreeResultHandle FindNearestInRange (const T *, const T *, G4double)
 
G4KDTreeResultHandle FindNearest (const G4ThreeVector &, const T *it)
 
G4KDTreeResultHandle FindNearest (const T *it0, const T *it)
 
G4KDTreeResultHandle FindNearestInRange (const G4ThreeVector &, const T *, G4double)
 
G4ITBoxGetBox (const T *IT)
 
virtual G4ITBoxGetBox (const G4IT *IT)
 
virtual G4ITBoxGetFirstBox ()
 
virtual G4ITBoxGetNextBox (G4ITBox *box)
 
virtual G4ITBoxGetLastBox ()
 
- Public Member Functions inherited from G4VITManager
 G4VITManager ()
 
virtual ~G4VITManager ()
 
void SetVerboseLevel (G4int level)
 
G4int GetVerboseLevel ()
 
virtual void CreateTree ()
 
G4ITType GetITType ()
 
G4ITBoxGetBox (const G4Track *track)
 

Static Public Member Functions

static G4ITManager< T > * Instance ()
 
static void iUpdatePositionMap ()
 

Private Types

typedef std::map< T, G4ITBox * > BoxMap
 
typedef std::map< T, G4KDTree * > TreeMap
 

Private Member Functions

 G4ITManager ()
 

Private Attributes

BoxMap fBox
 
TreeMap fTree
 
TreeMap fPrevious_tree
 

Static Private Attributes

static G4ThreadLocal
G4ITManager< T > * 
fInstance
 

Additional Inherited Members

- Protected Attributes inherited from G4VITManager
G4ITType fType
 
G4int fVerbose
 

Detailed Description

template<typename T>
class G4ITManager< T >

G4ITManager is able to save into different boxes the ITs that will be used in the simulation.

It is a stack-like. Those boxes are used to fill a tree which helps finding the closest neighboor.

Definition at line 52 of file G4AllITManager.hh.

Member Typedef Documentation

template<typename T>
typedef std::map<T,G4ITBox* > G4ITManager< T >::BoxMap
private

Definition at line 156 of file G4ITManager.hh.

template<typename T>
typedef std::map<T, G4KDTree* > G4ITManager< T >::TreeMap
private

Definition at line 159 of file G4ITManager.hh.

Constructor & Destructor Documentation

template<typename T>
G4ITManager< T >::G4ITManager ( )
private
template<typename T>
virtual G4ITManager< T >::~G4ITManager ( )
virtual

Member Function Documentation

template<typename T>
void G4ITManager< T >::EraseABox ( T *  )
template<typename T>
void G4ITManager< T >::EraseABox ( G4ITBox )
template<typename T>
G4KDTreeResultHandle G4ITManager< T >::FindNearest ( const G4ThreeVector ,
const T *  it 
)
template<typename T>
G4KDTreeResultHandle G4ITManager< T >::FindNearest ( const T *  it0,
const T *  it 
)
template<typename T>
G4KDTreeResultHandle G4ITManager< T >::FindNearestInRange ( const T *  ,
const T *  ,
G4double   
)
template<typename T>
G4KDTreeResultHandle G4ITManager< T >::FindNearestInRange ( const G4ThreeVector ,
const T *  ,
G4double   
)
template<typename T>
G4ITBox* G4ITManager< T >::GetBox ( const T *  IT)
inline

Definition at line 191 of file G4ITManager.hh.

Referenced by G4ITManager< T >::GetBox().

+ Here is the caller graph for this function:

template<typename T>
virtual G4ITBox* G4ITManager< T >::GetBox ( const G4IT IT)
inlinevirtual

Implements G4VITManager.

Definition at line 198 of file G4ITManager.hh.

References FatalErrorInArgument, G4Exception(), G4ITManager< T >::GetBox(), and IT.

+ Here is the call graph for this function:

template<typename T>
virtual G4ITBox* G4ITManager< T >::GetFirstBox ( )
inlinevirtual

Implements G4VITManager.

Definition at line 213 of file G4ITManager.hh.

template<typename T>
virtual G4ITBox* G4ITManager< T >::GetLastBox ( )
inlinevirtual

Implements G4VITManager.

Definition at line 232 of file G4ITManager.hh.

template<typename T>
virtual G4ITBox* G4ITManager< T >::GetNextBox ( G4ITBox box)
inlinevirtual

Implements G4VITManager.

Definition at line 223 of file G4ITManager.hh.

References G4ITBox::GetNextBox().

+ Here is the call graph for this function:

template<typename T>
G4int G4ITManager< T >::GetVerboseLevel ( )
inline

Definition at line 178 of file G4ITManager.hh.

References G4VITManager::fVerbose.

template<typename T>
static void G4ITManager< T >::iUpdatePositionMap ( )
static
template<typename T>
G4int G4ITManager< T >::NbElements ( const G4IT )
template<typename T>
virtual void G4ITManager< T >::Push ( G4Track )
virtual

Implements G4VITManager.

template<typename T>
void G4ITManager< T >::SetVerboseLevel ( G4int  level)
inline

Definition at line 174 of file G4ITManager.hh.

References G4VITManager::fVerbose.

template<typename T>
virtual void G4ITManager< T >::UpdatePositionMap ( )
virtual

Implements G4VITManager.

Member Data Documentation

template<typename T>
BoxMap G4ITManager< T >::fBox
private

Definition at line 157 of file G4ITManager.hh.

template<typename T>
G4ThreadLocal G4ITManager<T>* G4ITManager< T >::fInstance
staticprivate

Definition at line 153 of file G4ITManager.hh.

template<typename T>
TreeMap G4ITManager< T >::fPrevious_tree
private

Definition at line 161 of file G4ITManager.hh.

template<typename T>
TreeMap G4ITManager< T >::fTree
private

Definition at line 160 of file G4ITManager.hh.


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