User Geant4 VMC run configuration.
More...
#include <Ex03RunConfiguration2.h>
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.
◆ Ex03RunConfiguration2() [1/3]
Ex03RunConfiguration2::Ex03RunConfiguration2 |
( |
const TString & | userGeometry, |
|
|
const TString & | specialProcess = "stepLimiter" ) |
◆ ~Ex03RunConfiguration2() [1/3]
Ex03RunConfiguration2::~Ex03RunConfiguration2 |
( |
| ) |
|
|
virtual |
◆ 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 |
◆ 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
54
55
56 TG4ComposedPhysicsList* builder = new TG4ComposedPhysicsList();
57
58
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: