ECCE @ EIC Software
 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 
57 
59 {
60 
61 public:
62 
63  explicit G4PolarizedMollerBhabhaModel(const G4ParticleDefinition* p = nullptr,
64  const G4String& nam = "PolarizedMollerBhabha");
65 
67 
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  }
92  {
93  return theTargetPolarization;
94  }
96  {
97  return theBeamPolarization;
98  }
100  {
101  return fElectronPolarization;
102  }
104  {
105  return fPositronPolarization;
106  }
107 private:
108 
109  // copy constructor and hide assignment operator
113 
116 
118 
121 };
122 
123 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
124 
125 #endif