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;
9 class G4Decay;
11 
12 class CustomPhysicsListSS : public G4VPhysicsConstructor
13 {
14 public:
16  ~CustomPhysicsListSS() override;
17 
18  void ConstructParticle() override;
19  void ConstructProcess() override;
20 
21 private:
22 
23  static G4ThreadLocal std::unique_ptr<G4Decay> fDecayProcess;
24  static G4ThreadLocal std::unique_ptr<G4ProcessHelper> myHelper;
25 
26  std::unique_ptr<CustomParticleFactory> fParticleFactory;
27 
29 
31 
34  double dfactor;
35 };
36 
37 #endif
std::string particleDefFilePath
std::string processDefFilePath
std::unique_ptr< CustomParticleFactory > fParticleFactory
void ConstructParticle() override
static G4ThreadLocal std::unique_ptr< G4Decay > fDecayProcess
static G4ThreadLocal std::unique_ptr< G4ProcessHelper > myHelper
edm::ParameterSet myConfig
void ConstructProcess() override
CustomPhysicsListSS(const std::string &name, const edm::ParameterSet &p)