VMC Examples Version 6.6
|
User Geant4 VMC run configuration. More...
#include <A01RunConfiguration.h>
Public Member Functions | |
A01RunConfiguration (const TString &physicsList="emStandard", const TString &specialProcess="stepLimiter") | |
virtual | ~A01RunConfiguration () |
virtual G4VUserDetectorConstruction * | CreateDetectorConstruction () |
void | SetUseLocalMagField (Bool_t localMagField) |
Private Attributes | |
Bool_t | fUseLocalMagField |
Option to use local magnetic field. | |
User Geant4 VMC run configuration.
This class overrides setting of the default Geant4 VMC geometry construction with Geant4 detector construction
Definition at line 30 of file A01RunConfiguration.h.
A01RunConfiguration::A01RunConfiguration | ( | const TString & | physicsList = "emStandard", |
const TString & | specialProcess = "stepLimiter" ) |
Standard constructor
physicsList | Selection of physics |
specialProcess | Selection of the special processes |
The option for geometry selection has to be set here to "geomGeant4", as geometry will be defined directly via Geant4.
Definition at line 21 of file A01RunConfiguration.cxx.
|
virtual |
|
virtual |
The Geant4 VMC detector construction is overridden with the detector construction class from the Geant4 novice example N03 library.
Definition at line 47 of file A01RunConfiguration.cxx.
|
inline |
Set the option to use local magnetic field (working only with Geant4 !)
localMagField | The new value of the option |
Definition at line 52 of file A01RunConfiguration.h.
|
private |
Option to use local magnetic field.
Definition at line 45 of file A01RunConfiguration.h.