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