Geant4  10.01
G4ITFinder< T > Class Template Reference

Localize the nearest neighbor For now, G4KDTree is used. More...

#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, const T *key, G4double)
 
G4KDTreeResultHandle FindNearest (const G4ThreeVector &, const T *)
 
G4KDTreeResultHandle FindNearest (const T *, const T *)
 
G4KDTreeResultHandle FindNearestInRange (const G4ThreeVector &, const T *, G4double)
 
- 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

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

Definition at line 83 of file G4ITFinder.hh.

Constructor & Destructor Documentation

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

Member Function Documentation

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

Implements G4VITFinder.

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

Referenced by G4AllITFinder::FindNearest().

+ Here is the caller graph for this function:

template<class T >
G4KDTreeResultHandle G4ITFinder< T >::FindNearest ( const T *  ,
const T *   
)
template<class T >
G4KDTreeResultHandle G4ITFinder< T >::FindNearestInRange ( const T *  point,
const T *  key,
G4double   
)

Referenced by G4AllITFinder::FindNearestInRange().

+ Here is the caller graph for this function:

template<class T >
G4KDTreeResultHandle G4ITFinder< T >::FindNearestInRange ( const G4ThreeVector ,
const T *  ,
G4double   
)
template<class T >
virtual G4ITType G4ITFinder< T >::GetITType ( )
inlinevirtual

Implements G4VITFinder.

Definition at line 105 of file G4ITFinder.hh.

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

Implements G4VITFinder.

Definition at line 98 of file G4ITFinder.hh.

References G4ITFinder< T >::fVerbose.

template<class T >
static G4ITFinder* G4ITFinder< T >::Instance ( )
static

Referenced by G4DNAMoleculeEncounterStepper::CalculateStep(), G4AllITFinder::FindNearest(), G4AllITFinder::FindNearestInRange(), G4DNAMolecularReaction::MakeReaction(), and G4DNAMoleculeEncounterStepper::Prepare().

+ Here is the caller graph for this function:

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

Implements G4VITFinder.

Referenced by G4DNAMolecularReaction::MakeReaction().

+ Here is the caller graph for this function:

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

Implements G4VITFinder.

Definition at line 93 of file G4ITFinder.hh.

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

Implements G4VITFinder.

Referenced by G4DNAMoleculeEncounterStepper::Prepare().

+ Here is the caller graph for this function:

Member Data Documentation

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

Definition at line 80 of file G4ITFinder.hh.

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

Definition at line 84 of file G4ITFinder.hh.

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

Definition at line 86 of file G4ITFinder.hh.

Referenced by G4ITFinder< T >::GetVerboseLevel().


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