64 std::map<G4ITType, G4VITFinder*>::iterator it;
65 std::map<G4ITType, G4VITFinder*>::iterator it_tmp;
67 for (it = fITSubManager.begin(); it != fITSubManager.end();)
69 if (it->second)
delete it->second;
72 fITSubManager.erase(it_tmp);
79 std::map<G4ITType, G4VITFinder*>::iterator it = fITSubManager.begin();
81 for (; it != fITSubManager.end(); it++)
83 it->second->UpdatePositionMap();
89 map<G4ITType, G4VITFinder*>::iterator it = fITSubManager.find(type);
91 if (it == fITSubManager.end())
return 0;
98 fITSubManager[manager->
GetITType()] = manager;
void Push(G4Track *track)
G4VITFinder * GetInstance(G4ITType)
static G4AllITFinder * Instance()
static void DeleteInstance()
virtual G4ITType GetITType()=0
virtual const G4ITType GetITType() const =0
static G4ThreadLocal G4AllITFinder * fpInstance
void RegisterManager(G4VITFinder *manager)
G4IT * GetIT(const G4Track *track)