BOSS 7.1.1
BESIII Offline Software System
Loading...
Searching...
No Matches
BesEMPhysics Class Reference

#include <BesEMPhysics.hh>

+ Inheritance diagram for BesEMPhysics:

Public Member Functions

 BesEMPhysics (const G4String &name="EM")
 
virtual ~BesEMPhysics ()
 
virtual void ConstructParticle ()
 
virtual void ConstructProcess ()
 

Protected Attributes

G4PhotoElectricEffect thePhotoEffect
 
G4ComptonScattering theComptonEffect
 
G4GammaConversion thePairProduction
 

Detailed Description

Definition at line 18 of file BesEMPhysics.hh.

Constructor & Destructor Documentation

◆ BesEMPhysics()

BesEMPhysics::BesEMPhysics ( const G4String & name = "EM")

Definition at line 9 of file BesEMPhysics.cc.

10 : G4VPhysicsConstructor(name)
11{
12}

◆ ~BesEMPhysics()

BesEMPhysics::~BesEMPhysics ( )
virtual

Definition at line 14 of file BesEMPhysics.cc.

15{
16}

Member Function Documentation

◆ ConstructParticle()

void BesEMPhysics::ConstructParticle ( )
virtual

Definition at line 31 of file BesEMPhysics.cc.

32{
33 // gamma
34 G4Gamma::GammaDefinition();
35
36 // electron
37 G4Electron::ElectronDefinition();
38 G4Positron::PositronDefinition();
39 G4NeutrinoE::NeutrinoEDefinition();
40 G4AntiNeutrinoE::AntiNeutrinoEDefinition();
41}

◆ ConstructProcess()

void BesEMPhysics::ConstructProcess ( )
virtual

Definition at line 47 of file BesEMPhysics.cc.

48{
49 /*
50 G4ProcessManager * pManager = 0;
51
52 // Gamma Physics
53 pManager = G4Gamma::Gamma()->GetProcessManager();
54 pManager->AddDiscreteProcess(&thePhotoEffect);
55 pManager->AddDiscreteProcess(&theComptonEffect);
56 pManager->AddDiscreteProcess(&thePairProduction);
57
58 // Electron Physics
59 pManager = G4Electron::Electron()->GetProcessManager();
60
61 pManager->AddProcess(&theElectronMultipleScattering, -1, 1, 1);
62 pManager->AddProcess(&theElectronIonisation, -1, 2, 2);
63 pManager->AddProcess(&theElectronBremsStrahlung, -1, 3, 3);
64// pManager->AddProcess(new G4StepLimiter, -1, -1,4);
65 //pManager->AddDiscreteProcess(new G4StepLimiter);
66 //Positron Physics
67 pManager = G4Positron::Positron()->GetProcessManager();
68
69 pManager->AddProcess(&thePositronMultipleScattering, -1, 1, 1);
70 pManager->AddProcess(&thePositronIonisation, -1, 2, 2);
71 pManager->AddProcess(&thePositronBremsStrahlung, -1, 3, 3);
72 pManager->AddProcess(&theAnnihilation, 0,-1, 4); */
73}

Member Data Documentation

◆ theComptonEffect

G4ComptonScattering BesEMPhysics::theComptonEffect
protected

Definition at line 37 of file BesEMPhysics.hh.

◆ thePairProduction

G4GammaConversion BesEMPhysics::thePairProduction
protected

Definition at line 38 of file BesEMPhysics.hh.

◆ thePhotoEffect

G4PhotoElectricEffect BesEMPhysics::thePhotoEffect
protected

Definition at line 36 of file BesEMPhysics.hh.


The documentation for this class was generated from the following files: