CMS 3D CMS Logo

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 * man = nullptr;
22  man = G4Electron::Electron()->GetProcessManager();
23  man->AddProcess(new G4eIonisation, -1, 2,2);
24  man = G4MuonMinus::MuonMinus()->GetProcessManager();
25  man->AddProcess(new G4MuIonisation, -1, 2,2);
26 }
void ConstructParticle() override
~DummyEMPhysics() override
void ConstructProcess() override
DummyEMPhysics(const std::string name="dummyEM")