|
VMC Examples Version v2.13c
|
User Geant4 VMC run configuration. More...
#include <Ex03RunConfiguration3.h>

Public Member Functions | |
| Ex03RunConfiguration3 (const TString &userGeometry, const TString &physicsList="emStandard", const TString &specialProcess="stepLimiter") | |
| virtual | ~Ex03RunConfiguration3 () |
| virtual TG4VUserRegionConstruction * | CreateUserRegionConstruction () |
User Geant4 VMC run configuration.
This class demonstrates how to add to Geant4 VMC geometry construction user defined regions
Definition at line 32 of file Ex03RunConfiguration3.h.
| Ex03RunConfiguration3::Ex03RunConfiguration3 | ( | const TString & | userGeometry, |
| const TString & | physicsList = "emStandard", |
||
| const TString & | specialProcess = "stepLimiter" |
||
| ) |
Standard constructor
| userGeometry | Selection of geometry defintion |
| physicsList | Selection of physics |
| specialProcess | Selection of the special processes |
The option for geometry selection has to be set here to "geomVMCtoGeant4, "geomRootToGeant4 or "geomGeant4", as user regions can be defined only with Geant4 native geomeytry navigation.
Definition at line 23 of file Ex03RunConfiguration3.cxx.
: TG4RunConfiguration(userGeometry, physicsList, specialProcess) { /// Standard constructor /// \param userGeometry Selection of geometry defintion /// \param physicsList Selection of physics /// \param specialProcess Selection of the special processes /// /// The option for geometry selection has to be set here to /// "geomVMCtoGeant4, "geomRootToGeant4 or "geomGeant4", /// as user regions can be defined only with Geant4 native /// geomeytry navigation. /// \see More on the available option in class TG4RunConfiguration: /// http://ivana.home.cern.ch/ivana/g4vmc_html/classTG4RunConfiguration.html }
| Ex03RunConfiguration3::~Ex03RunConfiguration3 | ( | ) | [virtual] |
| TG4VUserRegionConstruction * Ex03RunConfiguration3::CreateUserRegionConstruction | ( | ) | [virtual] |
The Geant4 VMC detector construction is overridden with the detector construction class from the Geant4 novice example N03 library.
Definition at line 52 of file Ex03RunConfiguration3.cxx.
{
/// The Geant4 VMC detector construction is overridden with the detector
/// construction class from the Geant4 novice example N03 library.
return new Ex03RegionConstruction();
}
1.7.4