CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
DummyEMPhysics.cc
Go to the documentation of this file.
2 
3 #include "G4ParticleDefinition.hh"
4 #include "G4ParticleTypes.hh"
5 #include "G4ParticleTable.hh"
6 #include "G4ProcessManager.hh"
7 #include "G4eIonisation.hh"
8 #include "G4MuIonisation.hh"
9 
11  : G4VPhysicsConstructor(name) {}
12 
14 
16  G4Electron::ElectronDefinition();
17  G4MuonMinus::MuonMinusDefinition();
18 }
19 
21  G4ProcessManager * m = 0;
22  m = G4Electron::Electron()->GetProcessManager();
23  m->AddProcess(new G4eIonisation, -1, 2,2);
24  m = G4MuonMinus::MuonMinus()->GetProcessManager();
25  m->AddProcess(new G4MuIonisation, -1, 2,2);
26 }
virtual ~DummyEMPhysics()
virtual void ConstructParticle()
virtual void ConstructProcess()
DummyEMPhysics(const std::string name="dummyEM")