ACTARSim
ACTAR TPC Simulation Reference Guide
ActarSimPhysicsList.hh
Go to the documentation of this file.
1 // - AUTHOR: Hector Alvarez-Pol 11/2004
2 /******************************************************************
3  * Copyright (C) 2005-2016, Hector Alvarez-Pol *
4  * All rights reserved. *
5  * *
6  * License according to GNU LESSER GPL (see lgpl-3.0.txt). *
7  * For the list of contributors see CREDITS. *
8  ******************************************************************/
9 
10 #ifndef ActarSimPhysicsList_h
11 #define ActarSimPhysicsList_h 1
12 
13 #include "G4VModularPhysicsList.hh"
14 #include "globals.hh"
15 
18 class G4VPhysicsConstructor;
19 
20 class ActarSimPhysicsList: public G4VModularPhysicsList {
21 private:
22  void AddIonGasModels();
23 
24  G4double cutForGamma; ///< Cut energy parameter for gammas
25  G4double cutForElectron; ///< Cut energy parameter for gammas
26  G4double cutForPositron; ///< Cut energy parameter for gammas
27  G4int verbose; ///< Verbose control
28  G4bool emBuilderIsRegisted; ///< Register control parameter for library
29  G4bool stepLimiterIsRegisted; ///< Register control parameter for library
30  G4bool helIsRegisted; ///< Register control parameter for library
31  G4bool bicIsRegisted; ///< Register control parameter for library
32  G4bool ionIsRegisted; ///< Register control parameter for library
33  G4bool gnucIsRegisted; ///< Register control parameter for library
34  G4bool gasIsRegisted; ///< Register control parameter for library
35  G4bool stopIsRegisted; ///< Register control parameter for library
36 
37  ActarSimPhysicsListMessenger* pMessenger; ///< Pointer to messenger
38  ActarSimStepLimiterBuilder* steplimiter; ///< Pointer to step limiter
39 
40  G4VPhysicsConstructor* emPhysicsList; ///< Pointer to Physics list
41 
42 public:
45 
46  // SetCuts()
47  void ConstructParticle();
48  void ConstructProcess();
49  void SetCuts();
50 
51  void SetCutForGamma(G4double);
52  void SetCutForElectron(G4double);
53  void SetCutForPositron(G4double);
54 
55  void AddPhysicsList(const G4String&);
56  void SetVerbose(G4int val);
57 };
58 #endif
G4bool stopIsRegisted
Register control parameter for library.
G4int verbose
Verbose control.
G4VPhysicsConstructor * emPhysicsList
Pointer to Physics list.
void SetVerbose(G4int val)
Selecting verbosity.
G4bool bicIsRegisted
Register control parameter for library.
ActarSimPhysicsList()
Constructor. Initializing values.
void AddIonGasModels()
Adds the ion gas model.
G4double cutForPositron
Cut energy parameter for gammas.
G4bool emBuilderIsRegisted
Register control parameter for library.
void SetCutForElectron(G4double)
Setting cut value for the electron.
G4double cutForGamma
Cut energy parameter for gammas.
G4double cutForElectron
Cut energy parameter for gammas.
void ConstructParticle()
Construct Particles.
G4bool ionIsRegisted
Register control parameter for library.
ActarSimStepLimiterBuilder * steplimiter
Pointer to step limiter.
G4bool gasIsRegisted
Register control parameter for library.
G4bool gnucIsRegisted
Register control parameter for library.
void ConstructProcess()
Construct Processes.
void AddPhysicsList(const G4String &)
Registering the physics processes.
G4bool stepLimiterIsRegisted
Register control parameter for library.
ActarSimPhysicsListMessenger * pMessenger
Pointer to messenger.
void SetCutForGamma(G4double)
Setting cut value for the gammas.
G4bool helIsRegisted
Register control parameter for library.
void SetCutForPositron(G4double)
Setting cut value for the positron.
~ActarSimPhysicsList()
Destructor. Nothing to do.