#include <G4ITManager.hh>
Inheritance 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) |
G4ITBox * | GetBox (const T *IT) |
virtual G4ITBox * | GetBox (const G4IT *IT) |
virtual G4ITBox * | GetFirstBox () |
virtual G4ITBox * | GetNextBox (G4ITBox *box) |
virtual G4ITBox * | GetLastBox () |
Static Public Member Functions | |
static G4ITManager< T > * | Instance () |
static void | iUpdatePositionMap () |
Definition at line 151 of file G4ITManager.hh.
virtual G4ITManager< T >::~G4ITManager | ( | ) | [virtual] |
void G4ITManager< T >::EraseABox | ( | G4ITBox * | ) |
void G4ITManager< T >::EraseABox | ( | T * | ) |
G4KDTreeResultHandle G4ITManager< T >::FindNearest | ( | const T * | it0, | |
const T * | it | |||
) |
G4KDTreeResultHandle G4ITManager< T >::FindNearest | ( | const G4ThreeVector & | , | |
const T * | it | |||
) |
G4KDTreeResultHandle G4ITManager< T >::FindNearestInRange | ( | const G4ThreeVector & | , | |
const T * | , | |||
G4double | ||||
) |
G4KDTreeResultHandle G4ITManager< T >::FindNearestInRange | ( | const T * | , | |
const T * | , | |||
G4double | ||||
) |
virtual G4ITBox* G4ITManager< T >::GetBox | ( | const G4IT * | IT | ) | [inline, virtual] |
Implements G4VITManager.
Definition at line 198 of file G4ITManager.hh.
References FatalErrorInArgument, G4Exception(), G4ITManager< T >::GetBox(), and IT.
00199 { 00200 const T* myIT = dynamic_cast<const T*>(IT); 00201 00202 if(myIT == 0) 00203 { 00204 G4ExceptionDescription exceptionDescription ("You are requested a bad IT"); 00205 G4Exception("G4ITManager::GetBox","ITManager001", 00206 FatalErrorInArgument,exceptionDescription); 00207 return 0; // coverity 00208 } 00209 00210 return GetBox(myIT); 00211 }
G4ITBox* G4ITManager< T >::GetBox | ( | const T * | IT | ) | [inline] |
Definition at line 191 of file G4ITManager.hh.
Referenced by G4ITManager< T >::GetBox().
00192 { 00193 typename BoxMap::const_iterator it = fBox.find(*IT); 00194 if(it == fBox.end()) return 0; 00195 return it->second; 00196 }
virtual G4ITBox* G4ITManager< T >::GetFirstBox | ( | ) | [inline, virtual] |
Implements G4VITManager.
Definition at line 213 of file G4ITManager.hh.
00214 { 00215 typename BoxMap::iterator it = fBox.begin(); 00216 if(it != fBox.end()) 00217 { 00218 return it->second; 00219 } 00220 return 0; 00221 }
virtual G4ITBox* G4ITManager< T >::GetLastBox | ( | ) | [inline, virtual] |
Implements G4VITManager.
Definition at line 232 of file G4ITManager.hh.
00233 { 00234 typename BoxMap::reverse_iterator it = fBox.rbegin(); 00235 if(it != fBox.rend()) 00236 { 00237 return it->second; 00238 } 00239 return 0; 00240 }
virtual G4ITBox* G4ITManager< T >::GetNextBox | ( | G4ITBox * | box | ) | [inline, virtual] |
Implements G4VITManager.
Definition at line 223 of file G4ITManager.hh.
References G4ITBox::GetNextBox().
G4int G4ITManager< T >::GetVerboseLevel | ( | ) | [inline] |
Reimplemented from G4VITManager.
Definition at line 178 of file G4ITManager.hh.
References G4VITManager::fVerbose.
00179 { 00180 return fVerbose; 00181 }
static G4ITManager<T>* G4ITManager< T >::Instance | ( | ) | [static] |
Referenced by G4DNAChemistryManager::CreateSolvatedElectron(), G4DNAMolecularDecay::DecayIt(), G4AllITManager::FindNearest(), G4AllITManager::FindNearestInRange(), G4DNAMolecularReaction::MakeReaction(), G4DNAMoleculeEncounterStepper::Prepare(), G4DNAChemistryManager::PushMolecule(), and G4DNAChemistryManager::PushMoleculeAtParentTimeAndPlace().
static void G4ITManager< T >::iUpdatePositionMap | ( | ) | [static] |
G4int G4ITManager< T >::NbElements | ( | const G4IT * | ) |
virtual void G4ITManager< T >::Push | ( | G4Track * | ) | [virtual] |
Implements G4VITManager.
void G4ITManager< T >::SetVerboseLevel | ( | G4int | level | ) | [inline] |
Reimplemented from G4VITManager.
Definition at line 174 of file G4ITManager.hh.
References G4VITManager::fVerbose.
00175 { 00176 fVerbose = level; 00177 }
virtual void G4ITManager< T >::UpdatePositionMap | ( | ) | [virtual] |
Implements G4VITManager.