Geant4 VMC Version 6.6
Loading...
Searching...
No Matches
TG4RunConfiguration.h
Go to the documentation of this file.
1#ifndef TG4_RUN_CONFIGURATION_H
2#define TG4_RUN_CONFIGURATION_H
3
4//------------------------------------------------
5// The Geant4 Virtual Monte Carlo package
6// Copyright (C) 2007 - 2015 Ivana Hrivnacova
7// All rights reserved.
8//
9// For the licensing terms see geant4_vmc/LICENSE.
10// Contact: root-vmc@cern.ch
11//-------------------------------------------------
12
17
18#include <Rtypes.h>
19#include <TString.h>
20
21#include <map>
22
30
34class G4UserRunAction;
37class G4RunManager;
38class G4UImessenger;
39
75
77{
78 public:
79 TG4RunConfiguration(const TString& userGeometry,
80 const TString& physicsList = "emStandard",
81 const TString& specialProcess = "stepLimiter",
82 Bool_t specialStacking = false, Bool_t mtApplication = true);
83 virtual ~TG4RunConfiguration();
84
85 // methods
86 //
90
96
100
101 // set methods
102 void SetMTApplication(Bool_t mtApplication);
103 void SetParameter(const TString& name, Double_t value);
104 void SetSpecialCutsOld();
105
106 // get methods
107 TString GetUserGeometry() const;
108 TString GetPhysicsListSelection() const;
109 Bool_t IsSpecialStacking() const;
110 Bool_t IsSpecialControls() const;
111 Bool_t IsSpecialCuts() const;
112 Bool_t IsSpecialCutsOld() const;
113 Bool_t IsMTApplication() const;
114
115 protected:
116 // data members
127
131 std::map<TString, Double_t> fParameters;
132
133 private:
140};
141
142// inline functions
143
146{
148}
149
150#endif // TG4V_RUN_CONFIGURATION_H
Detector construction for building geometry using TVirtualMCApplication.
Takes care of creating Geant4 user action classes using VMC.
std::map< TString, Double_t > fParameters
virtual G4VUserPhysicsList * CreatePhysicsList()
TG4RunConfiguration()
Not implemented.
TG4RunConfiguration(const TG4RunConfiguration &right)
Not implemented.
TString fPhysicsListSelection
physics list selection
virtual TG4SteppingAction * CreateSteppingAction()
virtual G4UserStackingAction * CreateStackingAction()
virtual TG4VUserFastSimulation * CreateUserFastSimulation()
Bool_t fSpecialStacking
option for special stacking
virtual G4VUserDetectorConstruction * CreateDetectorConstruction()
G4UImessenger * fAGDDMessenger
XML messenger.
Bool_t fMTApplication
option for MT mode if available
virtual TG4VUserRegionConstruction * CreateUserRegionConstruction()
TG4RunConfiguration & operator=(const TG4RunConfiguration &right)
Not implemented.
virtual G4UserEventAction * CreateEventAction()
virtual TG4TrackingAction * CreateTrackingAction()
Bool_t fSpecialCuts
option for special cuts
Bool_t fSpecialCutsOld
option for special cuts old
virtual G4VUserPrimaryGeneratorAction * CreatePrimaryGenerator()
TString GetUserGeometry() const
TString fUserGeometry
way of building geometry
Bool_t fSpecialControls
option for special controls
TString fSpecialProcessSelection
special process selection
void SetMTApplication(Bool_t mtApplication)
virtual TG4VUserPostDetConstruction * CreateUserPostDetConstruction()
TString GetPhysicsListSelection() const
Return physics list selection.
virtual G4UserRunAction * CreateRunAction()
G4UImessenger * fGDMLMessenger
XML messenger.
void SetParameter(const TString &name, Double_t value)
The Geant4 VMC special physics list helper class.
Actions at each step.
Actions at the beginnig and at the end of track.
The abstract base class which is used to build fast simulation models.
The abstract base class for user defined class to customize geometry.
The abstract base class for user defined regions.