Main Page
Namespaces
Classes
Package Documentation
SimG4Core
PhysicsLists
src
DummyEMPhysics.cc
Go to the documentation of this file.
1
#include "
SimG4Core/PhysicsLists/interface/DummyEMPhysics.h
"
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
10
DummyEMPhysics::DummyEMPhysics
(
const
std::string
name
)
11
: G4VPhysicsConstructor(name) {}
12
13
DummyEMPhysics::~DummyEMPhysics
() {}
14
15
void
DummyEMPhysics::ConstructParticle
() {
16
G4Electron::ElectronDefinition();
17
G4MuonMinus::MuonMinusDefinition();
18
}
19
20
void
DummyEMPhysics::ConstructProcess
() {
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
}
DummyEMPhysics::ConstructParticle
void ConstructParticle() override
Definition:
DummyEMPhysics.cc:15
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:255
DummyEMPhysics::~DummyEMPhysics
~DummyEMPhysics() override
Definition:
DummyEMPhysics.cc:13
DummyEMPhysics.h
DummyEMPhysics::ConstructProcess
void ConstructProcess() override
Definition:
DummyEMPhysics.cc:20
dataset.name
name
Definition:
dataset.py:45
DummyEMPhysics::DummyEMPhysics
DummyEMPhysics(const std::string name="dummyEM")
Definition:
DummyEMPhysics.cc:10
nanoDQM_cfi.Electron
Electron
Definition:
nanoDQM_cfi.py:15
Generated for CMSSW Reference Manual by
1.8.11