Geant4
10.00.p02
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
LXeEMPhysics.cc
Go to the documentation of this file.
1
//
2
// ********************************************************************
3
// * License and Disclaimer *
4
// * *
5
// * The Geant4 software is copyright of the Copyright Holders of *
6
// * the Geant4 Collaboration. It is provided under the terms and *
7
// * conditions of the Geant4 Software License, included in the file *
8
// * LICENSE and available at http://cern.ch/geant4/license . These *
9
// * include a list of copyright holders. *
10
// * *
11
// * Neither the authors of this software system, nor their employing *
12
// * institutes,nor the agencies providing financial support for this *
13
// * work make any representation or warranty, express or implied, *
14
// * regarding this software system or assume any liability for its *
15
// * use. Please see the license in the file LICENSE and URL above *
16
// * for the full disclaimer and the limitation of liability. *
17
// * *
18
// * This code implementation is the result of the scientific and *
19
// * technical work of the GEANT4 collaboration. *
20
// * By using, copying, modifying or distributing the software (or *
21
// * any work based on the software) you agree to acknowledge its *
22
// * use in resulting scientific publications, and indicate your *
23
// * acceptance of all terms of the Geant4 Software license. *
24
// ********************************************************************
25
//
26
// $Id: LXeEMPhysics.cc 68752 2013-04-05 10:23:47Z gcosmo $
27
//
30
//
31
//
32
#include "
LXeEMPhysics.hh
"
33
34
#include "
globals.hh
"
35
#include "
G4ios.hh
"
36
#include <iomanip>
37
38
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
39
40
LXeEMPhysics::LXeEMPhysics
(
const
G4String
&
name
)
41
:
G4VPhysicsConstructor
(name)
42
{
43
fPhotoEffect
= NULL;
44
fComptonEffect
= NULL;
45
fPairProduction
= NULL;
46
fElectronMultipleScattering
= NULL;
47
fElectronIonisation
= NULL;
48
fElectronBremsStrahlung
= NULL;
49
fPositronMultipleScattering
= NULL;
50
fPositronIonisation
= NULL;
51
fPositronBremsStrahlung
= NULL;
52
fAnnihilation
= NULL;
53
}
54
55
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
56
57
LXeEMPhysics::~LXeEMPhysics
() {}
58
59
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
60
61
#include "
G4ParticleDefinition.hh
"
62
#include "
G4ParticleTable.hh
"
63
64
#include "
G4Gamma.hh
"
65
66
#include "
G4Electron.hh
"
67
#include "
G4Positron.hh
"
68
69
#include "
G4NeutrinoE.hh
"
70
#include "
G4AntiNeutrinoE.hh
"
71
72
void
LXeEMPhysics::ConstructParticle
()
73
{
74
// gamma
75
G4Gamma::GammaDefinition
();
76
77
// electron
78
G4Electron::ElectronDefinition
();
79
G4Positron::PositronDefinition
();
80
G4NeutrinoE::NeutrinoEDefinition
();
81
G4AntiNeutrinoE::AntiNeutrinoEDefinition
();
82
}
83
84
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
85
86
#include "
G4ProcessManager.hh
"
87
88
void
LXeEMPhysics::ConstructProcess
()
89
{
90
fPhotoEffect
=
new
G4PhotoElectricEffect
();
91
fComptonEffect
=
new
G4ComptonScattering
();
92
fPairProduction
=
new
G4GammaConversion
();
93
94
// Electron physics
95
fElectronMultipleScattering
=
new
G4eMultipleScattering
();
96
fElectronIonisation
=
new
G4eIonisation
();
97
fElectronBremsStrahlung
=
new
G4eBremsstrahlung
();
98
99
//Positron physics
100
fPositronMultipleScattering
=
new
G4eMultipleScattering
();
101
fPositronIonisation
=
new
G4eIonisation
();
102
fPositronBremsStrahlung
=
new
G4eBremsstrahlung
();
103
fAnnihilation
=
new
G4eplusAnnihilation
();
104
105
G4ProcessManager
* pManager = 0;
106
107
// Gamma Physics
108
pManager =
G4Gamma::Gamma
()->
GetProcessManager
();
109
pManager->
AddDiscreteProcess
(
fPhotoEffect
);
110
pManager->
AddDiscreteProcess
(
fComptonEffect
);
111
pManager->
AddDiscreteProcess
(
fPairProduction
);
112
113
// Electron Physics
114
pManager =
G4Electron::Electron
()->
GetProcessManager
();
115
116
pManager->
AddProcess
(
fElectronMultipleScattering
, -1, 1, 1);
117
pManager->
AddProcess
(
fElectronIonisation
, -1, 2, 2);
118
pManager->
AddProcess
(
fElectronBremsStrahlung
, -1, 3, 3);
119
120
//Positron Physics
121
pManager =
G4Positron::Positron
()->
GetProcessManager
();
122
123
pManager->
AddProcess
(
fPositronMultipleScattering
, -1, 1, 1);
124
pManager->
AddProcess
(
fPositronIonisation
, -1, 2, 2);
125
pManager->
AddProcess
(
fPositronBremsStrahlung
, -1, 3, 3);
126
pManager->
AddProcess
(
fAnnihilation
, 0,-1, 4);
127
128
}
G4Electron::ElectronDefinition
static G4Electron * ElectronDefinition()
Definition:
G4Electron.cc:89
G4NeutrinoE.hh
LXeEMPhysics::~LXeEMPhysics
virtual ~LXeEMPhysics()
Definition:
LXeEMPhysics.cc:57
G4AntiNeutrinoE.hh
LXeEMPhysics::fElectronBremsStrahlung
G4eBremsstrahlung * fElectronBremsStrahlung
Definition:
LXeEMPhysics.hh:76
G4PhotoElectricEffect
Definition:
G4PhotoElectricEffect.hh:79
LXeEMPhysics::fPositronIonisation
G4eIonisation * fPositronIonisation
Definition:
LXeEMPhysics.hh:80
LXeEMPhysics::fPhotoEffect
G4PhotoElectricEffect * fPhotoEffect
Definition:
LXeEMPhysics.hh:69
LXeEMPhysics.hh
Definition of the LXeEMPhysics class.
name
G4String name
Definition:
TRTMaterials.hh:40
G4ProcessManager::AddDiscreteProcess
G4int AddDiscreteProcess(G4VProcess *aProcess, G4int ord=ordDefault)
LXeEMPhysics::LXeEMPhysics
LXeEMPhysics(const G4String &name="EM")
Definition:
LXeEMPhysics.cc:40
G4ComptonScattering
Definition:
G4ComptonScattering.hh:71
G4ParticleDefinition::GetProcessManager
G4ProcessManager * GetProcessManager() const
LXeEMPhysics::fPositronBremsStrahlung
G4eBremsstrahlung * fPositronBremsStrahlung
Definition:
LXeEMPhysics.hh:81
LXeEMPhysics::fPairProduction
G4GammaConversion * fPairProduction
Definition:
LXeEMPhysics.hh:71
G4GammaConversion
Definition:
G4GammaConversion.hh:75
G4ParticleTable.hh
G4ProcessManager::AddProcess
G4int AddProcess(G4VProcess *aProcess, G4int ordAtRestDoIt=ordInActive, G4int ordAlongSteptDoIt=ordInActive, G4int ordPostStepDoIt=ordInActive)
Definition:
G4ProcessManager.cc:410
G4NeutrinoE::NeutrinoEDefinition
static G4NeutrinoE * NeutrinoEDefinition()
Definition:
G4NeutrinoE.cc:80
LXeEMPhysics::ConstructParticle
virtual void ConstructParticle()
Definition:
LXeEMPhysics.cc:72
G4Positron.hh
G4ProcessManager.hh
G4ParticleDefinition.hh
G4Gamma::Gamma
static G4Gamma * Gamma()
Definition:
G4Gamma.cc:86
globals.hh
G4Positron::PositronDefinition
static G4Positron * PositronDefinition()
Definition:
G4Positron.cc:89
G4eBremsstrahlung
Definition:
G4eBremsstrahlung.hh:81
G4Positron::Positron
static G4Positron * Positron()
Definition:
G4Positron.cc:94
G4Electron.hh
G4eIonisation
Definition:
G4eIonisation.hh:80
G4ios.hh
LXeEMPhysics::ConstructProcess
virtual void ConstructProcess()
Definition:
LXeEMPhysics.cc:88
LXeEMPhysics::fComptonEffect
G4ComptonScattering * fComptonEffect
Definition:
LXeEMPhysics.hh:70
LXeEMPhysics::fElectronMultipleScattering
G4eMultipleScattering * fElectronMultipleScattering
Definition:
LXeEMPhysics.hh:74
LXeEMPhysics::fAnnihilation
G4eplusAnnihilation * fAnnihilation
Definition:
LXeEMPhysics.hh:82
G4Electron::Electron
static G4Electron * Electron()
Definition:
G4Electron.cc:94
G4ProcessManager
Definition:
G4ProcessManager.hh:106
G4eplusAnnihilation
Definition:
G4eplusAnnihilation.hh:65
G4eMultipleScattering
Definition:
G4eMultipleScattering.hh:60
LXeEMPhysics::fElectronIonisation
G4eIonisation * fElectronIonisation
Definition:
LXeEMPhysics.hh:75
LXeEMPhysics::fPositronMultipleScattering
G4eMultipleScattering * fPositronMultipleScattering
Definition:
LXeEMPhysics.hh:79
G4AntiNeutrinoE::AntiNeutrinoEDefinition
static G4AntiNeutrinoE * AntiNeutrinoEDefinition()
Definition:
G4AntiNeutrinoE.cc:80
G4VPhysicsConstructor
Definition:
G4VPhysicsConstructor.hh:121
G4Gamma.hh
G4Gamma::GammaDefinition
static G4Gamma * GammaDefinition()
Definition:
G4Gamma.cc:81
G4String
Definition:
G4String.hh:45
geant4.10.00.p02
examples
extended
optical
LXe
src
LXeEMPhysics.cc
Generated on Thu Dec 31 2015 10:39:47 for Geant4 by
1.8.8