Geant4  10.02.p03
G4ITFinder< T > Class Template Reference

#include <G4AllITFinder.hh>

Inheritance diagram for G4ITFinder< T >:
Collaboration diagram for G4ITFinder< T >:

Public Member Functions

virtual ~G4ITFinder ()
 
virtual void Clear ()
 
virtual void SetVerboseLevel (G4int level)
 
virtual G4int GetVerboseLevel ()
 
virtual void Push (G4Track *track)
 
virtual G4ITType GetITType ()
 
virtual void UpdatePositionMap ()
 
G4KDTreeResultHandle FindNearestInRange (const T *point, int key, G4double)
 
G4KDTreeResultHandle FindNearest (const G4ThreeVector &, int key)
 
G4KDTreeResultHandle FindNearest (const T *, int key)
 
G4KDTreeResultHandle FindNearestInRange (const G4ThreeVector &, int key, G4double)
 
G4KDTreeResultHandle FindNearest (const T *, const T *)
 
- Public Member Functions inherited from G4VITFinder
 G4VITFinder ()
 
virtual ~G4VITFinder ()
 

Static Public Member Functions

static G4ITFinderInstance ()
 
static void iUpdatePositionMap ()
 

Private Types

typedef std::map< int, G4KDTree * > TreeMap
 

Private Member Functions

 G4ITFinder ()
 

Private Attributes

TreeMap fTree
 
int fVerbose
 

Static Private Attributes

static G4ThreadLocal G4ITFinderfInstance
 

Detailed Description

template<class T>
class G4ITFinder< T >

Localize the nearest neighbor For now, G4KDTree is used

Definition at line 63 of file G4AllITFinder.hh.

Member Typedef Documentation

◆ TreeMap

template<class T >
typedef std::map<int, G4KDTree*> G4ITFinder< T >::TreeMap
private

Definition at line 83 of file G4ITFinder.hh.

Constructor & Destructor Documentation

◆ G4ITFinder()

template<class T >
G4ITFinder< T >::G4ITFinder ( )
private

◆ ~G4ITFinder()

template<class T >
virtual G4ITFinder< T >::~G4ITFinder ( )
virtual

Member Function Documentation

◆ Clear()

template<class T >
virtual void G4ITFinder< T >::Clear ( )
virtual

Implements G4VITFinder.

◆ FindNearest() [1/3]

template<class T >
G4KDTreeResultHandle G4ITFinder< T >::FindNearest ( const G4ThreeVector ,
int  key 
)
Here is the caller graph for this function:

◆ FindNearest() [2/3]

template<class T >
G4KDTreeResultHandle G4ITFinder< T >::FindNearest ( const T *  ,
int  key 
)

◆ FindNearest() [3/3]

template<class T >
G4KDTreeResultHandle G4ITFinder< T >::FindNearest ( const T *  ,
const T *   
)

◆ FindNearestInRange() [1/2]

template<class T >
G4KDTreeResultHandle G4ITFinder< T >::FindNearestInRange ( const T *  point,
int  key,
G4double   
)
Here is the caller graph for this function:

◆ FindNearestInRange() [2/2]

template<class T >
G4KDTreeResultHandle G4ITFinder< T >::FindNearestInRange ( const G4ThreeVector ,
int  key,
G4double   
)

◆ GetITType()

template<class T >
virtual G4ITType G4ITFinder< T >::GetITType ( )
inlinevirtual

Implements G4VITFinder.

Definition at line 105 of file G4ITFinder.hh.

106  {
107  return T::ITType();
108  }
Here is the call graph for this function:

◆ GetVerboseLevel()

template<class T >
virtual G4int G4ITFinder< T >::GetVerboseLevel ( )
inlinevirtual

Implements G4VITFinder.

Definition at line 98 of file G4ITFinder.hh.

99  {
100  return fVerbose;
101  }
int fVerbose
Definition: G4ITFinder.hh:86
Here is the call graph for this function:

◆ Instance()

template<class T >
static G4ITFinder* G4ITFinder< T >::Instance ( )
static
Here is the caller graph for this function:

◆ iUpdatePositionMap()

template<class T >
static void G4ITFinder< T >::iUpdatePositionMap ( )
static

◆ Push()

template<class T >
virtual void G4ITFinder< T >::Push ( G4Track *  track)
virtual

Implements G4VITFinder.

Here is the caller graph for this function:

◆ SetVerboseLevel()

template<class T >
virtual void G4ITFinder< T >::SetVerboseLevel ( G4int  level)
inlinevirtual

Implements G4VITFinder.

Definition at line 93 of file G4ITFinder.hh.

94  {
95  fVerbose = level;
96  }
int fVerbose
Definition: G4ITFinder.hh:86

◆ UpdatePositionMap()

template<class T >
virtual void G4ITFinder< T >::UpdatePositionMap ( )
virtual

Implements G4VITFinder.

Here is the caller graph for this function:

Member Data Documentation

◆ fInstance

template<class T >
G4ThreadLocal G4ITFinder* G4ITFinder< T >::fInstance
staticprivate

Definition at line 80 of file G4ITFinder.hh.

◆ fTree

template<class T >
TreeMap G4ITFinder< T >::fTree
private

Definition at line 84 of file G4ITFinder.hh.

◆ fVerbose

template<class T >
int G4ITFinder< T >::fVerbose
private

Definition at line 86 of file G4ITFinder.hh.


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