Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
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
) :
PhysicsList
(p) {
8
bool
emPhys = p.
getUntrackedParameter
<
bool
>(
"EMPhysics"
,
true
);
9
int
ver = p.
getUntrackedParameter
<
int
>(
"Verbosity"
, 0);
10
if
(emPhys) {
11
RegisterPhysics(
new
DummyEMPhysics
(ver));
12
}
13
RegisterPhysics(
new
G4DecayPhysics(ver));
14
edm::LogVerbatim
(
"PhysicsList"
) <<
"DummyPhysics constructed with EM Physics "
<< emPhys <<
" and Decay"
;
15
}
edm::LogVerbatim
Log< level::Info, true > LogVerbatim
Definition:
MessageLogger.h:128
edm::ParameterSet::getUntrackedParameter
T getUntrackedParameter(std::string const &, T const &) const
MessageLogger.h
DummyPhysics.h
DummyEMPhysics
Definition:
DummyEMPhysics.h:8
PhysicsList
Definition:
PhysicsList.h:7
DummyPhysics::DummyPhysics
DummyPhysics(const edm::ParameterSet &)
Definition:
DummyPhysics.cc:7
DummyEMPhysics.h
AlCaHLTBitMon_ParallelJobs.p
tuple p
Definition:
AlCaHLTBitMon_ParallelJobs.py:153
edm::ParameterSet
Definition:
ParameterSet.h:47
Generated for CMSSW Reference Manual by
1.8.5