41G4AllITFinder::G4AllITFinder()
54 if (fpInstance !=
nullptr)
63 std::map<G4ITType, G4VITFinder*>::iterator it;
64 std::map<G4ITType, G4VITFinder*>::iterator it_tmp;
66 for (it = fITSubManager.begin(); it != fITSubManager.end();)
71 fITSubManager.erase(it_tmp);
78 auto it = fITSubManager.begin();
80 for (; it != fITSubManager.end(); it++)
82 it->second->UpdatePositionMap();
88 auto it = fITSubManager.find(type);
90 if (it == fITSubManager.end())
return nullptr;
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