ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
Home page
Related Pages
Modules
Namespaces
Classes
Files
External Links
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
G4PolarizedComptonModel.hh
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file G4PolarizedComptonModel.hh
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
//
27
// -------------------------------------------------------------------
28
//
29
// GEANT4 Class header file
30
//
31
//
32
// File name: G4PolarizedComptonModel
33
//
34
// Author: Andreas Schaelicke
35
//
36
// Creation date: 01.05.2005
37
//
38
// Modifications:
39
// 18-07-06 use newly calculated cross sections (P. Starovoitov)
40
// 21-08-05 update interface (A. Schaelicke)
41
//
42
//
43
// Class Description:
44
//
45
// Implementation of polarized gamma Compton scattering on free electron
46
//
47
48
// -------------------------------------------------------------------
49
//
50
51
#ifndef G4PolarizedComptonModel_h
52
#define G4PolarizedComptonModel_h 1
53
54
#include "
G4KleinNishinaCompton.hh
"
55
#include "
G4StokesVector.hh
"
56
57
class
G4ParticleChangeForGamma
;
58
class
G4PolarizedComptonCrossSection
;
59
60
class
G4PolarizedComptonModel
:
public
G4KleinNishinaCompton
61
{
62
63
public
:
64
65
explicit
G4PolarizedComptonModel
(
const
G4ParticleDefinition
*
p
=
nullptr
,
66
const
G4String
& nam =
"Polarized-Compton"
);
67
68
virtual
G4double
ComputeCrossSectionPerAtom
(
69
const
G4ParticleDefinition
*,
70
G4double
kinEnergy,
71
G4double
Z
,
72
G4double
A
,
73
G4double
cut,
74
G4double
emax
)
override
;
75
G4double
ComputeAsymmetryPerAtom
(
G4double
gammaEnergy,
G4double
Z);
76
virtual
~G4PolarizedComptonModel
();
77
78
virtual
void
SampleSecondaries
(std::vector<G4DynamicParticle*>*,
79
const
G4MaterialCutsCouple
*,
80
const
G4DynamicParticle
*,
81
G4double
tmin,
82
G4double
maxEnergy)
override
;
83
84
// polarized routines
85
inline
void
SetTargetPolarization
(
const
G4ThreeVector
& pTarget);
86
inline
void
SetBeamPolarization
(
const
G4ThreeVector
& pBeam);
87
inline
const
G4ThreeVector
&
GetTargetPolarization
()
const
;
88
inline
const
G4ThreeVector
&
GetBeamPolarization
()
const
;
89
inline
const
G4ThreeVector
&
GetFinalGammaPolarization
()
const
;
90
inline
const
G4ThreeVector
&
GetFinalElectronPolarization
()
const
;
91
private
:
92
93
void
PrintWarning
(
const
G4DynamicParticle
*,
G4int
,
G4double
grej,
94
G4double
onecos,
G4double
phi
,
const
G4String
)
const
;
95
96
// hide assignment operator
97
G4PolarizedComptonModel
&
operator=
(
const
G4PolarizedComptonModel
&
right
) =
delete
;
98
G4PolarizedComptonModel
(
const
G4PolarizedComptonModel
&) =
delete
;
99
100
G4PolarizedComptonCrossSection
*
crossSectionCalculator
;
101
// incomming
102
G4StokesVector
theBeamPolarization
;
// photon
103
G4StokesVector
theTargetPolarization
;
// electron
104
// outgoing
105
G4StokesVector
finalGammaPolarization
;
106
G4StokesVector
finalElectronPolarization
;
107
108
G4int
verboseLevel
;
109
};
110
111
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
112
113
inline
void
G4PolarizedComptonModel::SetTargetPolarization
(
const
G4ThreeVector
& pTarget)
114
{
115
theTargetPolarization
= pTarget;
116
}
117
inline
void
G4PolarizedComptonModel::SetBeamPolarization
(
const
G4ThreeVector
& pBeam)
118
{
119
theBeamPolarization
= pBeam;
120
}
121
inline
const
G4ThreeVector
&
G4PolarizedComptonModel::GetTargetPolarization
()
const
122
{
123
return
theTargetPolarization
;
124
}
125
inline
const
G4ThreeVector
&
G4PolarizedComptonModel::GetBeamPolarization
()
const
126
{
127
return
theBeamPolarization
;
128
}
129
inline
const
G4ThreeVector
&
G4PolarizedComptonModel::GetFinalGammaPolarization
()
const
130
{
131
return
finalGammaPolarization
;
132
}
133
inline
const
G4ThreeVector
&
G4PolarizedComptonModel::GetFinalElectronPolarization
()
const
134
{
135
return
finalElectronPolarization
;
136
}
137
138
#endif
geant4
tree
geant4-10.6-release
source
processes
electromagnetic
polarisation
include
G4PolarizedComptonModel.hh
Built by
Jin Huang
. updated:
Wed Jun 29 2022 17:25:33
using
1.8.2 with
ECCE GitHub integration