test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions
DummyEMPhysics Class Reference

#include <DummyEMPhysics.h>

Inheritance diagram for DummyEMPhysics:

Public Member Functions

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

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 ( )
virtual

Definition at line 13 of file DummyEMPhysics.cc.

13 {}

Member Function Documentation

void DummyEMPhysics::ConstructParticle ( )
virtual

Definition at line 15 of file DummyEMPhysics.cc.

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

Definition at line 20 of file DummyEMPhysics.cc.

References configurableAnalysis::Electron, and visualization-live-secondInstance_cfg::m.

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