46 #include "G4UIcmdWithAString.hh"
47 #include "G4UIcmdWithAnInteger.hh"
54 fPrintCmd =
new G4UIcmdWithAnInteger(
"/testhadr/PrintModulo",
this);
55 fPrintCmd->SetGuidance(
"Print events modulo n");
56 fPrintCmd->SetParameterName(
"EventNb",
false);
58 fPrintCmd->AvailableForStates(G4State_PreInit,G4State_Idle);
60 fCmd =
new G4UIcmdWithAnInteger(
"/testhadr/DebugEvent",
this);
61 fCmd->SetGuidance(
"D event to debug");
62 fCmd->SetParameterName(
"fNb",
false);
63 fCmd->SetRange(
"fNb>0");
64 fCmd->AvailableForStates(G4State_PreInit,G4State_Idle);
virtual void SetNewValue(G4UIcommand *, G4String)
G4UIcmdWithAnInteger * fPrintCmd
EventAction * fEventAction
G4UIcmdWithAnInteger * fCmd
void SetPrintModulo(G4int val)
virtual ~EventActionMessenger()
void AddEventToDebug(G4int val)
EventActionMessenger(EventAction *)