VMC Examples Version 6.6
Loading...
Searching...
No Matches
Public Member Functions | List of all members
Ex03RunConfiguration1 Class Reference

User Geant4 VMC run configuration. More...

#include <Ex03RunConfiguration1.h>

Inheritance diagram for Ex03RunConfiguration1:
Inheritance graph
[legend]

Public Member Functions

 Ex03RunConfiguration1 (const TString &physicsList="FTFP_BERT", const TString &specialProcess="stepLimiter")
 
virtual ~Ex03RunConfiguration1 ()
 
virtual G4VUserDetectorConstructionCreateDetectorConstruction ()
 
 Ex03RunConfiguration1 (const TString &physicsList="FTFP_BERT", const TString &specialProcess="stepLimiter")
 
virtual ~Ex03RunConfiguration1 ()
 
virtual G4VUserDetectorConstructionCreateDetectorConstruction ()
 
 Ex03RunConfiguration1 (const TString &physicsList="FTFP_BERT", const TString &specialProcess="stepLimiter")
 
virtual ~Ex03RunConfiguration1 ()
 
virtual G4VUserDetectorConstructionCreateDetectorConstruction ()
 

Detailed Description

User Geant4 VMC run configuration.

This class overrides setting of the default Geant4 VMC geometry construction with Geant4 detector construction

Author
I. Hrivnacova; IPN, Orsay

Definition at line 30 of file Ex03RunConfiguration1.h.

Constructor & Destructor Documentation

◆ Ex03RunConfiguration1() [1/3]

Ex03RunConfiguration1::Ex03RunConfiguration1 ( const TString & physicsList = "FTFP_BERT",
const TString & specialProcess = "stepLimiter" )

Standard constructor

Parameters
physicsListSelection of physics
specialProcessSelection of the special processes

The option for geometry selection has to be set here to "geomGeant4", as geometry will be defined directly via Geant4.

See also
More on the available option in class TG4RunConfiguration: http://ivana.home.cern.ch/ivana/g4vmc_html/classTG4RunConfiguration.html

Definition at line 21 of file Ex03RunConfiguration1.cxx.

23 : TG4RunConfiguration("geomGeant4", physicsList, specialProcess)
24{
25 /// Standard constructor
26 /// \param physicsList Selection of physics
27 /// \param specialProcess Selection of the special processes
28 ///
29 /// The option for geometry selection has to be set here to "geomGeant4",
30 /// as geometry will be defined directly via Geant4.
31 /// \see More on the available option in class TG4RunConfiguration:
32 /// http://ivana.home.cern.ch/ivana/g4vmc_html/classTG4RunConfiguration.html
33}

◆ ~Ex03RunConfiguration1() [1/3]

Ex03RunConfiguration1::~Ex03RunConfiguration1 ( )
virtual

Destructor

Definition at line 36 of file Ex03RunConfiguration1.cxx.

37{
38 /// Destructor
39}

◆ Ex03RunConfiguration1() [2/3]

Ex03RunConfiguration1::Ex03RunConfiguration1 ( const TString & physicsList = "FTFP_BERT",
const TString & specialProcess = "stepLimiter" )

◆ ~Ex03RunConfiguration1() [2/3]

virtual Ex03RunConfiguration1::~Ex03RunConfiguration1 ( )
virtual

◆ Ex03RunConfiguration1() [3/3]

Ex03RunConfiguration1::Ex03RunConfiguration1 ( const TString & physicsList = "FTFP_BERT",
const TString & specialProcess = "stepLimiter" )

◆ ~Ex03RunConfiguration1() [3/3]

virtual Ex03RunConfiguration1::~Ex03RunConfiguration1 ( )
virtual

Member Function Documentation

◆ CreateDetectorConstruction() [1/3]

G4VUserDetectorConstruction * Ex03RunConfiguration1::CreateDetectorConstruction ( )
virtual

The Geant4 VMC detector construction is overridden with the detector construction class from the Geant4 novice example N03 library.

Definition at line 46 of file Ex03RunConfiguration1.cxx.

47{
48 /// The Geant4 VMC detector construction is overridden with the detector
49 /// construction class from the Geant4 novice example N03 library.
50
51 return new B4DetectorConstruction();
52}

◆ CreateDetectorConstruction() [2/3]

virtual G4VUserDetectorConstruction * Ex03RunConfiguration1::CreateDetectorConstruction ( )
virtual

◆ CreateDetectorConstruction() [3/3]

virtual G4VUserDetectorConstruction * Ex03RunConfiguration1::CreateDetectorConstruction ( )
virtual

The documentation for this class was generated from the following files: