32 #ifdef G4MULTITHREADED
38 G4PhysicsModelCatalog::G4PhysicsModelCatalog()
53 if(idx>=0)
return idx;
54 #ifdef G4MULTITHREADED
57 catalog->push_back(name);
58 return catalog->size()-1;
63 static const G4String undef =
"Undefined";
64 if(idx>=0 && idx<
Entries())
return (*catalog)[idx];
71 {
if((*catalog)[idx]==
name)
return idx; }
76 {
return (catalog) ?
G4int(catalog->size()) : -1; }
static const G4String & GetModelName(G4int)
std::vector< G4String > modelCatalog
static G4int Register(const G4String &)
static G4int GetIndex(const G4String &)