BOSS 8.0.0
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 34 of file ExN04EMPhysics.cxx.

34: G4VPhysicsConstructor( name ) {}

◆ ~ExN04EMPhysics()

ExN04EMPhysics::~ExN04EMPhysics ( )
virtual

Definition at line 36 of file ExN04EMPhysics.cxx.

36{}

Member Function Documentation

◆ ConstructParticle()

void ExN04EMPhysics::ConstructParticle ( )
virtual

Definition at line 49 of file ExN04EMPhysics.cxx.

49 {
50 // gamma
51 G4Gamma::GammaDefinition();
52
53 // electron
54 G4Electron::ElectronDefinition();
55 G4Positron::PositronDefinition();
56 G4NeutrinoE::NeutrinoEDefinition();
57 G4AntiNeutrinoE::AntiNeutrinoEDefinition();
58}

◆ ConstructProcess()

void ExN04EMPhysics::ConstructProcess ( )
virtual

Definition at line 62 of file ExN04EMPhysics.cxx.

62 {
63 G4ProcessManager* pManager = 0;
64
65 // Gamma Physics
66 pManager = G4Gamma::Gamma()->GetProcessManager();
67 pManager->AddDiscreteProcess( &thePhotoEffect );
68 pManager->AddDiscreteProcess( &theComptonEffect );
69 pManager->AddDiscreteProcess( &thePairProduction );
70
71 // Electron Physics
72 pManager = G4Electron::Electron()->GetProcessManager();
73 // add processes
74 pManager->AddDiscreteProcess( &theElectronBremsStrahlung );
75
76 pManager->AddProcess( &theElectronIonisation, ordInActive, 2, 2 );
77
78 pManager->AddProcess( &theElectronMultipleScattering );
79 pManager->SetProcessOrdering( &theElectronMultipleScattering, idxAlongStep, 1 );
80 pManager->SetProcessOrdering( &theElectronMultipleScattering, idxPostStep, 1 );
81
82 // Positron Physics
83 pManager = G4Positron::Positron()->GetProcessManager();
84 // add processes
85 pManager->AddDiscreteProcess( &thePositronBremsStrahlung );
86
87 pManager->AddDiscreteProcess( &theAnnihilation );
88
89 pManager->AddRestProcess( &theAnnihilation );
90
91 pManager->AddProcess( &thePositronIonisation, ordInActive, 2, 2 );
92
93 pManager->AddProcess( &thePositronMultipleScattering );
94 pManager->SetProcessOrdering( &thePositronMultipleScattering, idxAlongStep, 1 );
95 pManager->SetProcessOrdering( &thePositronMultipleScattering, idxPostStep, 1 );
96}
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 83 of file ExN04EMPhysics.hh.

Referenced by ConstructProcess().

◆ theComptonEffect

G4ComptonScattering ExN04EMPhysics::theComptonEffect
protected

Definition at line 71 of file ExN04EMPhysics.hh.

Referenced by ConstructProcess().

◆ theElectronBremsStrahlung

G4eBremsstrahlung ExN04EMPhysics::theElectronBremsStrahlung
protected

Definition at line 77 of file ExN04EMPhysics.hh.

Referenced by ConstructProcess().

◆ theElectronIonisation

G4eIonisation ExN04EMPhysics::theElectronIonisation
protected

Definition at line 76 of file ExN04EMPhysics.hh.

Referenced by ConstructProcess().

◆ theElectronMultipleScattering

G4MultipleScattering ExN04EMPhysics::theElectronMultipleScattering
protected

Definition at line 75 of file ExN04EMPhysics.hh.

Referenced by ConstructProcess().

◆ thePairProduction

G4GammaConversion ExN04EMPhysics::thePairProduction
protected

Definition at line 72 of file ExN04EMPhysics.hh.

Referenced by ConstructProcess().

◆ thePhotoEffect

G4PhotoElectricEffect ExN04EMPhysics::thePhotoEffect
protected

Definition at line 70 of file ExN04EMPhysics.hh.

Referenced by ConstructProcess().

◆ thePositronBremsStrahlung

G4eBremsstrahlung ExN04EMPhysics::thePositronBremsStrahlung
protected

Definition at line 82 of file ExN04EMPhysics.hh.

Referenced by ConstructProcess().

◆ thePositronIonisation

G4eIonisation ExN04EMPhysics::thePositronIonisation
protected

Definition at line 81 of file ExN04EMPhysics.hh.

Referenced by ConstructProcess().

◆ thePositronMultipleScattering

G4MultipleScattering ExN04EMPhysics::thePositronMultipleScattering
protected

Definition at line 80 of file ExN04EMPhysics.hh.

Referenced by ConstructProcess().


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