3 #include "Geant4/globals.hh" 4 #include "Geant4/G4PhysListFactoryAlt.hh" 5 #include "Geant4/G4PhysicsConstructorRegistry.hh" 7 #include "Geant4/G4PhysListRegistry.hh" 17 G4cout <<
"extensibleFactory: here are the available physics lists:" 19 g4alt::G4PhysListFactory factory;
20 factory.PrintAvailablePhysLists();
23 if ( verbosity > 1 ) {
25 G4cout <<
"extensibleFactory: " 26 <<
"here are the available physics ctors that can be added:" 28 G4PhysicsConstructorRegistry* g4pctorFactory =
29 G4PhysicsConstructorRegistry::Instance();
30 g4pctorFactory->PrintAvailablePhysicsConstructors();
38 G4PhysListRegistry* plReg = G4PhysListRegistry::Instance();
40 plReg->AddPhysicsExtension(
"PY8TAUDK",
"Py8TauDecayerPhysics");
41 plReg->AddPhysicsExtension(
"PY8CHARMDK",
"Py8CharmDecayerPhysics");
bool RegisterAddG4PhysicsShorthands(int verbose)
const bool AddG4PhysicsShorthandsRegistered
void PrintAvailablePhysicsLists(G4int verbosity)