Geant4 9.6.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4VPolarizedCrossSection.hh
Go to the documentation of this file.
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$
27//
28// File name: G4VPolarizedCrossSection
29//
30// Author: Andreas Schaelicke
31//
32// Creation date: 15.05.2005
33//
34// Modifications:
35//
36// Class Description:
37// (pure virtual) interface class
38//
39// provides readable but efficient routines to determine
40// polarization for the final state of a given process
41// empoying the differential cross section
42//
43
44#ifndef G4VPolarizedCrossSection_h
45#define G4VPolarizedCrossSection_h 1
46
47#include "G4StokesVector.hh"
48
49
51{
52public:
55
56public:
57 virtual void Initialize(G4double, G4double, G4double,
58 const G4StokesVector & p0,const G4StokesVector & p1,
59 G4int flag=0);
60 virtual G4double XSection(const G4StokesVector & pol2,const G4StokesVector & pol3) = 0;
61 virtual G4double TotalXSection(G4double xmin, G4double xmax, G4double y,
62 const G4StokesVector & pol0,
63 const G4StokesVector & pol1);
64
65 // return expected mean polarisation
66 virtual G4StokesVector GetPol2();
67 virtual G4StokesVector GetPol3();
68
69 // return basic kinematics properties
70 // minimal gamma value in TotalXSection
71 inline G4double GetYmin() {return fYmin; }
72 // minimal energy fraction in TotalXSection
73 virtual G4double GetXmin(G4double y);
74 // maximal energy fraction in TotalXSection
75 virtual G4double GetXmax(G4double y);
76
77 // return appropriate distribute polarisation states;
78// void DicePolarization();
79// G4StokesVector DicedPol2();
80// G4StokesVector DicedPol3();
81 inline void SetMaterial(G4double A, G4double Z, G4double coul)
82 { theA=A; theZ=Z; fCoul=coul; }
83protected:
84 // define kinematics properties
85 inline void SetXmin(G4double xmin) { fXmin=xmin;}
86 inline void SetXmax(G4double xmax) { fXmax=xmax;}
87 inline void SetYmin(G4double ymin) { fYmin=ymin;}
88
89 // kinematic properties
91 // material properties
94};
95
96
97#endif
double G4double
Definition: G4Types.hh:64
int G4int
Definition: G4Types.hh:66
virtual G4double XSection(const G4StokesVector &pol2, const G4StokesVector &pol3)=0
virtual G4double TotalXSection(G4double xmin, G4double xmax, G4double y, const G4StokesVector &pol0, const G4StokesVector &pol1)
void SetMaterial(G4double A, G4double Z, G4double coul)
virtual G4double GetXmin(G4double y)
virtual G4StokesVector GetPol3()
virtual G4double GetXmax(G4double y)
virtual G4StokesVector GetPol2()
virtual void Initialize(G4double, G4double, G4double, const G4StokesVector &p0, const G4StokesVector &p1, G4int flag=0)