CMS 3D CMS Logo

List of all members | Public Member Functions
CMSExoticaPhysics Class Reference

#include <CMSExoticaPhysics.h>

Public Member Functions

 CMSExoticaPhysics (PhysicsList *phys, const edm::ParameterSet &p)
 
 ~CMSExoticaPhysics ()=default
 

Detailed Description

Definition at line 13 of file CMSExoticaPhysics.h.

Constructor & Destructor Documentation

CMSExoticaPhysics::CMSExoticaPhysics ( PhysicsList phys,
const edm::ParameterSet p 
)

Definition at line 6 of file CMSExoticaPhysics.cc.

References edm::ParameterSet::getUntrackedParameter().

6  {
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 }
T getUntrackedParameter(std::string const &, T const &) const
CMSExoticaPhysics::~CMSExoticaPhysics ( )
default