BOSS 7.0.4
BESIII Offline Software System
Loading...
Searching...
No Matches
ExN04EMPhysics Class Reference

#include <ExN04EMPhysics.hh>

+ Inheritance diagram for ExN04EMPhysics:

Public Member Functions

 ExN04EMPhysics (const G4String &name="EM")
 
virtual ~ExN04EMPhysics ()
 
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 53 of file ExN04EMPhysics.hh.

Constructor & Destructor Documentation

◆ ExN04EMPhysics()

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

Definition at line 35 of file ExN04EMPhysics.cxx.

36 : G4VPhysicsConstructor(name)
37{
38}

◆ ~ExN04EMPhysics()

ExN04EMPhysics::~ExN04EMPhysics ( )
virtual

Definition at line 40 of file ExN04EMPhysics.cxx.

41{
42}

Member Function Documentation

◆ ConstructParticle()

void ExN04EMPhysics::ConstructParticle ( )
virtual

Definition at line 55 of file ExN04EMPhysics.cxx.

56{
57 // gamma
58 G4Gamma::GammaDefinition();
59
60 // electron
61 G4Electron::ElectronDefinition();
62 G4Positron::PositronDefinition();
63 G4NeutrinoE::NeutrinoEDefinition();
64 G4AntiNeutrinoE::AntiNeutrinoEDefinition();
65}

◆ ConstructProcess()

void ExN04EMPhysics::ConstructProcess ( )
virtual

Definition at line 71 of file ExN04EMPhysics.cxx.

72{
73 G4ProcessManager * pManager = 0;
74
75 // Gamma Physics
76 pManager = G4Gamma::Gamma()->GetProcessManager();
77 pManager->AddDiscreteProcess(&thePhotoEffect);
78 pManager->AddDiscreteProcess(&theComptonEffect);
79 pManager->AddDiscreteProcess(&thePairProduction);
80
81 // Electron Physics
82 pManager = G4Electron::Electron()->GetProcessManager();
83 // add processes
84 pManager->AddDiscreteProcess(&theElectronBremsStrahlung);
85
86 pManager->AddProcess(&theElectronIonisation, ordInActive,2, 2);
87
88 pManager->AddProcess(&theElectronMultipleScattering);
89 pManager->SetProcessOrdering(&theElectronMultipleScattering, idxAlongStep, 1);
90 pManager->SetProcessOrdering(&theElectronMultipleScattering, idxPostStep, 1);
91
92 //Positron Physics
93 pManager = G4Positron::Positron()->GetProcessManager();
94 // add processes
95 pManager->AddDiscreteProcess(&thePositronBremsStrahlung);
96
97 pManager->AddDiscreteProcess(&theAnnihilation);
98
99 pManager->AddRestProcess(&theAnnihilation);
100
101 pManager->AddProcess(&thePositronIonisation, ordInActive,2, 2);
102
103 pManager->AddProcess(&thePositronMultipleScattering);
104 pManager->SetProcessOrdering(&thePositronMultipleScattering, idxAlongStep, 1);
105 pManager->SetProcessOrdering(&thePositronMultipleScattering, idxPostStep, 1);
106
107}
G4MultipleScattering thePositronMultipleScattering
G4eIonisation theElectronIonisation
G4ComptonScattering theComptonEffect
G4eBremsstrahlung theElectronBremsStrahlung
G4MultipleScattering theElectronMultipleScattering
G4PhotoElectricEffect thePhotoEffect
G4eplusAnnihilation theAnnihilation
G4GammaConversion thePairProduction
G4eIonisation thePositronIonisation
G4eBremsstrahlung thePositronBremsStrahlung

Member Data Documentation

◆ theAnnihilation

G4eplusAnnihilation ExN04EMPhysics::theAnnihilation
protected

Definition at line 84 of file ExN04EMPhysics.hh.

Referenced by ConstructProcess().

◆ theComptonEffect

G4ComptonScattering ExN04EMPhysics::theComptonEffect
protected

Definition at line 72 of file ExN04EMPhysics.hh.

Referenced by ConstructProcess().

◆ theElectronBremsStrahlung

G4eBremsstrahlung ExN04EMPhysics::theElectronBremsStrahlung
protected

Definition at line 78 of file ExN04EMPhysics.hh.

Referenced by ConstructProcess().

◆ theElectronIonisation

G4eIonisation ExN04EMPhysics::theElectronIonisation
protected

Definition at line 77 of file ExN04EMPhysics.hh.

Referenced by ConstructProcess().

◆ theElectronMultipleScattering

G4MultipleScattering ExN04EMPhysics::theElectronMultipleScattering
protected

Definition at line 76 of file ExN04EMPhysics.hh.

Referenced by ConstructProcess().

◆ thePairProduction

G4GammaConversion ExN04EMPhysics::thePairProduction
protected

Definition at line 73 of file ExN04EMPhysics.hh.

Referenced by ConstructProcess().

◆ thePhotoEffect

G4PhotoElectricEffect ExN04EMPhysics::thePhotoEffect
protected

Definition at line 71 of file ExN04EMPhysics.hh.

Referenced by ConstructProcess().

◆ thePositronBremsStrahlung

G4eBremsstrahlung ExN04EMPhysics::thePositronBremsStrahlung
protected

Definition at line 83 of file ExN04EMPhysics.hh.

Referenced by ConstructProcess().

◆ thePositronIonisation

G4eIonisation ExN04EMPhysics::thePositronIonisation
protected

Definition at line 82 of file ExN04EMPhysics.hh.

Referenced by ConstructProcess().

◆ thePositronMultipleScattering

G4MultipleScattering ExN04EMPhysics::thePositronMultipleScattering
protected

Definition at line 81 of file ExN04EMPhysics.hh.

Referenced by ConstructProcess().


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