CMS 3D CMS Logo

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 }
DummyEMPhysics.h
MessageLogger.h
DummyPhysics.h
AlCaHLTBitMon_ParallelJobs.p
p
Definition: AlCaHLTBitMon_ParallelJobs.py:153
edm::LogInfo
Log< level::Info, false > LogInfo
Definition: MessageLogger.h:125
DummyPhysics::DummyPhysics
DummyPhysics(const edm::ParameterSet &)
Definition: DummyPhysics.cc:7
PhysicsList
Definition: PhysicsList.h:7
g4SimHits_cfi.DummyEMPhysics
DummyEMPhysics
Definition: g4SimHits_cfi.py:135
edm::ParameterSet
Definition: ParameterSet.h:47