CMS 3D CMS Logo

Public Member Functions

DummyEMPhysics Class Reference

#include <DummyEMPhysics.h>

List of all members.

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.

  : G4VPhysicsConstructor(name) {}
DummyEMPhysics::~DummyEMPhysics ( ) [virtual]

Definition at line 13 of file DummyEMPhysics.cc.

{}

Member Function Documentation

void DummyEMPhysics::ConstructParticle ( ) [virtual]

Definition at line 15 of file DummyEMPhysics.cc.

                                       {
  G4Electron::ElectronDefinition();     
  G4MuonMinus::MuonMinusDefinition();
}
void DummyEMPhysics::ConstructProcess ( ) [virtual]

Definition at line 20 of file DummyEMPhysics.cc.

References m.

                                      {
  G4ProcessManager * m = 0;
  m = G4Electron::Electron()->GetProcessManager();
  m->AddProcess(new G4eIonisation,        -1, 2,2);
  m = G4MuonMinus::MuonMinus()->GetProcessManager();
  m->AddProcess(new G4MuIonisation,       -1, 2,2);
}