#include <G4FastSimulationMessenger.hh>
Definition at line 38 of file G4FastSimulationMessenger.cc.
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.");
void SetParameterName(const char *theName, G4bool omittable, G4bool currentAsDefault=false)
void SetGuidance(const char *aGuidance)
void AvailableForStates(G4ApplicationState s1)
void SetDefaultValue(const char *defVal)
G4FastSimulationMessenger::~G4FastSimulationMessenger |
( |
| ) |
|
|
virtual |
Definition at line 88 of file G4FastSimulationMessenger.cc.
92 delete fListIsApplicableCmd;
93 fListIsApplicableCmd = 0;
94 delete fActivateModel;
96 delete fInActivateModel;
98 delete fListModelsCmd;
100 delete fListEnvelopesCmd;
101 fListEnvelopesCmd = 0;
Reimplemented from G4UImessenger.
Definition at line 106 of file G4FastSimulationMessenger.cc.
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)
void InActivateFastSimulationModel(const G4String &)
void ListEnvelopes(const G4String &aName="all", listType aListType=NAMES_ONLY)
void ActivateFastSimulationModel(const G4String &)
static G4ParticleTable * GetParticleTable()
The documentation for this class was generated from the following files: