Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
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 <<
"\n"
;
18
}
19
20
DummyPhysics::~DummyPhysics() {}
21
edm::ParameterSet::getUntrackedParameter
T getUntrackedParameter(std::string const &, T const &) const
MessageLogger.h
sim::ChordFinderSetter
Definition:
ChordFinderSetter.h:8
ParticleDataTable
HepPDT::ParticleDataTable ParticleDataTable
Definition:
ParticleDataTable.h:8
DummyEMPhysics
Definition:
DummyEMPhysics.h:6
PhysicsList
Definition:
PhysicsList.h:15
python.multivaluedict.map
def map
Definition:
multivaluedict.py:125
DDMapper< G4LogicalVolume *, DDLogicalPart >
edm::LogInfo
Definition:
MessageLogger.h:214
table_
Table table_
Definition:
ExceptionActions.cc:22
DummyEMPhysics.h
AlCaHLTBitMon_ParallelJobs.p
tuple p
Definition:
AlCaHLTBitMon_ParallelJobs.py:152
edm::ParameterSet
Definition:
ParameterSet.h:35
Generated for CMSSW Reference Manual by
1.8.5