55 runManager( runManager_ ), setProductionModel( NULL ), setGdmlFile( NULL ),
56 setGuiMacro( NULL ), setEventCountPolicy( NULL ),
57 setEventDataVerboseLevel( NULL ),
58 #ifdef CEXMC_USE_PERSISTENCY
59 replayEvents( NULL ), seekTo( NULL ), skipInteractionsWithoutEDT( NULL ),
61 registerScenePrimitives( NULL ), validateGdmlFile( NULL )
85 " all - all events are accounted,\n"
86 " interaction - events with studied interaction triggered,\n"
87 " trigger - only events with trigger" );
98 " trigger - when energy deposit triggered (EDT),\n"
99 " interaction - when studied interaction triggered (TPT)" );
107 #ifdef CEXMC_USE_PERSISTENCY
110 replayEvents->SetGuidance(
"Replay specified number of events "
111 "\n (available only if a project is read)."
112 "\n If number of events is 0 (or not specified) then all"
113 "\n run will be replayed" );
114 replayEvents->SetParameterName(
"ReplayEvents",
true );
115 replayEvents->SetRange(
"ReplayEvents >= 0" );
116 replayEvents->SetDefaultValue( 0 );
121 seekTo->SetGuidance(
"Seek to specified event id "
122 "(available only if a project is read)."
123 "\n 'seekto 0' brings to the start of run, 'seekto 4' - to the"
124 "\n first recorded event with interaction after fourth recorded"
125 "\n event with trigger" );
126 seekTo->SetParameterName(
"SeekTo",
false );
127 seekTo->SetRange(
"SeekTo >= 0" );
128 seekTo->SetDefaultValue( 0 );
134 skipInteractionsWithoutEDT->SetGuidance(
"Do not write interactions into "
135 ".fdb file\n if event was not triggered (effective only when a "
136 "project is read and then\n written to another project and only if "
137 "event data verbose level is\n 'trigger')" );
138 skipInteractionsWithoutEDT->SetParameterName(
"skipInteractionsWithoutEDT",
140 skipInteractionsWithoutEDT->SetDefaultValue(
true );
149 "(radial lines,\n inner crystals highlights etc.)" );
170 #ifdef CEXMC_USE_PERSISTENCY
173 delete skipInteractionsWithoutEDT;
191 if ( value ==
"pi0" )
196 if ( value ==
"eta" )
220 if ( value ==
"interaction" )
225 if ( value ==
"trigger" )
240 if ( value ==
"nosave" )
245 if ( value ==
"trigger" )
250 if ( value ==
"interaction" )
259 #ifdef CEXMC_USE_PERSISTENCY
260 if ( cmd == replayEvents )
271 if ( cmd == skipInteractionsWithoutEDT )
273 runManager->SkipInteractionsWithoutEDTonWrite(
void SetGuidance(const char *aGuidance)
static G4String geometryDirName
void SetGuiMacroName(const G4String &guiMacroName_)
void SetGdmlFileValidation(G4bool on=true)
void SetDefaultValue(G4bool defVal)
G4UIcmdWithABool * validateGdmlFile
static G4String runDirName
void SetDefaultValue(const char *defVal)
CexmcEventDataVerboseLevel
void SetNewValue(G4UIcommand *cmd, G4String value)
static G4String visDirName
static G4bool GetNewBoolValue(const char *paramString)
static G4String physicsDirName
G4UIcmdWithAString * setProductionModel
CexmcRunManager * runManager
const XML_Char int const XML_Char * value
void SetEventDataVerboseLevel(CexmcEventDataVerboseLevel value)
G4UIcmdWithAString * setGdmlFile
void SetCandidates(const char *candidateList)
void SetProductionModelType(CexmcProductionModelType productionModelType_)
G4UIcmdWithAString * setGuiMacro
void RegisterScenePrimitives(void)
G4UIcmdWithAString * setEventCountPolicy
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
static G4int GetNewIntValue(const char *paramString)
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
CexmcRunManagerMessenger(CexmcRunManager *runManager)
void SetEventCountPolicy(CexmcEventCountPolicy value)
G4UIcmdWithAString * setEventDataVerboseLevel
G4UIcmdWithoutParameter * registerScenePrimitives
~CexmcRunManagerMessenger()
void SetGdmlFileName(const G4String &gdmlFileName_)
void AvailableForStates(G4ApplicationState s1)