Geant4
9.6.p02
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
geant4_9_6_p02
source
processes
electromagnetic
polarisation
include
G4ePolarizedIonisation.hh
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: G4ePolarizedIonisation.hh 69847 2013-05-16 09:36:18Z gcosmo $
27
// -------------------------------------------------------------------
28
//
29
// GEANT4 Class header file
30
//
31
//
32
// File name: G4ePolarizedIonisation
33
//
34
// Author: A.Schaelicke on base of Vladimir Ivanchenko code
35
//
36
// Creation date: 10.11.2005
37
//
38
// Modifications:
39
//
40
// 10-11-05, include polarization description (A.Schaelicke)
41
// , create asymmetry table and determine interactionlength
42
// , update polarized differential cross section
43
//
44
// 20-08-06, modified interface (A.Schaelicke)
45
// 11-06-07, add PostStepGetPhysicalInteractionLength (A.Schalicke)
46
//
47
// Class Description:
48
//
49
// polarized version of G4eIonisation
50
// ----------------------------------------------------------------------------
51
// -------------------------------------------------------------------
52
//
53
54
#ifndef G4ePolarizedIonisation_h
55
#define G4ePolarizedIonisation_h 1
56
57
#include "
G4VEnergyLossProcess.hh
"
58
#include "
G4Electron.hh
"
59
#include "
G4Positron.hh
"
60
61
class
G4Material
;
62
class
G4ParticleDefinition
;
63
class
G4VEmFluctuationModel
;
64
class
G4PolarizedMollerBhabhaModel
;
65
66
class
G4ePolarizedIonisation
:
public
G4VEnergyLossProcess
67
{
68
69
public
:
70
71
G4ePolarizedIonisation
(
const
G4String
&
name
=
"pol-eIoni"
);
72
73
virtual
~G4ePolarizedIonisation
();
74
75
G4bool
IsApplicable
(
const
G4ParticleDefinition
&
p
);
76
77
// Print out of the class parameters
78
virtual
void
PrintInfo
();
79
80
protected
:
81
82
virtual
void
InitialiseEnergyLossProcess
(
const
G4ParticleDefinition
*,
83
const
G4ParticleDefinition
*);
84
85
virtual
G4double
MinPrimaryEnergy
(
const
G4ParticleDefinition
*,
86
const
G4Material
*,
G4double
cut);
87
88
89
// for polarization
90
G4double
PostStepGetPhysicalInteractionLength
(
91
const
G4Track
& track,
92
G4double
previousStepSize,
93
G4ForceCondition
*
condition
94
);
95
96
G4double
GetMeanFreePath
(
const
G4Track
& track,
97
G4double
previousStepSize,
98
G4ForceCondition
* condition);
99
100
virtual
void
BuildPhysicsTable
(
const
G4ParticleDefinition
&);
101
102
G4double
ComputeAsymmetry
(
G4double
energy
,
103
const
G4MaterialCutsCouple
* couple,
104
const
G4ParticleDefinition
& particle,
105
G4double
cut,
106
G4double
&tasm);
107
108
protected
:
109
110
const
G4ParticleDefinition
*
DefineBaseParticle
(
const
G4ParticleDefinition
* p);
111
112
private
:
113
G4ePolarizedIonisation
& operator=(
const
G4ePolarizedIonisation
&
right
);
114
G4ePolarizedIonisation
(
const
G4ePolarizedIonisation
&);
115
116
G4ParticleDefinition
* theElectron;
117
G4VEmFluctuationModel
* flucModel;
118
G4PolarizedMollerBhabhaModel
* emModel;
119
120
G4bool
isElectron;
121
G4bool
isInitialised;
122
123
// for polarization:
124
G4ThreeVector
theTargetPolarization;
125
126
127
128
G4PhysicsTable
* theAsymmetryTable;
// table for cross section assym.
129
G4PhysicsTable
* theTransverseAsymmetryTable;
// table for transverse cross section assym.
130
};
131
132
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
133
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
134
135
inline
G4double
G4ePolarizedIonisation::MinPrimaryEnergy
(
const
G4ParticleDefinition
*,
136
const
G4Material
*,
137
G4double
cut)
138
{
139
G4double
x
= cut;
140
if
(isElectron) x += cut;
141
return
x
;
142
}
143
144
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
145
146
inline
G4bool
G4ePolarizedIonisation::IsApplicable
(
const
G4ParticleDefinition
&
p
)
147
{
148
return
(&p ==
G4Electron::Electron
() || &p ==
G4Positron::Positron
());
149
}
150
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
151
152
#endif
Generated on Sat May 25 2013 14:33:35 for Geant4 by
1.8.4