Geant4 10.7.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4PolarizedMollerBhabhaModel.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// -------------------------------------------------------------------
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"
54#include "G4StokesVector.hh"
55
57
59{
60
61public:
62
63 explicit G4PolarizedMollerBhabhaModel(const G4ParticleDefinition* p = nullptr,
64 const G4String& nam = "PolarizedMollerBhabha");
65
67
70 G4double kinEnergy,
71 G4double cut,
72 G4double emax) override;
73
74 virtual void SampleSecondaries(std::vector<G4DynamicParticle*>*,
76 const G4DynamicParticle*,
77 G4double tmin,
78 G4double maxEnergy) override;
79
80
81 // polarization access routines (may go if using a modified ParticleChange)
82
84 {
85 theTargetPolarization = pTarget;
86 }
88 {
89 theBeamPolarization = pBeam;
90 }
92 {
93 return theTargetPolarization;
94 }
96 {
97 return theBeamPolarization;
98 }
100 {
101 return fElectronPolarization;
102 }
104 {
105 return fPositronPolarization;
106 }
107private:
108
109 // copy constructor and hide assignment operator
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
double G4double
Definition: G4Types.hh:83
virtual void SampleSecondaries(std::vector< G4DynamicParticle * > *, const G4MaterialCutsCouple *, const G4DynamicParticle *, G4double tmin, G4double maxEnergy) override
void SetBeamPolarization(const G4ThreeVector &pBeam)
const G4StokesVector & GetFinalPositronPolarization()
const G4StokesVector & GetBeamPolarization()
virtual G4double ComputeCrossSectionPerElectron(const G4ParticleDefinition *, G4double kinEnergy, G4double cut, G4double emax) override
void SetTargetPolarization(const G4ThreeVector &pTarget)
const G4StokesVector & GetTargetPolarization()
const G4StokesVector & GetFinalElectronPolarization()