Geant4 VMC Version 6.6
|
Takes care of creating Geant4 user action classes using VMC. More...
#include <TG4RunConfiguration.h>
Protected Attributes | |
TString | fUserGeometry |
way of building geometry | |
TString | fPhysicsListSelection |
physics list selection | |
TString | fSpecialProcessSelection |
special process selection | |
Bool_t | fSpecialStacking |
option for special stacking | |
Bool_t | fMTApplication |
option for MT mode if available | |
Bool_t | fSpecialControls |
option for special controls | |
Bool_t | fSpecialCuts |
option for special cuts | |
Bool_t | fSpecialCutsOld |
option for special cuts old | |
G4UImessenger * | fAGDDMessenger |
XML messenger. | |
G4UImessenger * | fGDMLMessenger |
XML messenger. | |
std::map< TString, Double_t > | fParameters |
Private Member Functions | |
TG4RunConfiguration () | |
Not implemented. | |
TG4RunConfiguration (const TG4RunConfiguration &right) | |
Not implemented. | |
TG4RunConfiguration & | operator= (const TG4RunConfiguration &right) |
Not implemented. | |
Takes care of creating Geant4 user action classes using VMC.
This class takes care of creating all Geant4 user defined mandatory and action classes that will be initialized and managed by Geant4 kernel (G4RunManager).
The class can be extended in a user application by inheritence; this gives a user possibility to extend each Geant4 user defined class.
In constructor user has to specify the geometry input and select geometry navigation via the following options:
The second argument in the constructor selects physics list:
The third argument activates the special processes in the TG4SpecialPhysicsList, which implement VMC features:
Definition at line 76 of file TG4RunConfiguration.h.
TG4RunConfiguration::TG4RunConfiguration | ( | const TString & | userGeometry, |
const TString & | physicsList = "emStandard", | ||
const TString & | specialProcess = "stepLimiter", | ||
Bool_t | specialStacking = false, | ||
Bool_t | mtApplication = true ) |
Standard constructor
Definition at line 41 of file TG4RunConfiguration.cxx.
|
virtual |
Destructor
Definition at line 128 of file TG4RunConfiguration.cxx.
|
private |
Not implemented.
|
private |
Not implemented.
|
virtual |
Create and return Geant4 VMC default detector construction
Definition at line 141 of file TG4RunConfiguration.cxx.
Referenced by TG4RunManager::ConfigureRunManager().
|
virtual |
Create default Geant4 VMC physics list
Definition at line 151 of file TG4RunConfiguration.cxx.
Referenced by TG4RunManager::ConfigureRunManager().
|
virtual |
Create and return Geant4 VMC default primary generator
Definition at line 224 of file TG4RunConfiguration.cxx.
Referenced by TG4ActionInitialization::Build().
|
virtual |
Create and return Geant4 VMC default run action
Definition at line 232 of file TG4RunConfiguration.cxx.
Referenced by TG4ActionInitialization::Build(), and TG4ActionInitialization::BuildForMaster().
|
virtual |
Create and return Geant4 VMC default event action
Definition at line 240 of file TG4RunConfiguration.cxx.
Referenced by TG4ActionInitialization::Build(), and TG4ActionInitialization::TG4ActionInitialization().
|
virtual |
Create and return Geant4 VMC default tracking action
Definition at line 248 of file TG4RunConfiguration.cxx.
Referenced by TG4ActionInitialization::Build(), and TG4ActionInitialization::TG4ActionInitialization().
|
virtual |
Create and return Geant4 VMC default stepping action
Definition at line 256 of file TG4RunConfiguration.cxx.
Referenced by TG4ActionInitialization::Build(), and TG4ActionInitialization::TG4ActionInitialization().
|
virtual |
Create and return Geant4 VMC special stacking action
Definition at line 264 of file TG4RunConfiguration.cxx.
Referenced by TG4ActionInitialization::Build(), and TG4ActionInitialization::TG4ActionInitialization().
|
virtual |
No region construction is defined by default
Definition at line 274 of file TG4RunConfiguration.cxx.
Referenced by TG4RunManager::ConfigureRunManager().
|
virtual |
No user post detector construction is defined by default
Definition at line 283 of file TG4RunConfiguration.cxx.
Referenced by TG4RunManager::ConfigureRunManager().
|
virtual |
No user fast simulation is defined by default
Definition at line 291 of file TG4RunConfiguration.cxx.
Referenced by TG4RunManager::ConfigureRunManager().
void TG4RunConfiguration::SetMTApplication | ( | Bool_t | mtApplication | ) |
Select running application in MT mode, if available.
Definition at line 299 of file TG4RunConfiguration.cxx.
void TG4RunConfiguration::SetParameter | ( | const TString & | name, |
Double_t | value ) |
Set a special paremeter which can be then used later. Actually used for monopole properties: monopoleMass, monopoleElCharge, monopoleMagCharge
Definition at line 307 of file TG4RunConfiguration.cxx.
void TG4RunConfiguration::SetSpecialCutsOld | ( | ) |
Activate usage of old regions manager that sets production thresholds by ranges
Definition at line 324 of file TG4RunConfiguration.cxx.
TString TG4RunConfiguration::GetUserGeometry | ( | ) | const |
Return the way user geometry is built
Definition at line 337 of file TG4RunConfiguration.cxx.
Referenced by TG4RunManager::CloneRootNavigatorForWorker(), and TG4RunManager::ConfigureRunManager().
|
inline |
Return physics list selection.
Definition at line 145 of file TG4RunConfiguration.h.
Referenced by TGeant4::TGeant4().
Bool_t TG4RunConfiguration::IsSpecialStacking | ( | ) | const |
Return true if special stacking is activated
Definition at line 349 of file TG4RunConfiguration.cxx.
Bool_t TG4RunConfiguration::IsSpecialControls | ( | ) | const |
Return true if special controls are activated
Definition at line 357 of file TG4RunConfiguration.cxx.
Referenced by TG4ActionInitialization::Build().
Bool_t TG4RunConfiguration::IsSpecialCuts | ( | ) | const |
Return true if special cuts are activated
Definition at line 365 of file TG4RunConfiguration.cxx.
Referenced by TG4RunManager::ConfigureRunManager(), and TG4RunManager::LateInitialize().
Bool_t TG4RunConfiguration::IsSpecialCutsOld | ( | ) | const |
Return true if special cuts old are activated
Definition at line 373 of file TG4RunConfiguration.cxx.
Referenced by TG4RunManager::ConfigureRunManager().
Bool_t TG4RunConfiguration::IsMTApplication | ( | ) | const |
Return true if running in multi-threading mode is activated
Definition at line 381 of file TG4RunConfiguration.cxx.
Referenced by TG4RunManager::ConfigureRunManager(), and TG4ActionInitialization::~TG4ActionInitialization().
|
private |
Not implemented.
|
protected |
way of building geometry
Definition at line 117 of file TG4RunConfiguration.h.
Referenced by CreateDetectorConstruction(), and GetUserGeometry().
|
protected |
physics list selection
Definition at line 118 of file TG4RunConfiguration.h.
Referenced by CreatePhysicsList(), and GetPhysicsListSelection().
|
protected |
special process selection
Definition at line 119 of file TG4RunConfiguration.h.
Referenced by CreatePhysicsList(), and TG4RunConfiguration().
|
protected |
option for special stacking
Definition at line 120 of file TG4RunConfiguration.h.
Referenced by CreateStackingAction(), and IsSpecialStacking().
|
protected |
option for MT mode if available
Definition at line 121 of file TG4RunConfiguration.h.
Referenced by IsMTApplication(), and SetMTApplication().
|
protected |
option for special controls
Definition at line 122 of file TG4RunConfiguration.h.
Referenced by IsSpecialControls(), and TG4RunConfiguration().
|
protected |
option for special cuts
Definition at line 123 of file TG4RunConfiguration.h.
Referenced by IsSpecialCuts(), and TG4RunConfiguration().
|
protected |
option for special cuts old
Definition at line 124 of file TG4RunConfiguration.h.
Referenced by IsSpecialCutsOld(), and SetSpecialCutsOld().
|
protected |
XML messenger.
Definition at line 125 of file TG4RunConfiguration.h.
Referenced by TG4RunConfiguration(), and ~TG4RunConfiguration().
|
protected |
XML messenger.
Definition at line 126 of file TG4RunConfiguration.h.
Referenced by TG4RunConfiguration(), and ~TG4RunConfiguration().
|
protected |
The map of special parameters which need to be set before creating TGeant4 Actually used for monopole properties: monopoleMass, monopoleElCharge, monopoleMagCharge
Definition at line 131 of file TG4RunConfiguration.h.
Referenced by CreatePhysicsList(), and SetParameter().