64 SavePmtCmd->
SetGuidance(
"Set flag to save (x,y,z) of hits in PMT");
70 SaveHitsCmd->
SetGuidance(
"Set flag to save hits in each run");
78 drawDirectory->
SetGuidance(
"DM Example draw commands.");
81 DrawColsCmd->
SetGuidance(
"Tracks drawn by Event (standard colours) or by Step (custom colours)");
82 DrawColsCmd->
SetGuidance(
" Choice : custom, standard(default)");
88 DrawTrksCmd->
SetGuidance(
"Draw the tracks in the event");
89 DrawTrksCmd->
SetGuidance(
" Choice : none, charged, noscint, all(default)");
95 DrawHitsCmd->
SetGuidance(
"Set flag to draw hits in PMT.");
117 delete drawDirectory;
125 if(command == DrawColsCmd)
126 eventAction->SetDrawColsFlag(newValue);
128 if(command == DrawTrksCmd)
129 eventAction->SetDrawTrksFlag(newValue);
131 if(command == DrawHitsCmd) {
133 const char* t = newValue;
134 std::istringstream is(t);
136 eventAction->SetDrawHitsFlag(vl!=0);
139 if(command == SavePmtCmd) {
141 const char* t = newValue;
142 std::istringstream is(t);
144 eventAction->SetSavePmtFlag(vl!=0);
147 if(command == SaveHitsCmd) {
149 const char* t = newValue;
150 std::istringstream is(t);
152 eventAction->SetSaveHitsFlag(vl!=0);
155 if(command == PrintCmd)
156 {eventAction->SetPrintModulo(PrintCmd->GetNewIntValue(newValue));}
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
~DMXEventActionMessenger()
DMXEventActionMessenger(DMXEventAction *)
void SetDefaultValue(G4bool defVal)
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
void SetRange(const char *rs)
void SetGuidance(const char *aGuidance)
void AvailableForStates(G4ApplicationState s1)
void SetCandidates(const char *candidateList)
void SetNewValue(G4UIcommand *, G4String)