52 eventAction( eventAction ), setVerboseLevel( NULL ),
53 setVerboseDrawLevel( NULL )
57 setVerboseLevel->
SetGuidance(
"\n 0 - do not print messages,\n"
58 " 1 - print messages if studied interaction "
60 " 2 - print messages on event trigger\n"
61 " (reconstructed data will also be printed in "
63 " 3 - print messages if studied interaction or "
64 "event\n triggered,\n"
65 " 4 - print messages on every event" );
67 setVerboseLevel->
SetRange(
"Verbose >= 0 && Verbose <= 4" );
73 setVerboseDrawLevel->
SetGuidance(
"\n 0 - draw nothing,\n"
74 " 1 - draw trajectories and track points if studied "
75 "interaction\n triggered,\n"
76 " 2 - draw trajectories and track points on event "
78 " (reconstructed data will also be drawn in "
80 " 3 - draw trajectories and track points if "
81 "studied interaction\n or event "
83 " 4 - draw trajectories and/or track points on "
86 setVerboseDrawLevel->
SetRange(
"VerboseDraw >= 0 && VerboseDraw <= 4" );
94 delete setVerboseLevel;
95 delete setVerboseDrawLevel;
104 if ( cmd == setVerboseLevel )
110 if ( cmd == setVerboseDrawLevel )
CexmcEventActionMessenger(CexmcEventAction *eventAction)
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
~CexmcEventActionMessenger()
static G4int GetNewIntValue(const char *paramString)
void SetNewValue(G4UIcommand *cmd, G4String value)
const XML_Char int const XML_Char * value
void SetRange(const char *rs)
void SetGuidance(const char *aGuidance)
void AvailableForStates(G4ApplicationState s1)
static G4String visDirName
void SetVerboseOnCexmcLevel(G4int value)
void SetDefaultValue(G4int defVal)
void SetVerboseDrawLevel(G4int value)
static G4String eventDirName