CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
CMSMonopolePhysics.h
Go to the documentation of this file.
1 #ifndef SimG4Core_PhysicsLists_CMSMonopolePhysics_h
2 #define SimG4Core_PhysicsLists_CMSMonopolePhysics_h
3 
6 #include "SimG4Core/Physics/interface/G4Monopole.hh"
7 
8 #include "HepPDT/ParticleDataTable.hh"
9 #include "G4VPhysicsConstructor.hh"
10 #include "globals.hh"
11 
12 #include <vector>
13 #include <string>
14 
15 class CMSMonopolePhysics : public G4VPhysicsConstructor {
16 
17 public:
19  virtual ~CMSMonopolePhysics();
20 
21  void ConstructParticle();
22  void ConstructProcess();
23 
24 private:
28  std::vector<std::string> names;
29  std::vector<double> masses;
30  std::vector<int> elCharges, pdgEncodings;
31  std::vector<G4Monopole*> monopoles;
32 };
33 
34 #endif
35 
36 
37 
38 
39 
40 
std::vector< int > pdgEncodings
HepPDT::ParticleDataTable ParticleDataTable
std::vector< G4Monopole * > monopoles
std::vector< int > elCharges
std::vector< std::string > names
Table table_
std::vector< double > masses
sim::FieldBuilder * fieldBuilder
CMSMonopolePhysics(const HepPDT::ParticleDataTable *table_, sim::FieldBuilder *fB_, const edm::ParameterSet &p)