Main Page
Namespaces
Classes
Package Documentation
src
SimG4Core
CustomPhysics
src
CMSExoticaPhysics.cc
Go to the documentation of this file.
1
#include "
SimG4Core/CustomPhysics/interface/CMSExoticaPhysics.h
"
2
#include "
SimG4Core/CustomPhysics/interface/CustomPhysicsList.h
"
3
#include "
SimG4Core/CustomPhysics/interface/CustomPhysicsListSS.h
"
4
#include "
FWCore/MessageLogger/interface/MessageLogger.h
"
5
6
CMSExoticaPhysics::CMSExoticaPhysics
(
PhysicsList
* phys,
const
edm::ParameterSet
&
p
) {
7
bool
ssPhys = p.
getUntrackedParameter
<
bool
>(
"ExoticaPhysicsSS"
,
false
);
8
9
if
(ssPhys) {
10
phys->RegisterPhysics(
new
CustomPhysicsListSS
(
"custom"
, p,
true
));
11
}
else
{
12
phys->RegisterPhysics(
new
CustomPhysicsList
(
"custom"
, p,
true
));
13
}
14
}
CMSExoticaPhysics.h
CMSExoticaPhysics::CMSExoticaPhysics
CMSExoticaPhysics(PhysicsList *phys, const edm::ParameterSet &p)
Definition:
CMSExoticaPhysics.cc:6
edm::ParameterSet::getUntrackedParameter
T getUntrackedParameter(std::string const &, T const &) const
MessageLogger.h
AlCaHLTBitMon_ParallelJobs.p
p
Definition:
AlCaHLTBitMon_ParallelJobs.py:153
CustomPhysicsListSS
Definition:
CustomPhysicsListSS.h:11
CustomPhysicsList.h
PhysicsList
Definition:
PhysicsList.h:7
CustomPhysicsList
Definition:
CustomPhysicsList.h:12
CustomPhysicsListSS.h
edm::ParameterSet
Definition:
ParameterSet.h:36
Generated for CMSSW Reference Manual by
1.8.11