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
G4PolarizedMollerBhabhaModel.hh
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file G4PolarizedMollerBhabhaModel.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
// GEANT4 Class header file
29
//
30
//
31
// File name: G4PolarizedMollerBhabhaModel
32
//
33
// Author: A.Schaelicke on base of Vladimir Ivanchenko code
34
//
35
// Creation date: 10.11.2005
36
//
37
// Modifications:
38
//
39
// 20-08-05, modified interface (A.Schaelicke)
40
//
41
//
42
// Class Description:
43
//
44
// Physics implementation of polarized Bhabha/Moller scattering
45
//
46
// -------------------------------------------------------------------
47
//
48
49
#ifndef G4PolarizedMollerBhabhaModel_h
50
#define G4PolarizedMollerBhabhaModel_h 1
51
52
#include "
G4VEmModel.hh
"
53
#include "
G4MollerBhabhaModel.hh
"
54
#include "
G4StokesVector.hh
"
55
56
class
G4VPolarizedCrossSection
;
57
58
class
G4PolarizedMollerBhabhaModel
:
public
G4MollerBhabhaModel
59
{
60
61
public
:
62
63
explicit
G4PolarizedMollerBhabhaModel
(
const
G4ParticleDefinition
*
p
=
nullptr
,
64
const
G4String
& nam =
"PolarizedMollerBhabha"
);
65
66
virtual
~G4PolarizedMollerBhabhaModel
();
67
68
virtual
G4double
ComputeCrossSectionPerElectron
(
69
const
G4ParticleDefinition
*,
70
G4double
kinEnergy,
71
G4double
cut,
72
G4double
emax
)
override
;
73
74
virtual
void
SampleSecondaries
(std::vector<G4DynamicParticle*>*,
75
const
G4MaterialCutsCouple
*,
76
const
G4DynamicParticle
*,
77
G4double
tmin,
78
G4double
maxEnergy)
override
;
79
80
81
// polarization access routines (may go if using a modified ParticleChange)
82
83
void
SetTargetPolarization
(
const
G4ThreeVector
& pTarget)
84
{
85
theTargetPolarization
= pTarget;
86
}
87
void
SetBeamPolarization
(
const
G4ThreeVector
& pBeam)
88
{
89
theBeamPolarization
= pBeam;
90
}
91
const
G4StokesVector
&
GetTargetPolarization
()
92
{
93
return
theTargetPolarization
;
94
}
95
const
G4StokesVector
&
GetBeamPolarization
()
96
{
97
return
theBeamPolarization
;
98
}
99
const
G4StokesVector
&
GetFinalElectronPolarization
()
100
{
101
return
fElectronPolarization
;
102
}
103
const
G4StokesVector
&
GetFinalPositronPolarization
()
104
{
105
return
fPositronPolarization
;
106
}
107
private
:
108
109
// copy constructor and hide assignment operator
110
G4PolarizedMollerBhabhaModel
(
G4PolarizedMollerBhabhaModel
&) =
delete
;
111
G4PolarizedMollerBhabhaModel
&
112
operator=
(
const
G4PolarizedMollerBhabhaModel
&
right
) =
delete
;
113
114
G4StokesVector
theBeamPolarization
;
115
G4StokesVector
theTargetPolarization
;
116
117
G4VPolarizedCrossSection
*
crossSectionCalculator
;
118
119
G4StokesVector
fPositronPolarization
;
120
G4StokesVector
fElectronPolarization
;
121
};
122
123
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
124
125
#endif
geant4
tree
geant4-10.6-release
source
processes
electromagnetic
polarisation
include
G4PolarizedMollerBhabhaModel.hh
Built by
Jin Huang
. updated:
Wed Jun 29 2022 17:25:33
using
1.8.2 with
ECCE GitHub integration