41G4AllITFinder::G4AllITFinder()
63 std::map<G4ITType, G4VITFinder*>::iterator it;
64 std::map<G4ITType, G4VITFinder*>::iterator it_tmp;
66 for (it = fITSubManager.begin(); it != fITSubManager.end();)
68 if (it->second)
delete it->second;
71 fITSubManager.erase(it_tmp);
78 std::map<G4ITType, G4VITFinder*>::iterator it = fITSubManager.begin();
80 for (; it != fITSubManager.end(); it++)
82 it->second->UpdatePositionMap();
88 map<G4ITType, G4VITFinder*>::iterator it = fITSubManager.find(type);
90 if (it == fITSubManager.end())
return 0;
97 fITSubManager[manager->
GetITType()] = manager;
G4IT * GetIT(const G4Track *track)
G4VITFinder * GetInstance(G4ITType)
static G4AllITFinder * Instance()
void RegisterManager(G4VITFinder *manager)
static void DeleteInstance()
void Push(G4Track *track)
virtual const G4ITType GetITType() const =0
virtual G4ITType GetITType()=0