35std::vector<G4String>* G4PhysicsModelCatalog::theCatalog =
nullptr;
40 if(theCatalog ==
nullptr)
42 static std::vector<G4String> catal;
61 theCatalog->push_back(name);
62 return theCatalog->size() - 1;
68 static const G4String undef =
"Undefined";
70 return (*theCatalog)[idx];
79 if((*theCatalog)[idx] == name)
88 return (theCatalog !=
nullptr) ?
G4int(theCatalog->size()) : -1;
G4PhysicsModelCatalog(const G4PhysicsModelCatalog &)=delete
static G4int GetIndex(const G4String &)
static G4int Register(const G4String &)
static const G4String & GetModelName(G4int)