CMS 3D CMS Logo

DummyPhysics.cc
Go to the documentation of this file.
1 #include "DummyPhysics.h"
3 
5 #include "G4DecayPhysics.hh"
6 
9  sim::ChordFinderSetter *chordFinderSetter_,
10  const edm::ParameterSet & p) : PhysicsList(map, table_, chordFinderSetter_, p) {
11 
12  bool emPhys = p.getUntrackedParameter<bool>("EMPhysics",true);
13  int ver = p.getUntrackedParameter<int>("Verbosity",0);
14  if (emPhys) {
15  RegisterPhysics(new DummyEMPhysics(ver));
16  }
17  RegisterPhysics(new G4DecayPhysics(ver));
18  edm::LogInfo("PhysicsList") << "DummyPhysics constructed with EM Physics "
19  << emPhys << " and Decay";
20 }
21 
DummyPhysics(G4LogicalVolumeToDDLogicalPartMap &, const HepPDT::ParticleDataTable *, sim::ChordFinderSetter *, const edm::ParameterSet &)
Definition: DummyPhysics.cc:7
T getUntrackedParameter(std::string const &, T const &) const
HepPDT::ParticleDataTable ParticleDataTable
Table table_