CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups 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::LogVerbatim("PhysicsList") << "DummyPhysics constructed with EM Physics " << emPhys << " and Decay";
15 }
Log< level::Info, true > LogVerbatim
T getUntrackedParameter(std::string const &, T const &) const
DummyPhysics(const edm::ParameterSet &)
Definition: DummyPhysics.cc:7