Geant4 11.1.1
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

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

Static Public Member Functions

static G4ITFinderInstance ()
 

Additional Inherited Members

- Protected Attributes inherited from G4VITFinder
G4int fVerbose = 0
 

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 >
G4ITFinder< T >::~G4ITFinder ( )
override

Member Function Documentation

◆ Clear()

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

Implements G4VITFinder.

◆ FindNearest() [1/3]

template<class T >
G4KDTreeResultHandle G4ITFinder< T >::FindNearest ( const G4ThreeVector ,
G4int  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 *  ,
G4int  key 
)

◆ FindNearestInRange() [1/2]

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

◆ FindNearestInRange() [2/2]

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

◆ GetITType()

template<class T >
G4ITType G4ITFinder< T >::GetITType ( )
inlineoverridevirtual

Implements G4VITFinder.

Definition at line 86 of file G4ITFinder.hh.

86{ return T::ITType(); }

◆ GetVerboseLevel()

template<class T >
G4int G4ITFinder< T >::GetVerboseLevel ( )
inline

Definition at line 84 of file G4ITFinder.hh.

84{ return fVerbose; }
G4int fVerbose
Definition: G4ITFinder.hh:68

◆ Instance()

◆ Push()

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

◆ SetVerboseLevel()

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

Definition at line 83 of file G4ITFinder.hh.

83{ fVerbose = level; }

◆ UpdatePositionMap()

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

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