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 (const edm::ParameterSet &)
 
 ~DummyPhysics () override=default
 
- Public Member Functions inherited from PhysicsList
 PhysicsList (const edm::ParameterSet &p)
 
void SetCuts () override
 
 ~PhysicsList () override
 

Detailed Description

Definition at line 7 of file DummyPhysics.h.

Constructor & Destructor Documentation

◆ DummyPhysics()

DummyPhysics::DummyPhysics ( const edm::ParameterSet p)

Definition at line 7 of file DummyPhysics.cc.

7  : PhysicsList(p) {
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 }

References g4SimHits_cfi::DummyEMPhysics, and AlCaHLTBitMon_ParallelJobs::p.

◆ ~DummyPhysics()

DummyPhysics::~DummyPhysics ( )
overridedefault
PhysicsList::PhysicsList
PhysicsList(const edm::ParameterSet &p)
Definition: PhysicsList.cc:3
AlCaHLTBitMon_ParallelJobs.p
p
Definition: AlCaHLTBitMon_ParallelJobs.py:153
g4SimHits_cfi.DummyEMPhysics
DummyEMPhysics
Definition: g4SimHits_cfi.py:160
edm::LogVerbatim
Log< level::Info, true > LogVerbatim
Definition: MessageLogger.h:128