46 #include "PhysicsListMessenger.hh"
48 #include "PhysicsList.hh"
56 fPListCmd(0), fListCmd(0)
81 if( command == fPListCmd ) {
84 if(name ==
"PHYSLIST") {
85 char* path = getenv(name);
88 G4cout <<
"### PhysicsListMessenger WARNING: "
89 <<
" environment variable PHYSLIST is not defined"
96 G4cout <<
"### PhysicsListMessenger WARNING: "
97 <<
" /testhadr/Physics UI command is not available "
98 <<
"for reference Physics List" <<
G4endl;
101 }
else if( command == fListCmd ) {
103 fPhysicsList->
List();
105 G4cout <<
"### PhysicsListMessenger WARNING: "
106 <<
" /testhadr/ListPhysics UI command is not available "
107 <<
"for reference Physics List" <<
G4endl;
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
void AddPhysicsList(const G4String &name)
G4GLOB_DLL std::ostream G4cout
void SetGuidance(const char *aGuidance)
void AvailableForStates(G4ApplicationState s1)
void SetNewValue(G4UIcommand *, G4String)
PhysicsListMessenger(PhysicsList *)