CMS 3D CMS Logo

List of all members | Public Member Functions
DummyEMPhysics Class Reference

#include <DummyEMPhysics.h>

Inheritance diagram for DummyEMPhysics:

Public Member Functions

void ConstructParticle () override
 
void ConstructProcess () override
 
 DummyEMPhysics (const std::string name="dummyEM")
 
 ~DummyEMPhysics () override
 

Detailed Description

Definition at line 6 of file DummyEMPhysics.h.

Constructor & Destructor Documentation

DummyEMPhysics::DummyEMPhysics ( const std::string  name = "dummyEM")

Definition at line 10 of file DummyEMPhysics.cc.

11  : G4VPhysicsConstructor(name) {}
DummyEMPhysics::~DummyEMPhysics ( )
override

Definition at line 13 of file DummyEMPhysics.cc.

13 {}

Member Function Documentation

void DummyEMPhysics::ConstructParticle ( )
override

Definition at line 15 of file DummyEMPhysics.cc.

15  {
16  G4Electron::ElectronDefinition();
17  G4MuonMinus::MuonMinusDefinition();
18 }
void DummyEMPhysics::ConstructProcess ( )
override

Definition at line 20 of file DummyEMPhysics.cc.

References configurableAnalysis::Electron.

20  {
21  G4ProcessManager * man = nullptr;
22  man = G4Electron::Electron()->GetProcessManager();
23  man->AddProcess(new G4eIonisation, -1, 2,2);
24  man = G4MuonMinus::MuonMinus()->GetProcessManager();
25  man->AddProcess(new G4MuIonisation, -1, 2,2);
26 }