103 #ifdef CEXMC_USE_ROOT
104 G4String CexmcMessenger::histoDirName(
111 if ( instance == NULL )
125 CexmcMessenger::CexmcMessenger() : mainDir( NULL ), geometryDir( NULL ),
126 physicsDir( NULL ), gunDir( NULL ), detectorDir( NULL ), eventDir( NULL ),
127 runDir( NULL ), monitorDir( NULL ), targetDir( NULL ),
128 vetoCounterDir( NULL ), vetoCounterLeftDir( NULL ),
129 vetoCounterRightDir( NULL ), calorimeterDir( NULL ),
130 calorimeterLeftDir( NULL ), calorimeterRightDir( NULL ),
131 monitorEDDir( NULL ), vetoCounterEDDir( NULL ),
132 vetoCounterLeftEDDir( NULL ), vetoCounterRightEDDir( NULL ),
133 calorimeterEDDir( NULL ), calorimeterLeftEDDir( NULL ),
134 calorimeterRightEDDir( NULL ), reconstructorDir( NULL ), visDir( NULL )
135 #ifdef CEXMC_USE_ROOT
142 geometryDir->
SetGuidance(
"Geometry settings (gdml file etc.)" );
144 physicsDir->
SetGuidance(
"Physics related settings "
145 "(production model etc.)" );
147 gunDir->
SetGuidance(
"Gun settings (different FWHMs etc.)" );
149 detectorDir->
SetGuidance(
"Sensitive detectors settings" );
151 eventDir->
SetGuidance(
"Event settings (verbose level etc.)" );
153 runDir->
SetGuidance(
"Run settings (geometry file etc.)" );
155 monitorDir->
SetGuidance(
"Various settings for the monitor." );
157 targetDir->
SetGuidance(
"Various settings for the target." );
159 vetoCounterDir->
SetGuidance(
"Various settings for the veto counters." );
162 "\n Various settings for the left veto counter." );
165 "\n Various settings for the right veto counter." );
167 calorimeterDir->
SetGuidance(
"Various settings for the calorimeters." );
170 "\n Various settings for the left calorimeter." );
173 "\n Various settings for the right calorimeter." );
176 "\n Energy deposit settings in the monitor (thresholds etc.)" );
179 "\n Energy deposit settings in both veto counters "
180 "(thresholds etc.)" );
183 "\n Energy deposit settings in the left veto counter "
184 "(thresholds etc.)" );
187 "\n Energy deposit settings in the right veto counter "
188 "(thresholds etc.)" );
191 "\n Energy deposit settings in both calorimeters "
192 "(thresholds etc.)" );
195 "\n Energy deposit settings in the left calorimeter "
196 "(thresholds etc.)" );
199 "\n Energy deposit settings in the right calorimeter "
200 "(thresholds etc.)" );
202 reconstructorDir->
SetGuidance(
"Reconstructor settings" );
205 #ifdef CEXMC_USE_ROOT
207 histoDir->SetGuidance(
"Commands to list and show histograms" );
212 CexmcMessenger::~CexmcMessenger()
223 delete vetoCounterDir;
224 delete vetoCounterLeftDir;
225 delete vetoCounterRightDir;
226 delete calorimeterDir;
227 delete calorimeterLeftDir;
228 delete calorimeterRightDir;
230 delete vetoCounterEDDir;
231 delete vetoCounterLeftEDDir;
232 delete vetoCounterRightEDDir;
233 delete calorimeterEDDir;
234 delete calorimeterLeftEDDir;
235 delete calorimeterRightEDDir;
236 delete reconstructorDir;
238 #ifdef CEXMC_USE_ROOT
static G4String vetoCounterLeftDirName
static G4String calorimeterDirName
static G4String targetDirName
static G4String vetoCounterEDDirName
static G4String vetoCounterRightDirName
static void Destroy(void)
const G4String CexmcDetectorTypeName[CexmcNumberOfDetectorTypes]
static G4String monitorEDDirName
static G4String detectorDirName
static G4String vetoCounterDirName
static G4String calorimeterEDDirName
static G4String calorimeterRightEDDirName
static G4String mainDirName
static G4String physicsDirName
static G4String runDirName
void SetGuidance(const char *aGuidance)
static G4String reconstructorDirName
const G4String CexmcDetectorRoleName[CexmcNumberOfDetectorRoles]
static G4String calorimeterLeftEDDirName
static G4String gunDirName
static G4String calorimeterLeftDirName
static G4String calorimeterRightDirName
static G4String visDirName
static G4String monitorDirName
static CexmcMessenger * Instance(void)
static G4String vetoCounterRightEDDirName
static G4String geometryDirName
static G4String eventDirName
static G4String vetoCounterLeftEDDirName