CMS 3D CMS Logo

List of all members | Public Member Functions
DummyPhysics Class Reference

#include <DummyPhysics.h>

Inheritance diagram for DummyPhysics:
PhysicsList

Public Member Functions

 DummyPhysics (G4LogicalVolumeToDDLogicalPartMap &, const HepPDT::ParticleDataTable *, sim::ChordFinderSetter *, const edm::ParameterSet &)
 
 ~DummyPhysics () override=default
 
- Public Member Functions inherited from PhysicsList
 PhysicsList (G4LogicalVolumeToDDLogicalPartMap &map, const HepPDT::ParticleDataTable *table_, sim::ChordFinderSetter *chordFinderSetter_, const edm::ParameterSet &p)
 
void SetCuts () override
 
 ~PhysicsList () override
 

Detailed Description

Definition at line 7 of file DummyPhysics.h.

Constructor & Destructor Documentation

DummyPhysics::DummyPhysics ( G4LogicalVolumeToDDLogicalPartMap map,
const HepPDT::ParticleDataTable table_,
sim::ChordFinderSetter chordFinderSetter_,
const edm::ParameterSet p 
)

Definition at line 7 of file DummyPhysics.cc.

References g4SimHits_cfi::DummyEMPhysics, and edm::ParameterSet::getUntrackedParameter().

10  : 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 }
T getUntrackedParameter(std::string const &, T const &) const
PhysicsList(G4LogicalVolumeToDDLogicalPartMap &map, const HepPDT::ParticleDataTable *table_, sim::ChordFinderSetter *chordFinderSetter_, const edm::ParameterSet &p)
Definition: PhysicsList.cc:3
Table table_
DummyPhysics::~DummyPhysics ( )
overridedefault