CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
CustomPhysicsList.h
Go to the documentation of this file.
1 #ifndef SimG4Core_CustomPhysicsList_H
2 #define SimG4Core_CustomPhysicsList_H
3 
4 #include "SimG4Core/CustomPhysics/interface/HadronicProcessHelper.hh"
5 #include "SimG4Core/CustomPhysics/interface/G4ProcessHelper.hh"
6 
7 #include <string>
8 
10 
11 #include "G4VPhysicsConstructor.hh"
12 
13 class CustomPhysicsList : public G4VPhysicsConstructor
14 {
15 public:
16  CustomPhysicsList(std::string name, const edm::ParameterSet & p);
17  virtual ~CustomPhysicsList();
18 protected:
19  virtual void ConstructParticle();
20  virtual void ConstructProcess();
21  void addCustomPhysics();
22 // void SetCuts();
23 
24 private:
25 
26  void setupRHadronPhycis(G4ParticleDefinition* particle);
27  void setupSUSYPhycis(G4ParticleDefinition* particle);
28 
29  //HadronicProcessHelper *myHelper;
30  G4ProcessHelper *myHelper;
31 
33 
34  std::string particleDefFilePath;
35  std::string processDefFilePath;
36 
37 };
38 
39 #endif
edm::ParameterSet myConfig
std::string particleDefFilePath
void setupRHadronPhycis(G4ParticleDefinition *particle)
virtual ~CustomPhysicsList()
void setupSUSYPhycis(G4ParticleDefinition *particle)
std::string processDefFilePath
G4ProcessHelper * myHelper
CustomPhysicsList(std::string name, const edm::ParameterSet &p)
virtual void ConstructParticle()
virtual void ConstructProcess()