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
G4PolarizedComptonModel.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: G4PolarizedComptonModel.hh 69847 2013-05-16 09:36:18Z gcosmo $
27
//
28
// -------------------------------------------------------------------
29
//
30
// GEANT4 Class header file
31
//
32
//
33
// File name: G4PolarizedComptonModel
34
//
35
// Author: Andreas Schaelicke
36
//
37
// Creation date: 01.05.2005
38
//
39
// Modifications:
40
// 18-07-06 use newly calculated cross sections (P. Starovoitov)
41
// 21-08-05 update interface (A. Schaelicke)
42
//
43
//
44
// Class Description:
45
//
46
// Implementation of polarized gamma Compton scattering on free electron
47
//
48
49
// -------------------------------------------------------------------
50
//
51
52
#ifndef G4PolarizedComptonModel_h
53
#define G4PolarizedComptonModel_h 1
54
55
#include "
G4KleinNishinaCompton.hh
"
56
#include "
G4StokesVector.hh
"
57
58
class
G4ParticleChangeForGamma
;
59
class
G4PolarizedComptonCrossSection
;
60
61
class
G4PolarizedComptonModel
:
public
G4KleinNishinaCompton
62
{
63
64
public
:
65
66
G4PolarizedComptonModel
(
const
G4ParticleDefinition
*
p
= 0,
67
const
G4String
& nam =
"Polarized-Compton"
);
68
69
virtual
G4double
ComputeCrossSectionPerAtom
(
70
const
G4ParticleDefinition
*,
71
G4double
kinEnergy,
72
G4double
Z
,
73
G4double
A,
74
G4double
cut,
75
G4double
emax);
76
G4double
ComputeAsymmetryPerAtom
(
G4double
gammaEnergy,
G4double
Z);
77
virtual
~G4PolarizedComptonModel
();
78
79
virtual
void
SampleSecondaries
(std::vector<G4DynamicParticle*>*,
80
const
G4MaterialCutsCouple
*,
81
const
G4DynamicParticle
*,
82
G4double
tmin,
83
G4double
maxEnergy);
84
85
// polarized routines
86
inline
void
SetTargetPolarization
(
const
G4ThreeVector
& pTarget);
87
inline
void
SetBeamPolarization
(
const
G4ThreeVector
& pBeam);
88
inline
const
G4ThreeVector
&
GetTargetPolarization
()
const
;
89
inline
const
G4ThreeVector
&
GetBeamPolarization
()
const
;
90
inline
const
G4ThreeVector
&
GetFinalGammaPolarization
()
const
;
91
inline
const
G4ThreeVector
&
GetFinalElectronPolarization
()
const
;
92
private
:
93
94
// hide assignment operator
95
G4PolarizedComptonModel
& operator=(
const
G4PolarizedComptonModel
&
right
);
96
G4PolarizedComptonModel
(
const
G4PolarizedComptonModel
&);
97
98
G4PolarizedComptonCrossSection
* crossSectionCalculator;
99
// incomming
100
G4StokesVector
theBeamPolarization;
// photon
101
G4StokesVector
theTargetPolarization;
// electron
102
// outgoing
103
G4StokesVector
finalGammaPolarization;
104
G4StokesVector
finalElectronPolarization;
105
106
G4int
verboseLevel;
107
};
108
109
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
110
111
inline
void
G4PolarizedComptonModel::SetTargetPolarization
(
const
G4ThreeVector
& pTarget)
112
{
113
theTargetPolarization = pTarget;
114
}
115
inline
void
G4PolarizedComptonModel::SetBeamPolarization
(
const
G4ThreeVector
& pBeam)
116
{
117
theBeamPolarization = pBeam;
118
}
119
inline
const
G4ThreeVector
&
G4PolarizedComptonModel::GetTargetPolarization
()
const
120
{
121
return
theTargetPolarization;
122
}
123
inline
const
G4ThreeVector
&
G4PolarizedComptonModel::GetBeamPolarization
()
const
124
{
125
return
theBeamPolarization;
126
}
127
inline
const
G4ThreeVector
&
G4PolarizedComptonModel::GetFinalGammaPolarization
()
const
128
{
129
return
finalGammaPolarization;
130
}
131
inline
const
G4ThreeVector
&
G4PolarizedComptonModel::GetFinalElectronPolarization
()
const
132
{
133
return
finalElectronPolarization;
134
}
135
136
#endif
Generated on Sat May 25 2013 14:33:35 for Geant4 by
1.8.4