Main Page
Namespaces
Classes
Package Documentation
SimG4Core
PhysicsLists
plugins
DummyPhysics.cc
Go to the documentation of this file.
1
#include "DummyPhysics.hh"
2
#include "
SimG4Core/PhysicsLists/interface/DummyEMPhysics.h
"
3
4
#include "
FWCore/MessageLogger/interface/MessageLogger.h
"
5
#include "G4DecayPhysics.hh"
6
7
DummyPhysics::DummyPhysics(
G4LogicalVolumeToDDLogicalPartMap
&
map
,
8
const
HepPDT::ParticleDataTable
*
table_
,
9
sim::ChordFinderSetter
*chordFinderSetter_,
10
const
edm::ParameterSet
&
p
) :
PhysicsList
(map, table_, chordFinderSetter_, p) {
11
12
bool
emPhys = p.
getUntrackedParameter
<
bool
>(
"EMPhysics"
,
true
);
13
RegisterPhysics(
new
G4DecayPhysics(
"decay"
));
14
if
(emPhys)
15
RegisterPhysics(
new
DummyEMPhysics
(
"dummyEM"
));
16
edm::LogInfo
(
"PhysicsList"
) <<
"DummyPhysics constructed with EM Physics "
17
<< emPhys <<
" and Decay"
;
18
}
19
20
DummyPhysics::~DummyPhysics() {}
21
edm::ParameterSet::getUntrackedParameter
T getUntrackedParameter(std::string const &, T const &) const
MessageLogger.h
AlCaHLTBitMon_ParallelJobs.p
p
Definition:
AlCaHLTBitMon_ParallelJobs.py:152
sim::ChordFinderSetter
Definition:
ChordFinderSetter.h:5
ParticleDataTable
HepPDT::ParticleDataTable ParticleDataTable
Definition:
ParticleDataTable.h:8
PhysicsList
Definition:
PhysicsList.h:14
g4SimHits_cfi.DummyEMPhysics
DummyEMPhysics
Definition:
g4SimHits_cfi.py:114
DDMapper< G4LogicalVolume *, DDLogicalPart >
edm::LogInfo
Definition:
MessageLogger.h:216
genParticles_cff.map
map
Definition:
genParticles_cff.py:11
table_
Table table_
Definition:
ExceptionActions.cc:21
DummyEMPhysics.h
edm::ParameterSet
Definition:
ParameterSet.h:36
Generated for CMSSW Reference Manual by
1.8.11