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 
6 #include <string>
7 
9 
10 #include "G4VPhysicsConstructor.hh"
11 
12 class G4ProcessHelper;
13 
14 class CustomPhysicsList : public G4VPhysicsConstructor
15 {
16 public:
18  virtual ~CustomPhysicsList();
19 
20  virtual void ConstructParticle();
21  virtual void ConstructProcess();
22 
23 protected:
24 
25  void addCustomPhysics();
26 
27 private:
28 
29  void setupRHadronPhycis(G4ParticleDefinition* particle);
30  void setupSUSYPhycis(G4ParticleDefinition* particle);
31 
32  G4ProcessHelper *myHelper;
33 
35 
38 };
39 
40 #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()