5 #include <Geant4/G4ApplicationState.hh>
6 #include <Geant4/G4String.hh>
7 #include <Geant4/G4UIcmdWithAnInteger.hh>
8 #include <Geant4/G4UIdirectory.hh>
20 m_Fun4AllDir->SetGuidance(
"UI commands to run Fun4All commands");
21 m_RunCmd =
new G4UIcmdWithAnInteger(
"/Fun4All/run",
this);
22 m_RunCmd->SetGuidance(
"Run Event(s)");
23 m_RunCmd->SetParameterName(
"nEvents", 1);
24 m_RunCmd->AvailableForStates(G4State_Idle);