BOSS 6.6.4.p01
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
 
G4MultipleScattering theElectronMultipleScattering
 
G4eIonisation theElectronIonisation
 
G4eBremsstrahlung theElectronBremsStrahlung
 
G4MultipleScattering thePositronMultipleScattering
 
G4eIonisation thePositronIonisation
 
G4eBremsstrahlung thePositronBremsStrahlung
 
G4eplusAnnihilation theAnnihilation
 

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 G4ProcessManager * pManager = 0;
50
51 // Gamma Physics
52 pManager = G4Gamma::Gamma()->GetProcessManager();
53 pManager->AddDiscreteProcess(&thePhotoEffect);
54 pManager->AddDiscreteProcess(&theComptonEffect);
55 pManager->AddDiscreteProcess(&thePairProduction);
56
57 // Electron Physics
58 pManager = G4Electron::Electron()->GetProcessManager();
59
60 pManager->AddProcess(&theElectronMultipleScattering, -1, 1, 1);
61 pManager->AddProcess(&theElectronIonisation, -1, 2, 2);
62 pManager->AddProcess(&theElectronBremsStrahlung, -1, 3, 3);
63// pManager->AddProcess(new G4StepLimiter, -1, -1,4);
64 //pManager->AddDiscreteProcess(new G4StepLimiter);
65 //Positron Physics
66 pManager = G4Positron::Positron()->GetProcessManager();
67
68 pManager->AddProcess(&thePositronMultipleScattering, -1, 1, 1);
69 pManager->AddProcess(&thePositronIonisation, -1, 2, 2);
70 pManager->AddProcess(&thePositronBremsStrahlung, -1, 3, 3);
71 pManager->AddProcess(&theAnnihilation, 0,-1, 4);
72}
G4ComptonScattering theComptonEffect
Definition: BesEMPhysics.hh:37
G4eIonisation thePositronIonisation
Definition: BesEMPhysics.hh:47
G4MultipleScattering thePositronMultipleScattering
Definition: BesEMPhysics.hh:46
G4MultipleScattering theElectronMultipleScattering
Definition: BesEMPhysics.hh:41
G4PhotoElectricEffect thePhotoEffect
Definition: BesEMPhysics.hh:36
G4GammaConversion thePairProduction
Definition: BesEMPhysics.hh:38
G4eplusAnnihilation theAnnihilation
Definition: BesEMPhysics.hh:49
G4eIonisation theElectronIonisation
Definition: BesEMPhysics.hh:42
G4eBremsstrahlung theElectronBremsStrahlung
Definition: BesEMPhysics.hh:43
G4eBremsstrahlung thePositronBremsStrahlung
Definition: BesEMPhysics.hh:48

Member Data Documentation

◆ theAnnihilation

G4eplusAnnihilation BesEMPhysics::theAnnihilation
protected

Definition at line 49 of file BesEMPhysics.hh.

Referenced by ConstructProcess().

◆ theComptonEffect

G4ComptonScattering BesEMPhysics::theComptonEffect
protected

Definition at line 37 of file BesEMPhysics.hh.

Referenced by ConstructProcess().

◆ theElectronBremsStrahlung

G4eBremsstrahlung BesEMPhysics::theElectronBremsStrahlung
protected

Definition at line 43 of file BesEMPhysics.hh.

Referenced by ConstructProcess().

◆ theElectronIonisation

G4eIonisation BesEMPhysics::theElectronIonisation
protected

Definition at line 42 of file BesEMPhysics.hh.

Referenced by ConstructProcess().

◆ theElectronMultipleScattering

G4MultipleScattering BesEMPhysics::theElectronMultipleScattering
protected

Definition at line 41 of file BesEMPhysics.hh.

Referenced by ConstructProcess().

◆ thePairProduction

G4GammaConversion BesEMPhysics::thePairProduction
protected

Definition at line 38 of file BesEMPhysics.hh.

Referenced by ConstructProcess().

◆ thePhotoEffect

G4PhotoElectricEffect BesEMPhysics::thePhotoEffect
protected

Definition at line 36 of file BesEMPhysics.hh.

Referenced by ConstructProcess().

◆ thePositronBremsStrahlung

G4eBremsstrahlung BesEMPhysics::thePositronBremsStrahlung
protected

Definition at line 48 of file BesEMPhysics.hh.

Referenced by ConstructProcess().

◆ thePositronIonisation

G4eIonisation BesEMPhysics::thePositronIonisation
protected

Definition at line 47 of file BesEMPhysics.hh.

Referenced by ConstructProcess().

◆ thePositronMultipleScattering

G4MultipleScattering BesEMPhysics::thePositronMultipleScattering
protected

Definition at line 46 of file BesEMPhysics.hh.

Referenced by ConstructProcess().


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