CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
DummyPhysics.cc
Go to the documentation of this file.
1 #include "DummyPhysics.h"
3 
5 #include "G4DecayPhysics.hh"
6 
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::LogInfo("PhysicsList") << "DummyPhysics constructed with EM Physics " << emPhys << " and Decay";
15 }
T getUntrackedParameter(std::string const &, T const &) const
DummyPhysics(const edm::ParameterSet &)
Definition: DummyPhysics.cc:7