VMC Examples Version 6.6
Loading...
Searching...
No Matches
Ex03RunConfiguration2 Class Reference

User Geant4 VMC run configuration. More...

#include <Ex03RunConfiguration2.h>

Inheritance diagram for Ex03RunConfiguration2:

Public Member Functions

 Ex03RunConfiguration2 (const TString &userGeometry, const TString &specialProcess="stepLimiter")
 
virtual ~Ex03RunConfiguration2 ()
 
virtual G4VUserPhysicsList * CreatePhysicsList ()
 
 Ex03RunConfiguration2 (const TString &userGeometry, const TString &specialProcess="stepLimiter")
 
virtual ~Ex03RunConfiguration2 ()
 
virtual G4VUserPhysicsList * CreatePhysicsList ()
 
 Ex03RunConfiguration2 (const TString &userGeometry, const TString &specialProcess="stepLimiter")
 
virtual ~Ex03RunConfiguration2 ()
 
virtual G4VUserPhysicsList * CreatePhysicsList ()
 

Detailed Description

User Geant4 VMC run configuration.

This class overrides setting of the default Geant4 VMC physics list with the LHEP_BERT hadronics physics list

Author
I. Hrivnacova; IPN, Orsay

Definition at line 30 of file Ex03RunConfiguration2.h.

Constructor & Destructor Documentation

◆ Ex03RunConfiguration2() [1/3]

Ex03RunConfiguration2::Ex03RunConfiguration2 ( const TString & userGeometry,
const TString & specialProcess = "stepLimiter" )

Standard constructor

Parameters
userGeometrySelection of geometry input and navigation
specialProcessSelection of the special processes

The physics physics list selection ("FTFP_BERT") is not used,

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

Definition at line 27 of file Ex03RunConfiguration2.cxx.

29 : TG4RunConfiguration(userGeometry, "FTFP_BERT", specialProcess)
30{
31 /// Standard constructor
32 /// \param userGeometry Selection of geometry input and navigation
33 /// \param specialProcess Selection of the special processes
34 ///
35 /// The physics physics list selection ("FTFP_BERT") is not used,
36 /// \see More on the available option in class TG4RunConfiguration:
37 /// http://ivana.home.cern.ch/ivana/g4vmc_html/classTG4RunConfiguration.html
38}

◆ ~Ex03RunConfiguration2() [1/3]

Ex03RunConfiguration2::~Ex03RunConfiguration2 ( )
virtual

Destructor

Definition at line 41 of file Ex03RunConfiguration2.cxx.

42{
43 /// Destructor
44}

◆ Ex03RunConfiguration2() [2/3]

Ex03RunConfiguration2::Ex03RunConfiguration2 ( const TString & userGeometry,
const TString & specialProcess = "stepLimiter" )

◆ ~Ex03RunConfiguration2() [2/3]

virtual Ex03RunConfiguration2::~Ex03RunConfiguration2 ( )
virtual

◆ Ex03RunConfiguration2() [3/3]

Ex03RunConfiguration2::Ex03RunConfiguration2 ( const TString & userGeometry,
const TString & specialProcess = "stepLimiter" )

◆ ~Ex03RunConfiguration2() [3/3]

virtual Ex03RunConfiguration2::~Ex03RunConfiguration2 ( )
virtual

Member Function Documentation

◆ CreatePhysicsList() [1/3]

G4VUserPhysicsList * Ex03RunConfiguration2::CreatePhysicsList ( )
virtual

Override the default physics list with user defined physics list; LHEP_BERT physics list should be replaced with user own physics list

Definition at line 51 of file Ex03RunConfiguration2.cxx.

52{
53 /// Override the default physics list with user defined physics list;
54 /// LHEP_BERT physics list should be replaced with user own physics list
55
56 TG4ComposedPhysicsList* builder = new TG4ComposedPhysicsList();
57
58 // User physics list
59 G4cout << "Adding user physics list " << G4endl;
60 builder->AddPhysicsList(new QGSP_BERT());
61
62 G4cout << "Adding SpecialPhysicsList " << G4endl;
63 builder->AddPhysicsList(
64 new TG4SpecialPhysicsList(fSpecialProcessSelection.Data()));
65
66 return builder;
67}

◆ CreatePhysicsList() [2/3]

virtual G4VUserPhysicsList * Ex03RunConfiguration2::CreatePhysicsList ( )
virtual

◆ CreatePhysicsList() [3/3]

virtual G4VUserPhysicsList * Ex03RunConfiguration2::CreatePhysicsList ( )
virtual

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