Go to the documentation of this file.00001 #include "SimG4Core/PhysicsLists/interface/DummyEMPhysics.h"
00002
00003 #include "G4ParticleDefinition.hh"
00004 #include "G4ParticleTypes.hh"
00005 #include "G4ParticleTable.hh"
00006 #include "G4ProcessManager.hh"
00007 #include "G4eIonisation.hh"
00008 #include "G4MuIonisation.hh"
00009
00010 DummyEMPhysics::DummyEMPhysics(const std::string name)
00011 : G4VPhysicsConstructor(name) {}
00012
00013 DummyEMPhysics::~DummyEMPhysics() {}
00014
00015 void DummyEMPhysics::ConstructParticle() {
00016 G4Electron::ElectronDefinition();
00017 G4MuonMinus::MuonMinusDefinition();
00018 }
00019
00020 void DummyEMPhysics::ConstructProcess() {
00021 G4ProcessManager * m = 0;
00022 m = G4Electron::Electron()->GetProcessManager();
00023 m->AddProcess(new G4eIonisation, -1, 2,2);
00024 m = G4MuonMinus::MuonMinus()->GetProcessManager();
00025 m->AddProcess(new G4MuIonisation, -1, 2,2);
00026 }