G4PolarizedAnnihilationCrossSection.hh

Go to the documentation of this file.
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 // -------------------------------------------------------------------
00027 // $Id: G4PolarizedAnnihilationCrossSection.hh 69847 2013-05-16 09:36:18Z gcosmo $
00028 // -------------------------------------------------------------------
00029 //
00030 // GEANT4 Class file
00031 //
00032 //
00033 // File name:     PolarizedAnnihilationCrossSection
00034 //
00035 // Author:        Andreas Schaelicke and Pavel Starovoitov
00036 //
00037 // Creation date: 22.03.2006
00038 //
00039 // Modifications:
00040 //   15.10.07     introduced a more general framework for cross sections
00041 //
00042 // Class Description:
00043 //   * calculates the differential cross section (ME squared, 
00044 //     without phase space) incoming positron (along positive z direction) 
00045 //     annihilations with an electron at rest 
00046 //   * phi denotes the angle between the scattering plane and 
00047 //     X axis of incoming partice reference frame (PRF) 
00048 //
00049 #ifndef G4PolarizedAnnihilationCrossSection_h
00050 #define G4PolarizedAnnihilationCrossSection_h 1
00051 
00052 #include "G4StokesVector.hh"
00053 #include "G4VPolarizedCrossSection.hh"
00054 
00055 class G4PolarizedAnnihilationCrossSection : public G4VPolarizedCrossSection
00056 {
00057 public:
00058   G4PolarizedAnnihilationCrossSection();
00059   virtual ~G4PolarizedAnnihilationCrossSection();
00060 public:
00061   virtual void Initialize(G4double eps, G4double gamma, G4double phi, 
00062                   const G4StokesVector & p0,const G4StokesVector & p1,
00063                   G4int flag=0); 
00064 
00065   G4double DiceEpsilon(); 
00066   virtual G4double XSection(const G4StokesVector & pol2,
00067                             const G4StokesVector & pol3); 
00068   virtual G4double TotalXSection(G4double xmin, G4double xmax, 
00069                                  G4double y,
00070                                  const G4StokesVector & pol0,
00071                                  const G4StokesVector & pol1); 
00072 
00073   // return expected mean polarisation
00074   G4StokesVector GetPol2();
00075   G4StokesVector GetPol3();
00076 
00077   virtual G4double GetXmin(G4double y); // minimal energy fraction in TotalXSection
00078   virtual G4double GetXmax(G4double y); // maximal energy fraction in TotalXSection
00079 
00080   G4double getVar(G4int );
00081   // test routine
00082   void getCoeff();
00083 private:
00084   void TotalXS();
00085   void DefineCoefficients(const G4StokesVector & pol0,
00086                           const G4StokesVector & pol1);
00087 
00088 
00089   G4double   polxx, polyy, polzz, polxz, polzx, polxy, polyx, polyz, polzy;
00090 
00091   G4double re2, diffXSFactor, totalXSFactor;
00092   // - unpolarised + part depending on the polarization of the intial pair
00093   G4double phi0;
00094   // - part depending on the polarization of the final positron
00095   G4ThreeVector phi2; 
00096   // - part depending on the polarization of the final electron
00097   G4ThreeVector phi3;
00098   G4double dice;
00099   G4double polXS, unpXS;
00100   G4double ISPxx, ISPyy, ISPzz, ISPnd;
00101 };
00102 #endif

Generated on Mon May 27 17:49:22 2013 for Geant4 by  doxygen 1.4.7