Geant4  10.02.p01
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: G4PolarizedMollerBhabhaModel.hh 68046 2013-03-13 14:31:38Z gcosmo $
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"
54 #include "G4MollerBhabhaModel.hh"
55 #include "G4StokesVector.hh"
56 
58 
60 {
61 
62 public:
63 
65  const G4String& nam = "PolarizedMollerBhabha");
66 
68 
70  const G4ParticleDefinition*,
71  G4double kinEnergy,
72  G4double cut,
73  G4double emax);
74 
75  virtual void SampleSecondaries(std::vector<G4DynamicParticle*>*,
76  const G4MaterialCutsCouple*,
77  const G4DynamicParticle*,
78  G4double tmin,
79  G4double maxEnergy);
80 
81 
82  // polarization access routines (may go if using a modified ParticleChange)
83 
84  void SetTargetPolarization(const G4ThreeVector & pTarget)
85  {
86  theTargetPolarization = pTarget;
87  }
88  void SetBeamPolarization(const G4ThreeVector & pBeam)
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  }
108 private:
109 
110  // copy constructor and hide assignment operator
113 
116 
118 
121 };
122 
123 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
124 
125 #endif
CLHEP::Hep3Vector G4ThreeVector
virtual G4double ComputeCrossSectionPerElectron(const G4ParticleDefinition *, G4double kinEnergy, G4double cut, G4double emax)
const G4StokesVector & GetFinalPositronPolarization()
virtual void SampleSecondaries(std::vector< G4DynamicParticle * > *, const G4MaterialCutsCouple *, const G4DynamicParticle *, G4double tmin, G4double maxEnergy)
const G4StokesVector & GetBeamPolarization()
const G4StokesVector & GetTargetPolarization()
G4PolarizedMollerBhabhaModel & operator=(const G4PolarizedMollerBhabhaModel &right)
G4VPolarizedCrossSection * crossSectionCalculator
static const G4double emax
const G4StokesVector & GetFinalElectronPolarization()
void SetTargetPolarization(const G4ThreeVector &pTarget)
G4PolarizedMollerBhabhaModel(const G4ParticleDefinition *p=0, const G4String &nam="PolarizedMollerBhabha")
double G4double
Definition: G4Types.hh:76
void SetBeamPolarization(const G4ThreeVector &pBeam)