00001 // 00002 // ******************************************************************** 00003 // * License and Disclaimer * 00004 // * * 00005 // * The Geant4 software is copyright of the Copyright Holders of * 00006 // * the Geant4 Collaboration. It is provided under the terms and * 00007 // * conditions of the Geant4 Software License, included in the file * 00008 // * LICENSE and available at http://cern.ch/geant4/license . These * 00009 // * include a list of copyright holders. * 00010 // * * 00011 // * Neither the authors of this software system, nor their employing * 00012 // * institutes,nor the agencies providing financial support for this * 00013 // * work make any representation or warranty, express or implied, * 00014 // * regarding this software system or assume any liability for its * 00015 // * use. Please see the license in the file LICENSE and URL above * 00016 // * for the full disclaimer and the limitation of liability. * 00017 // * * 00018 // * This code implementation is the result of the scientific and * 00019 // * technical work of the GEANT4 collaboration. * 00020 // * By using, copying, modifying or distributing the software (or * 00021 // * any work based on the software) you agree to acknowledge its * 00022 // * use in resulting scientific publications, and indicate your * 00023 // * acceptance of all terms of the Geant4 Software license. * 00024 // ******************************************************************** 00025 // 00026 // $Id: G4PolarizedMollerCrossSection.hh 69847 2013-05-16 09:36:18Z gcosmo $ 00027 // 00028 // GEANT4 Class file 00029 // 00030 // 00031 // File name: G4PolarizedMollerCrossSection 00032 // 00033 // Author: Andreas Schaelicke 00034 // 00035 // Creation date: 12.01.2006 00036 // 00037 // Modifications: 00038 // 16-01-06 included cross section as calculated by P.Starovoitov 00039 // 00040 // Class Description: 00041 // * calculates the differential cross section 00042 // incomming electron (along positive z direction) scatters at an electron at rest 00043 // * phi denotes the angle between the scattering plane (defined by the 00044 // outgoing electron) and X-axis 00045 // * all stokes vectors refer to spins in the Global System (X,Y,Z) 00046 // 00047 #ifndef G4PolarizedMollerCrossSection_h 00048 #define G4PolarizedMollerCrossSection_h 1 00049 00050 #include "G4StokesVector.hh" 00051 #include "G4VPolarizedCrossSection.hh" 00052 00053 class G4PolarizedMollerCrossSection : public G4VPolarizedCrossSection 00054 { 00055 public: 00056 G4PolarizedMollerCrossSection(); 00057 virtual ~G4PolarizedMollerCrossSection(); 00058 public: 00059 void Initialize(G4double x, G4double y, G4double phi, 00060 const G4StokesVector & p0,const G4StokesVector & p1, 00061 G4int flag=0); 00062 00063 G4double XSection(const G4StokesVector & pol2,const G4StokesVector & pol3); 00064 G4double TotalXSection(G4double xmin, G4double xmax, G4double y, 00065 const G4StokesVector & pol0,const G4StokesVector & pol1); 00066 // return expected mean polarisation 00067 G4StokesVector GetPol2(); 00068 G4StokesVector GetPol3(); 00069 private: 00070 G4double phi0; 00071 // - part depending on the polarization of the final electron P1 00072 G4ThreeVector phi2; 00073 // - part depending on the polarization of the final electron P2 00074 G4ThreeVector phi3; 00075 00076 }; 00077 #endif