46 #include "PhysicsListMessenger.hh"
48 #include "PhysicsList.hh"
123 if( command == fGammaCutCmd ) {
127 UI->
ApplyCommand(
"/run/setCutForAGivenParticle gamma " + newValue);
130 }
else if( command == fElectCutCmd ) {
134 UI->
ApplyCommand(
"/run/setCutForAGivenParticle e- " + newValue);
137 }
else if( command == fPosCutCmd ) {
141 UI->
ApplyCommand(
"/run/setCutForAGivenParticle e+ " + newValue);
144 }
else if( command == fCutCmd ) {
148 UI->
ApplyCommand(
"/run/setCutForAGivenParticle proton " + newValue);
151 }
else if( command == fAllCutCmd ) {
163 }
else if( command == fPListCmd ) {
166 if(name ==
"PHYSLIST") {
167 char* path = getenv(name);
170 G4cout <<
"### PhysicsListMessenger WARNING: "
171 <<
" environment variable PHYSLIST is not defined"
178 G4cout <<
"### PhysicsListMessenger WARNING: "
179 <<
" /testhadr/Physics UI command is not available "
180 <<
"for reference Physics List" <<
G4endl;
183 }
else if( command == fListCmd ) {
185 fPhysicsList->
List();
187 G4cout <<
"### PhysicsListMessenger WARNING: "
188 <<
" /testhadr/ListPhysics UI command is not available "
189 <<
"for reference Physics List" <<
G4endl;