ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4PolarizedComptonCrossSection.hh
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file G4PolarizedComptonCrossSection.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 // GEANT4 Class file
28 //
29 //
30 // File name: G4PolarizedComptonCrossSection
31 //
32 // Author: Andreas Schaelicke
33 //
34 // Creation date: 15.05.2005
35 //
36 // Modifications:
37 // 18-07-06 use newly calculated cross sections (P. Starovoitov)
38 // 21-08-06 update interface to geant4.8.1 (A. Schaelicke)
39 // 15-10-07 introduced a more general framework for cross sections (AS)
40 //
41 //
42 // Class Description:
43 // determine the polarization of the final state
44 // in a Compton scattering process employing the differential
45 // cross section by F.W.Lipps & H.A.Tolhoek
46 // ( Physica 20 (1954) 395 )
47 //
48 #ifndef G4PolarizedComptonCrossSection_h
49 #define G4PolarizedComptonCrossSection_h 1
50 
51 #include "G4StokesVector.hh"
53 
54 
55 
57 {
58 public:
61 public:
62  // prepares the ingredients for the calculation of a polarization
63  // dependent differential cross section
64  // the kinematics is fixed (X - incoming photon energy in units of electron mass,
65  // eps - outgoing photon energy in unit of incoming photon energy,
66  // and polarization of the incoming particles fixed (p0, p1)
67  // a flag specifies the extent to which polarization is taken
68  // into account
69  virtual void Initialize(G4double eps, G4double X, G4double phi,
70  const G4StokesVector & p0,
71  const G4StokesVector & p1,
72  G4int flag=0) override;
73 
74  // returns the differential cross section for a given polarisation state
75  // of the final state particles to be used in the calculation of the
76  // polarization transfer
77  // the calculation has to be initialised by calling Initialize()
78  // prior to the first call of this function (see above)
79  G4double XSection(const G4StokesVector & pol2,const G4StokesVector & pol3) override;
80  // total cross section
82  const G4StokesVector & pol0,const G4StokesVector & pol1) override;
83 
84 public:
85  // return expected mean polarisation
86  G4StokesVector GetPol2() override;
87  G4StokesVector GetPol3() override;
88 private:
89  void DefineCoefficients(const G4StokesVector & pol0,
90  const G4StokesVector & pol1);
91  // states if an incoming or outgoing particle is polarized
93 
94  // these variables store the information necessary to evaluate the
95  // differential cross section for arbitrary final state
96  // polarizations (used in XSection):
97  // - polarization independent part
99  // - part depending on the polarization of the final photon
101  // - part depending on the polarization of the final electron
103  // - product of polarizations of initial particles
105 
108 };
109 
110 
111 #endif