CMS 3D CMS Logo

CustomPhysicsListSS.h
Go to the documentation of this file.
1 #ifndef SimG4Core_CustomPhysics_CustomPhysicsListSS_H
2 #define SimG4Core_CustomPhysics_CustomPhysicsListSS_H
3 
5 #include "G4VPhysicsConstructor.hh"
6 #include <string>
7 
8 class G4ProcessHelper;
10 
11 class CustomPhysicsListSS : public G4VPhysicsConstructor {
12 public:
13  CustomPhysicsListSS(const std::string& name, const edm::ParameterSet& p, bool useuni = false);
14  ~CustomPhysicsListSS() override;
15 
16  void ConstructParticle() override;
17  void ConstructProcess() override;
18 
19 private:
20  static G4ThreadLocal std::unique_ptr<G4ProcessHelper> myHelper;
21 
22  std::unique_ptr<CustomParticleFactory> fParticleFactory;
23 
25 
27 
30  double dfactor;
31 };
32 
33 #endif
CustomPhysicsListSS
Definition: CustomPhysicsListSS.h:11
G4ProcessHelper
Definition: G4ProcessHelper.h:26
AlCaHLTBitMon_ParallelJobs.p
p
Definition: AlCaHLTBitMon_ParallelJobs.py:153
CustomPhysicsListSS::ConstructProcess
void ConstructProcess() override
Definition: CustomPhysicsListSS.cc:53
CustomPhysicsListSS::myHelper
static G4ThreadLocal std::unique_ptr< G4ProcessHelper > myHelper
Definition: CustomPhysicsListSS.h:20
CustomPhysicsListSS::myConfig
edm::ParameterSet myConfig
Definition: CustomPhysicsListSS.h:26
CustomPhysicsListSS::particleDefFilePath
std::string particleDefFilePath
Definition: CustomPhysicsListSS.h:28
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
edm::ParameterSet
Definition: ParameterSet.h:47
CustomPhysicsListSS::ConstructParticle
void ConstructParticle() override
Definition: CustomPhysicsListSS.cc:48
CustomParticleFactory
Definition: CustomParticleFactory.h:12
CustomPhysicsListSS::processDefFilePath
std::string processDefFilePath
Definition: CustomPhysicsListSS.h:29
CustomPhysicsListSS::dfactor
double dfactor
Definition: CustomPhysicsListSS.h:30
CustomPhysicsListSS::fParticleFactory
std::unique_ptr< CustomParticleFactory > fParticleFactory
Definition: CustomPhysicsListSS.h:22
Skims_PA_cff.name
name
Definition: Skims_PA_cff.py:17
CustomPhysicsListSS::fHadronicInteraction
bool fHadronicInteraction
Definition: CustomPhysicsListSS.h:24
ParameterSet.h
CustomPhysicsListSS::~CustomPhysicsListSS
~CustomPhysicsListSS() override
Definition: CustomPhysicsListSS.cc:46
CustomPhysicsListSS::CustomPhysicsListSS
CustomPhysicsListSS(const std::string &name, const edm::ParameterSet &p, bool useuni=false)
Definition: CustomPhysicsListSS.cc:26