Geant4 11.1.1
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4VPolarizedXS.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// File name: G4VPolarizedXS
27//
28// Author: Andreas Schaelicke
29//
30// Class Description:
31// (virtual) interface class
32//
33// provides readable but efficient routines to determine
34// polarization for the final state of a given process
35// empoying the differential cross section
36
37#ifndef G4VPolarizedXS_h
38#define G4VPolarizedXS_h 1
39
40#include "G4StokesVector.hh"
41
43{
44 public:
46 virtual ~G4VPolarizedXS();
47
48 virtual void Initialize(G4double, G4double, G4double,
49 const G4StokesVector& p0, const G4StokesVector& p1,
50 G4int flag = 0) = 0;
51
52 virtual G4double XSection(const G4StokesVector& pol2,
53 const G4StokesVector& pol3) = 0;
54
55 virtual G4double TotalXSection(G4double xmin, G4double xmax, G4double y,
56 const G4StokesVector& pol0,
57 const G4StokesVector& pol1);
58
59 // return expected mean polarisation
60 virtual G4StokesVector GetPol2();
61 virtual G4StokesVector GetPol3();
62
63 // return basic kinematics properties
64 // minimal gamma value in TotalXSection
65 inline G4double GetYmin() { return fYmin; }
66 // minimal energy fraction in TotalXSection
67 virtual G4double GetXmin(G4double y);
68 // maximal energy fraction in TotalXSection
69 virtual G4double GetXmax(G4double y);
70
72 {
73 fA = A;
74 fZ = Z;
75 fCoul = coul;
76 }
77
78 G4VPolarizedXS& operator=(const G4VPolarizedXS& right) = delete;
80
81 protected:
82 // define kinematics properties
83 inline void SetXmin(G4double xmin) { fXmin = xmin; }
84 inline void SetXmax(G4double xmax) { fXmax = xmax; }
85 inline void SetYmin(G4double ymin) { fYmin = ymin; }
86
87 // kinematic properties
89 // material properties
92};
93
94#endif
double G4double
Definition: G4Types.hh:83
int G4int
Definition: G4Types.hh:85
const G4int Z[17]
const G4double A[17]
virtual void Initialize(G4double, G4double, G4double, const G4StokesVector &p0, const G4StokesVector &p1, G4int flag=0)=0
G4VPolarizedXS & operator=(const G4VPolarizedXS &right)=delete
G4double GetYmin()
G4VPolarizedXS(const G4VPolarizedXS &)=delete
virtual G4double XSection(const G4StokesVector &pol2, const G4StokesVector &pol3)=0
void SetXmin(G4double xmin)
virtual G4double TotalXSection(G4double xmin, G4double xmax, G4double y, const G4StokesVector &pol0, const G4StokesVector &pol1)
virtual G4double GetXmin(G4double y)
void SetXmax(G4double xmax)
virtual G4double GetXmax(G4double y)
virtual ~G4VPolarizedXS()
virtual G4StokesVector GetPol2()
virtual G4StokesVector GetPol3()
void SetMaterial(G4double A, G4double Z, G4double coul)
void SetYmin(G4double ymin)