source: trunk/source/processes/electromagnetic/polarisation/include/G4PolarizedComptonCrossSection.hh @ 1350

Last change on this file since 1350 was 1337, checked in by garnier, 14 years ago

tag geant4.9.4 beta 1 + modifs locales

File size: 4.6 KB
Line 
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: G4PolarizedComptonCrossSection.hh,v 1.3 2007/11/01 17:32:34 schaelic Exp $
27// GEANT4 tag $Name: geant4-09-04-beta-01 $
28//
29// GEANT4 Class file
30//
31//
32// File name:     G4PolarizedComptonCrossSection
33//
34// Author:        Andreas Schaelicke
35//
36// Creation date: 15.05.2005
37//
38// Modifications:
39// 18-07-06 use newly calculated cross sections (P. Starovoitov)
40// 21-08-06 update interface to geant4.8.1 (A. Schaelicke)
41// 15-10-07 introduced a more general framework for cross sections (AS)
42//
43//
44// Class Description:
45//   determine the  polarization of the final state
46//   in a Compton scattering process employing the differential
47//   cross section by F.W.Lipps & H.A.Tolhoek
48//   ( Physica 20 (1954) 395 )
49//
50#ifndef G4PolarizedComptonCrossSection_h
51#define G4PolarizedComptonCrossSection_h 1
52
53#include "G4StokesVector.hh"
54#include "G4VPolarizedCrossSection.hh"
55
56
57
58class G4PolarizedComptonCrossSection : public G4VPolarizedCrossSection
59{
60public:
61  G4PolarizedComptonCrossSection();
62  virtual ~G4PolarizedComptonCrossSection();
63public:
64  // prepares the ingredients for the calculation of a polarization
65  // dependent differential cross section
66  // the kinematics is fixed (X - incoming photon energy in units of electron mass, eps - outgoing photon energy in unit of incoming photon energy,
67  // and polarization of the incoming particles fixed (p0, p1)
68  // a flag specifies the extent to which polarization is taken
69  // into account
70  virtual void Initialize(G4double eps, G4double X, G4double phi,
71                          const G4StokesVector & p0,
72                          const G4StokesVector & p1,
73                          G4int flag=0); 
74
75  // returns the differential cross section for a given polarisation state
76  // of the final state particles to be used in the calculation of the
77  // polarization transfer
78  // the calculation has to be initialised by calling Initialize()
79  // prior to the first call of this function (see above)
80  G4double XSection(const G4StokesVector & pol2,const G4StokesVector & pol3); 
81  // total cross section
82  G4double TotalXSection(G4double xmin, G4double xmax, G4double y,
83                         const G4StokesVector & pol0,const G4StokesVector & pol1);
84
85public:
86  // return expected mean polarisation
87  G4StokesVector GetPol2();
88  G4StokesVector GetPol3();
89private:
90  void DefineCoefficients(const G4StokesVector & pol0,
91                          const G4StokesVector & pol1);
92  // states if an incoming or outgoing particle is polarized
93  G4bool gammaPol0, electronPol1, gammaPol2, electronPol3;
94
95
96  // these variables store the information necessary to evaluate the 
97  // differential cross section for arbitrary final state
98  // polarizations (used in XSection):
99  // - polarization independent part
100  G4double phi0;
101  // - part depending on the polarization of the final photon
102  G4ThreeVector phi2; 
103  // - part depending on the polarization of the final electron
104  G4ThreeVector phi3;
105  // - product of polarizations of initial particles
106  G4double polxx, polyy, polzz, polxz, polzx, polyz, polzy, polxy, polyx;
107
108  G4double diffXSFactor, totalXSFactor, re2;
109  G4double epsilon, polXS, unpXS;
110};
111
112
113#endif
Note: See TracBrowser for help on using the repository browser.