Main Page
Namespaces
Classes
Package Documentation
SimG4Core
PhysicsLists
plugins
DummyPhysics.cc
Go to the documentation of this file.
1
#include "
DummyPhysics.h
"
2
#include "
SimG4Core/PhysicsLists/interface/DummyEMPhysics.h
"
3
4
#include "
FWCore/MessageLogger/interface/MessageLogger.h
"
5
#include "G4DecayPhysics.hh"
6
7
DummyPhysics::DummyPhysics
(
const
edm::ParameterSet
&
p
)
8
:
PhysicsList
(p) {
9
10
bool
emPhys = p.
getUntrackedParameter
<
bool
>(
"EMPhysics"
,
true
);
11
int
ver = p.
getUntrackedParameter
<
int
>(
"Verbosity"
,0);
12
if
(emPhys) {
13
RegisterPhysics(
new
DummyEMPhysics
(ver));
14
}
15
RegisterPhysics(
new
G4DecayPhysics(ver));
16
edm::LogInfo
(
"PhysicsList"
) <<
"DummyPhysics constructed with EM Physics "
17
<< emPhys <<
" and Decay"
;
18
}
19
edm::ParameterSet::getUntrackedParameter
T getUntrackedParameter(std::string const &, T const &) const
MessageLogger.h
AlCaHLTBitMon_ParallelJobs.p
p
Definition:
AlCaHLTBitMon_ParallelJobs.py:153
DummyPhysics.h
PhysicsList
Definition:
PhysicsList.h:7
DummyPhysics::DummyPhysics
DummyPhysics(const edm::ParameterSet &)
Definition:
DummyPhysics.cc:7
g4SimHits_cfi.DummyEMPhysics
DummyEMPhysics
Definition:
g4SimHits_cfi.py:118
edm::LogInfo
Definition:
MessageLogger.h:238
DummyEMPhysics.h
edm::ParameterSet
Definition:
ParameterSet.h:36
Generated for CMSSW Reference Manual by
1.8.11