39 for(
size_t i=0;i<
HClist.size();i++)
40 {
if(
HClist[i]==HCname &&
SDlist[i]==SDname)
return -1; }
49 if(HCname.
index(
"/")==std::string::npos)
51 for(
size_t j=0;j<
HClist.size();j++)
62 for(
size_t j=0;j<
HClist.size();j++)
82 <<
"> does not have a registered hits collection."
89 <<
"> has more than one registered hits collections."
91 G4cerr <<
"Candidates are : ";
97 for(
size_t k=0;k<
SDlist.size();k++)
G4int GetCollectionID(G4String HCname) const
std::vector< G4String > HClist
G4int Registor(G4String SDname, G4String HCname)
str_size index(const char *, G4int pos=0) const
std::vector< G4String > SDlist
G4int GetNumberOfCollections() const
G4String GetCollectionName(G4int id) const
G4GLOB_DLL std::ostream G4cerr