Geant4 9.6.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// $Id$
27// -------------------------------------------------------------------
28//
29// GEANT4 Class header file
30//
31//
32// File name: G4PolarizedMollerBhabhaModel
33//
34// Author: A.Schaelicke on base of Vladimir Ivanchenko code
35//
36// Creation date: 10.11.2005
37//
38// Modifications:
39//
40// 20-08-05, modified interface (A.Schaelicke)
41//
42//
43// Class Description:
44//
45// Physics implementation of polarized Bhabha/Moller scattering
46//
47// -------------------------------------------------------------------
48//
49
50#ifndef G4PolarizedMollerBhabhaModel_h
51#define G4PolarizedMollerBhabhaModel_h 1
52
53#include "G4VEmModel.hh"
55#include "G4StokesVector.hh"
56
58
60{
61
62public:
63
65 const G4String& nam = "PolarizedMollerBhabha");
66
68
71 G4double kinEnergy,
72 G4double cut,
73 G4double emax);
74
75 virtual void SampleSecondaries(std::vector<G4DynamicParticle*>*,
77 const G4DynamicParticle*,
78 G4double tmin,
79 G4double maxEnergy);
80
81
82 // polarization access routines (may go if using a modified ParticleChange)
83
85 {
86 theTargetPolarization = pTarget;
87 }
89 {
90 theBeamPolarization = pBeam;
91 }
93 {
94 return theTargetPolarization;
95 }
97 {
98 return theBeamPolarization;
99 }
101 {
102 return fElectronPolarization;
103 }
105 {
106 return fPositronPolarization;
107 }
108private:
109
110 // copy constructor and hide assignment operator
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:64
void SetBeamPolarization(const G4ThreeVector &pBeam)
virtual void SampleSecondaries(std::vector< G4DynamicParticle * > *, const G4MaterialCutsCouple *, const G4DynamicParticle *, G4double tmin, G4double maxEnergy)
const G4StokesVector & GetFinalPositronPolarization()
const G4StokesVector & GetBeamPolarization()
virtual G4double ComputeCrossSectionPerElectron(const G4ParticleDefinition *, G4double kinEnergy, G4double cut, G4double emax)
void SetTargetPolarization(const G4ThreeVector &pTarget)
const G4StokesVector & GetTargetPolarization()
const G4StokesVector & GetFinalElectronPolarization()