Main Page
Namespaces
Classes
Package Documentation
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
8
bool
ssPhys = p.
getUntrackedParameter
<
bool
>(
"ExoticaPhysicsSS"
,
false
);
9
10
if
(ssPhys) {
11
phys->RegisterPhysics(
new
CustomPhysicsListSS
(
"custom"
,p,
true
));
12
}
else
{
13
phys->RegisterPhysics(
new
CustomPhysicsList
(
"custom"
,p,
true
));
14
}
15
}
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:152
CustomPhysicsListSS
Definition:
CustomPhysicsListSS.h:12
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