Geant4.10
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
geant4.10.00.p01
environments
g4py
site-modules
physics_lists
EMSTDpl
site-modules/physics_lists/EMSTDpl/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 66892 2013-01-17 10:57:59Z gunter $
27
// ====================================================================
28
// PhysicsListEMstd.cc
29
//
30
// 2006 Q
31
// ====================================================================
32
#include "
PhysicsListEMstd.hh
"
33
#include "
G4SystemOfUnits.hh
"
34
35
#include "
G4ProcessManager.hh
"
36
#include "
G4ParticleDefinition.hh
"
37
38
#include "
G4Gamma.hh
"
39
#include "
G4Electron.hh
"
40
#include "
G4Positron.hh
"
41
42
#include "
G4ComptonScattering.hh
"
43
#include "
G4GammaConversion.hh
"
44
#include "
G4PhotoElectricEffect.hh
"
45
#include "
G4eMultipleScattering.hh
"
46
#include "
G4eIonisation.hh
"
47
#include "
G4eBremsstrahlung.hh
"
48
#include "
G4eplusAnnihilation.hh
"
49
50
51
// ====================================================================
52
//
53
// class description
54
//
55
// ====================================================================
56
57
////////////////////////////////////
58
PhysicsListEMstd::PhysicsListEMstd
()
59
////////////////////////////////////
60
{
61
SetVerboseLevel
(1);
62
defaultCutValue
= 1.*
mm
;
// default cut value (1.0mm)
63
}
64
65
66
/////////////////////////////////////
67
PhysicsListEMstd::~PhysicsListEMstd
()
68
/////////////////////////////////////
69
{
70
}
71
72
73
//////////////////////////////////////////
74
void
PhysicsListEMstd::ConstructParticle
()
75
//////////////////////////////////////////
76
{
77
G4Gamma::GammaDefinition
();
78
G4Electron::ElectronDefinition
();
79
G4Positron::PositronDefinition
();
80
}
81
82
83
/////////////////////////////////////////
84
void
PhysicsListEMstd::ConstructProcess
()
85
/////////////////////////////////////////
86
{
87
AddTransportation
();
88
89
G4ProcessManager
* pm;
90
91
// ----------------------------------------------------------
92
// gamma physics
93
// ----------------------------------------------------------
94
pm=
G4Gamma::Gamma
()-> GetProcessManager();
95
pm-> AddDiscreteProcess(
new
G4PhotoElectricEffect
);
96
pm-> AddDiscreteProcess(
new
G4ComptonScattering
);
97
pm-> AddDiscreteProcess(
new
G4GammaConversion
);
98
99
// ----------------------------------------------------------
100
// electron physics
101
// ----------------------------------------------------------
102
G4eMultipleScattering
* msc=
new
G4eMultipleScattering
;
103
G4eIonisation
* eion=
new
G4eIonisation
;
104
G4eBremsstrahlung
* ebrems=
new
G4eBremsstrahlung
;
105
106
pm=
G4Electron::Electron
()->
GetProcessManager
();
107
pm-> AddProcess(msc,
ordInActive
, 1, 1);
108
pm-> AddProcess(eion,
ordInActive
, 2, 2);
109
pm-> AddProcess(ebrems,
ordInActive
,
ordInActive
, 3);
110
111
// ----------------------------------------------------------
112
// positron physics
113
// ----------------------------------------------------------
114
msc=
new
G4eMultipleScattering
;
115
eion=
new
G4eIonisation
;
116
ebrems=
new
G4eBremsstrahlung
;
117
G4eplusAnnihilation
* annihilation=
new
G4eplusAnnihilation
;
118
119
pm=
G4Positron::Positron
()-> GetProcessManager();
120
pm-> AddProcess(msc,
ordInActive
, 1, 1);
121
pm-> AddProcess(eion,
ordInActive
, 2, 2);
122
pm-> AddProcess(ebrems,
ordInActive
,
ordInActive
, 3);
123
pm-> AddProcess(annihilation, 0,
ordInActive
, 4);
124
125
}
126
127
128
////////////////////////////////
129
void
PhysicsListEMstd::SetCuts
()
130
////////////////////////////////
131
{
132
SetCutsWithDefault
();
133
}
134
G4Electron::ElectronDefinition
static G4Electron * ElectronDefinition()
Definition:
G4Electron.cc:89
PhysicsListEMstd::PhysicsListEMstd
PhysicsListEMstd()
Definition:
site-modules/physics_lists/EMSTDpl/PhysicsListEMstd.cc:58
G4eIonisation.hh
PhysicsListEMstd::ConstructProcess
virtual void ConstructProcess()
Definition:
site-modules/physics_lists/EMSTDpl/PhysicsListEMstd.cc:84
G4PhotoElectricEffect
Definition:
G4PhotoElectricEffect.hh:79
G4ComptonScattering.hh
G4VUserPhysicsList::defaultCutValue
G4double defaultCutValue
Definition:
G4VUserPhysicsList.hh:361
G4eMultipleScattering.hh
G4ComptonScattering
Definition:
G4ComptonScattering.hh:71
PhysicsListEMstd.hh
G4ParticleDefinition::GetProcessManager
G4ProcessManager * GetProcessManager() const
PhysicsListEMstd::SetCuts
virtual void SetCuts()
Definition:
site-modules/physics_lists/EMSTDpl/PhysicsListEMstd.cc:129
G4GammaConversion
Definition:
G4GammaConversion.hh:75
G4GammaConversion.hh
G4Positron.hh
G4ProcessManager.hh
G4ParticleDefinition.hh
python.hepunit.mm
mm
Definition:
hepunit.py:46
G4VPhysicsConstructor::SetVerboseLevel
void SetVerboseLevel(G4int value)
Definition:
G4VPhysicsConstructor.hh:179
G4PhotoElectricEffect.hh
G4Gamma::Gamma
static G4Gamma * Gamma()
Definition:
G4Gamma.cc:86
PhysicsListEMstd::ConstructParticle
virtual void ConstructParticle()
Definition:
site-modules/physics_lists/EMSTDpl/PhysicsListEMstd.cc:74
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
G4VUserPhysicsList::SetCutsWithDefault
void SetCutsWithDefault()
Definition:
G4VUserPhysicsList.cc:444
G4eIonisation
Definition:
G4eIonisation.hh:80
G4eplusAnnihilation.hh
G4VUserPhysicsList::AddTransportation
void AddTransportation()
Definition:
G4VUserPhysicsList.cc:947
PhysicsListEMstd::~PhysicsListEMstd
~PhysicsListEMstd()
Definition:
site-modules/physics_lists/EMSTDpl/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
G4SystemOfUnits.hh
G4Gamma.hh
G4Gamma::GammaDefinition
static G4Gamma * GammaDefinition()
Definition:
G4Gamma.cc:81
Generated on Wed Apr 30 2014 15:55:21 for Geant4.10 by
1.8.7