38 : fGlobalFastSimulationManager(theGFSM)
41 fFSDirectory->
SetGuidance(
"Fast Simulation print/control commands.");
45 fShowSetupCmd->
SetGuidance(
"Show fast simulation setup:");
46 fShowSetupCmd->
SetGuidance(
" - for each world region:");
47 fShowSetupCmd->
SetGuidance(
" 1) fast simulation manager process attached;");
48 fShowSetupCmd->
SetGuidance(
" - and to which particles the process is attached to;");
49 fShowSetupCmd->
SetGuidance(
" 2) region hierarchy;");
50 fShowSetupCmd->
SetGuidance(
" - with for each the fast simulation models attached;");
57 fListEnvelopesCmd->
SetGuidance(
"List all the envelope names for a given Particle");
58 fListEnvelopesCmd->
SetGuidance(
"(or for all particles if without parameters).");
65 fListModelsCmd->
SetGuidance(
"List all the Model names for a given Envelope");
66 fListModelsCmd->
SetGuidance(
"(or for all envelopes if without parameters).");
69 fListIsApplicableCmd =
73 fListIsApplicableCmd->
SetGuidance(
"List all the Particle names a given Model is applicable");
74 fListIsApplicableCmd->
SetGuidance(
"(or for all Models if without parameters).");
79 fActivateModel->
SetGuidance(
"Activate a given Model.");
84 fInActivateModel->
SetGuidance(
"InActivate a given Model.");
91 delete fListIsApplicableCmd;
92 fListIsApplicableCmd = 0;
93 delete fActivateModel;
95 delete fInActivateModel;
97 delete fListModelsCmd;
99 delete fListEnvelopesCmd;
100 fListEnvelopesCmd = 0;
107 if (command == fShowSetupCmd)
108 fGlobalFastSimulationManager->
ShowSetup();
109 if( command == fListEnvelopesCmd)
111 if(newValue ==
"all")
114 fGlobalFastSimulationManager->
116 FindParticle(newValue));
118 if( command == fListModelsCmd)
120 if( command == fListIsApplicableCmd)
122 if( command == fActivateModel)
124 if( command == fInActivateModel)
G4FastSimulationMessenger(G4GlobalFastSimulationManager *theGFSM)
void SetNewValue(G4UIcommand *command, G4String newValues)
virtual ~G4FastSimulationMessenger()
void ListEnvelopes(const G4String &aName="all", listType aListType=NAMES_ONLY)
void InActivateFastSimulationModel(const G4String &)
void ActivateFastSimulationModel(const G4String &)
static G4ParticleTable * GetParticleTable()
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
void SetDefaultValue(const char *defVal)
void SetGuidance(const char *aGuidance)
void AvailableForStates(G4ApplicationState s1)