Geant4 10.7.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4ITFinder< T > Class Template Reference

#include <G4ITFinder.hh>

+ Inheritance 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 ()
 
virtual void Clear ()=0
 
virtual void SetVerboseLevel (G4int level)=0
 
virtual G4int GetVerboseLevel ()=0
 
virtual void Push (G4Track *track)=0
 
virtual G4ITType GetITType ()=0
 
virtual void UpdatePositionMap ()=0
 

Static Public Member Functions

static G4ITFinderInstance ()
 
static void iUpdatePositionMap ()
 

Detailed Description

template<class T>
class G4ITFinder< T >

Localize the nearest neighbor For now, G4KDTree is used

Definition at line 77 of file G4ITFinder.hh.

Constructor & Destructor Documentation

◆ ~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 
)

◆ FindNearest() [2/3]

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

◆ FindNearest() [3/3]

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

◆ FindNearestInRange() [1/2]

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

◆ FindNearestInRange() [2/2]

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

◆ GetITType()

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

Implements G4VITFinder.

Definition at line 104 of file G4ITFinder.hh.

105 {
106 return T::ITType();
107 }

◆ GetVerboseLevel()

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

Implements G4VITFinder.

Definition at line 97 of file G4ITFinder.hh.

98 {
99 return fVerbose;
100 }

◆ Instance()

◆ iUpdatePositionMap()

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

◆ Push()

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

◆ SetVerboseLevel()

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

Implements G4VITFinder.

Definition at line 92 of file G4ITFinder.hh.

93 {
94 fVerbose = level;
95 }

◆ UpdatePositionMap()

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

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