39 : fGlobalFastSimulationManager(theGFSM)
42 fFSDirectory->
SetGuidance(
"Fast Simulation print/control commands.");
46 fShowSetupCmd->
SetGuidance(
"Show fast simulation setup:");
47 fShowSetupCmd->
SetGuidance(
" - for each world region:");
48 fShowSetupCmd->
SetGuidance(
" 1) fast simulation manager process attached;");
49 fShowSetupCmd->
SetGuidance(
" - and to which particles the process is attached to;");
50 fShowSetupCmd->
SetGuidance(
" 2) region hierarchy;");
51 fShowSetupCmd->
SetGuidance(
" - with for each the fast simulation models attached;");
58 fListEnvelopesCmd->
SetGuidance(
"List all the envelope names for a given Particle");
59 fListEnvelopesCmd->
SetGuidance(
"(or for all particles if without parameters).");
66 fListModelsCmd->
SetGuidance(
"List all the Model names for a given Envelope");
67 fListModelsCmd->
SetGuidance(
"(or for all envelopes if without parameters).");
70 fListIsApplicableCmd =
74 fListIsApplicableCmd->
SetGuidance(
"List all the Particle names a given Model is applicable");
75 fListIsApplicableCmd->
SetGuidance(
"(or for all Models if without parameters).");
80 fActivateModel->
SetGuidance(
"Activate a given Model.");
85 fInActivateModel->
SetGuidance(
"InActivate a given Model.");
92 delete fListIsApplicableCmd;
93 fListIsApplicableCmd = 0;
94 delete fActivateModel;
96 delete fInActivateModel;
98 delete fListModelsCmd;
100 delete fListEnvelopesCmd;
101 fListEnvelopesCmd = 0;
108 if (command == fShowSetupCmd)
109 fGlobalFastSimulationManager->
ShowSetup();
110 if( command == fListEnvelopesCmd)
112 if(newValue ==
"all")
115 fGlobalFastSimulationManager->
117 FindParticle(newValue));
119 if( command == fListModelsCmd)
121 if( command == fListIsApplicableCmd)
123 if( command == fActivateModel)
125 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)