source: trunk/source/processes/electromagnetic/polarisation/include/G4VPolarizedCrossSection.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: 3.7 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: G4VPolarizedCrossSection.hh,v 1.4 2007/11/01 17:32:34 schaelic Exp $
27// GEANT4 tag $Name: geant4-09-04-beta-01 $
28//
29// File name:     G4VPolarizedCrossSection
30//
31// Author:        Andreas Schaelicke
32//
33// Creation date: 15.05.2005
34//
35// Modifications:
36//
37// Class Description:
38//   (pure virtual) interface class
39//
40//   provides readable but efficient routines to determine
41//   polarization for the final state of a given process
42//   empoying the differential cross section
43//
44
45#ifndef G4VPolarizedCrossSection_h
46#define G4VPolarizedCrossSection_h 1
47
48#include "G4StokesVector.hh"
49
50
51class G4VPolarizedCrossSection
52{
53public:
54  G4VPolarizedCrossSection();
55  virtual ~G4VPolarizedCrossSection();
56
57public:
58  virtual void Initialize(G4double, G4double, G4double,
59                          const G4StokesVector & p0,const G4StokesVector & p1,
60                          G4int flag=0); 
61  virtual G4double XSection(const G4StokesVector & pol2,const G4StokesVector & pol3) = 0; 
62  virtual G4double TotalXSection(G4double xmin, G4double xmax, G4double y,
63                                 const G4StokesVector & pol0,
64                                 const G4StokesVector & pol1);
65 
66  // return expected mean polarisation
67  virtual G4StokesVector GetPol2();
68  virtual G4StokesVector GetPol3();
69
70  // return basic kinematics properties
71  //   minimal gamma value in TotalXSection
72  inline G4double GetYmin() {return fYmin; } 
73  //   minimal energy fraction in TotalXSection
74  virtual G4double GetXmin(G4double y);
75  //   maximal energy fraction in TotalXSection
76  virtual G4double GetXmax(G4double y);
77
78  // return appropriate distribute polarisation states;
79//  void DicePolarization();
80//   G4StokesVector DicedPol2();
81//   G4StokesVector DicedPol3();
82  inline void SetMaterial(G4double A, G4double Z, G4double coul) 
83  { theA=A; theZ=Z; fCoul=coul; }
84protected:
85  // define kinematics properties
86  inline void SetXmin(G4double xmin) { fXmin=xmin;}
87  inline void SetXmax(G4double xmax) { fXmax=xmax;}
88  inline void SetYmin(G4double ymin) { fYmin=ymin;}
89
90  // kinematic properties
91  G4double fXmin, fXmax, fYmin;
92  // material properties
93  G4double theA, theZ;
94  G4double fCoul;
95};
96
97
98#endif
Note: See TracBrowser for help on using the repository browser.