Geant4
10.01.p02
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
PhysicsListEMstd.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: PhysicsListEMstd.cc 86749 2014-11-17 15:03:05Z gcosmo $
27
// ====================================================================
28
// PhysicsListEMstd.cc
29
//
30
// Physics list for electron/positron/gamma
31
// EM-standard package w/ default parameters
32
//
33
// ====================================================================
34
#include "
PhysicsListEMstd.hh
"
35
36
#include "
G4ProcessManager.hh
"
37
#include "
G4ParticleDefinition.hh
"
38
39
#include "
G4Gamma.hh
"
40
#include "
G4Electron.hh
"
41
#include "
G4Positron.hh
"
42
#include "
G4NeutrinoE.hh
"
43
#include "
G4AntiNeutrinoE.hh
"
44
45
#include "
G4ComptonScattering.hh
"
46
#include "
G4GammaConversion.hh
"
47
#include "
G4PhotoElectricEffect.hh
"
48
#include "
G4eMultipleScattering.hh
"
49
#include "
G4eIonisation.hh
"
50
#include "
G4eBremsstrahlung.hh
"
51
#include "
G4eplusAnnihilation.hh
"
52
53
// ====================================================================
54
//
55
// class description
56
//
57
// ====================================================================
58
60
PhysicsListEMstd::PhysicsListEMstd
()
61
:
G4VPhysicsConstructor
(
"EM-std"
)
63
{
64
}
65
66
68
PhysicsListEMstd::~PhysicsListEMstd
()
70
{
71
}
72
73
75
void
PhysicsListEMstd::ConstructParticle
()
77
{
78
}
79
80
82
void
PhysicsListEMstd::ConstructProcess
()
84
{
85
G4ProcessManager
* pm;
86
87
// ----------------------------------------------------------
88
// gamma physics
89
// ----------------------------------------------------------
90
pm=
G4Gamma::Gamma
()-> GetProcessManager();
91
pm-> AddDiscreteProcess(
new
G4PhotoElectricEffect
);
92
pm-> AddDiscreteProcess(
new
G4ComptonScattering
);
93
pm-> AddDiscreteProcess(
new
G4GammaConversion
);
94
95
// ----------------------------------------------------------
96
// electron physics
97
// ----------------------------------------------------------
98
G4eMultipleScattering
* msc=
new
G4eMultipleScattering
;
99
G4eIonisation
* eion=
new
G4eIonisation
;
100
G4eBremsstrahlung
* ebrems=
new
G4eBremsstrahlung
;
101
102
pm=
G4Electron::Electron
()->
GetProcessManager
();
103
pm-> AddProcess(msc,
ordInActive
, 1, 1);
104
pm-> AddProcess(eion,
ordInActive
, 2, 2);
105
pm-> AddProcess(ebrems,
ordInActive
,
ordInActive
, 3);
106
107
// ----------------------------------------------------------
108
// positron physics
109
// ----------------------------------------------------------
110
msc=
new
G4eMultipleScattering
;
111
eion=
new
G4eIonisation
;
112
ebrems=
new
G4eBremsstrahlung
;
113
G4eplusAnnihilation
* annihilation=
new
G4eplusAnnihilation
;
114
115
pm=
G4Positron::Positron
()-> GetProcessManager();
116
pm-> AddProcess(msc,
ordInActive
, 1, 1);
117
pm-> AddProcess(eion,
ordInActive
, 2, 2);
118
pm-> AddProcess(ebrems,
ordInActive
,
ordInActive
, 3);
119
pm-> AddProcess(annihilation, 0,
ordInActive
, 4);
120
121
}
122
PhysicsListEMstd::PhysicsListEMstd
PhysicsListEMstd()
Definition:
PhysicsListEMstd.cc:58
G4NeutrinoE.hh
G4eIonisation.hh
G4AntiNeutrinoE.hh
PhysicsListEMstd::ConstructProcess
virtual void ConstructProcess()
Definition:
PhysicsListEMstd.cc:84
G4PhotoElectricEffect
Definition:
G4PhotoElectricEffect.hh:79
G4ComptonScattering.hh
G4eMultipleScattering.hh
G4ComptonScattering
Definition:
G4ComptonScattering.hh:71
G4ParticleDefinition::GetProcessManager
G4ProcessManager * GetProcessManager() const
G4GammaConversion
Definition:
G4GammaConversion.hh:75
G4GammaConversion.hh
G4Positron.hh
G4ProcessManager.hh
G4ParticleDefinition.hh
G4PhotoElectricEffect.hh
G4Gamma::Gamma
static G4Gamma * Gamma()
Definition:
G4Gamma.cc:86
PhysicsListEMstd::ConstructParticle
virtual void ConstructParticle()
Definition:
PhysicsListEMstd.cc:74
G4eBremsstrahlung
Definition:
G4eBremsstrahlung.hh:81
G4Positron::Positron
static G4Positron * Positron()
Definition:
G4Positron.cc:94
G4Electron.hh
G4eIonisation
Definition:
G4eIonisation.hh:80
G4eplusAnnihilation.hh
PhysicsListEMstd::~PhysicsListEMstd
~PhysicsListEMstd()
Definition:
PhysicsListEMstd.cc:67
ordInActive
Definition:
G4ProcessManager.hh:101
G4Electron::Electron
static G4Electron * Electron()
Definition:
G4Electron.cc:94
G4eBremsstrahlung.hh
G4ProcessManager
Definition:
G4ProcessManager.hh:106
G4eplusAnnihilation
Definition:
G4eplusAnnihilation.hh:65
G4eMultipleScattering
Definition:
G4eMultipleScattering.hh:60
PhysicsListEMstd.hh
G4VPhysicsConstructor
Definition:
G4VPhysicsConstructor.hh:121
G4Gamma.hh
geant4.10.01.p02
environments
g4py
tests
gtest01
module
PhysicsListEMstd.cc
Generated on Wed Dec 30 2015 22:35:05 for Geant4 by
1.8.8