38 for(std::size_t i=0; i<DClist.size(); ++i)
40 if(DClist[i]==DCname && DMlist[i]==DMname)
return -1;
42 DClist.push_back(DCname);
43 DMlist.push_back(DMname);
44 return (
G4int)DClist.size();
50 if(DCname.find(
"/")==std::string::npos)
52 for(std::size_t j=0; j<DClist.size(); ++j)
63 for(std::size_t j=0; j<DClist.size(); ++j)
83 <<
"> does not have a registered digits collection."
90 <<
"> has more than one registered digits collections."
92 G4cerr <<
"Candidates are : ";
98 for(std::size_t k=0; k<DMlist.size(); ++k)
G4GLOB_DLL std::ostream G4cerr
G4int Registor(G4String SDname, G4String DCname)
G4int GetCollectionID(G4String DCname) const
G4int GetNumberOfCollections() const
G4String GetCollectionName(G4int i) const