Geant4 10.7.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4VPolarizedCrossSection Class Referenceabstract

#include <G4VPolarizedCrossSection.hh>

+ Inheritance diagram for G4VPolarizedCrossSection:

Public Member Functions

 G4VPolarizedCrossSection ()
 
virtual ~G4VPolarizedCrossSection ()
 
virtual void Initialize (G4double, G4double, G4double, const G4StokesVector &p0, const G4StokesVector &p1, G4int flag=0)
 
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)
 
virtual G4StokesVector GetPol2 ()
 
virtual G4StokesVector GetPol3 ()
 
G4double GetYmin ()
 
virtual G4double GetXmin (G4double y)
 
virtual G4double GetXmax (G4double y)
 
void SetMaterial (G4double A, G4double Z, G4double coul)
 

Protected Member Functions

void SetXmin (G4double xmin)
 
void SetXmax (G4double xmax)
 
void SetYmin (G4double ymin)
 

Protected Attributes

G4double fXmin
 
G4double fXmax
 
G4double fYmin
 
G4double theA
 
G4double theZ
 
G4double fCoul
 

Detailed Description

Definition at line 49 of file G4VPolarizedCrossSection.hh.

Constructor & Destructor Documentation

◆ G4VPolarizedCrossSection()

G4VPolarizedCrossSection::G4VPolarizedCrossSection ( )

◆ ~G4VPolarizedCrossSection()

G4VPolarizedCrossSection::~G4VPolarizedCrossSection ( )
virtual

Definition at line 50 of file G4VPolarizedCrossSection.cc.

51{
52}

Member Function Documentation

◆ GetPol2()

G4StokesVector G4VPolarizedCrossSection::GetPol2 ( )
virtual

Reimplemented in G4PolarizedAnnihilationCrossSection, G4PolarizedBhabhaCrossSection, G4PolarizedBremsstrahlungCrossSection, G4PolarizedComptonCrossSection, G4PolarizedMollerCrossSection, G4PolarizedPairProductionCrossSection, and G4PolarizedPEEffectCrossSection.

Definition at line 61 of file G4VPolarizedCrossSection.cc.

62{
63 // neglects correlation effects!
64
69 return G4ThreeVector(invXsecTotal*xsPol1,invXsecTotal*xsPol2,invXsecTotal*xsPol3);
70}
CLHEP::Hep3Vector G4ThreeVector
double G4double
Definition: G4Types.hh:83
static const G4StokesVector P3
static const G4StokesVector ZERO
static const G4StokesVector P2
static const G4StokesVector P1
virtual G4double XSection(const G4StokesVector &pol2, const G4StokesVector &pol3)=0

Referenced by G4ePolarizedBremsstrahlungModel::SampleSecondaries(), G4PolarizedGammaConversionModel::SampleSecondaries(), and G4PolarizedMollerBhabhaModel::SampleSecondaries().

◆ GetPol3()

◆ GetXmax()

G4double G4VPolarizedCrossSection::GetXmax ( G4double  y)
virtual

Reimplemented in G4PolarizedAnnihilationCrossSection.

Definition at line 89 of file G4VPolarizedCrossSection.cc.

90{
91 return fXmax;
92}

◆ GetXmin()

G4double G4VPolarizedCrossSection::GetXmin ( G4double  y)
virtual

Reimplemented in G4PolarizedAnnihilationCrossSection.

Definition at line 83 of file G4VPolarizedCrossSection.cc.

84{
85 return fXmin;
86}

◆ GetYmin()

G4double G4VPolarizedCrossSection::GetYmin ( )
inline

Definition at line 70 of file G4VPolarizedCrossSection.hh.

70{return fYmin; }

◆ Initialize()

◆ SetMaterial()

void G4VPolarizedCrossSection::SetMaterial ( G4double  A,
G4double  Z,
G4double  coul 
)
inline

◆ SetXmax()

void G4VPolarizedCrossSection::SetXmax ( G4double  xmax)
inlineprotected

◆ SetXmin()

void G4VPolarizedCrossSection::SetXmin ( G4double  xmin)
inlineprotected

Definition at line 84 of file G4VPolarizedCrossSection.hh.

84{ fXmin=xmin;}

◆ SetYmin()

void G4VPolarizedCrossSection::SetYmin ( G4double  ymin)
inlineprotected

◆ TotalXSection()

G4double G4VPolarizedCrossSection::TotalXSection ( G4double  xmin,
G4double  xmax,
G4double  y,
const G4StokesVector pol0,
const G4StokesVector pol1 
)
virtual

Reimplemented in G4PolarizedAnnihilationCrossSection, G4PolarizedBhabhaCrossSection, G4PolarizedComptonCrossSection, and G4PolarizedMollerCrossSection.

Definition at line 144 of file G4VPolarizedCrossSection.cc.

146{
147 G4cout << "WARNING virtual function G4VPolarizedCrossSection::TotalXSection() called" << G4endl;
148 return 0.;
149}
#define G4endl
Definition: G4ios.hh:57
G4GLOB_DLL std::ostream G4cout

◆ XSection()

Member Data Documentation

◆ fCoul

◆ fXmax

G4double G4VPolarizedCrossSection::fXmax
protected

Definition at line 89 of file G4VPolarizedCrossSection.hh.

Referenced by GetXmax(), and SetXmax().

◆ fXmin

G4double G4VPolarizedCrossSection::fXmin
protected

Definition at line 89 of file G4VPolarizedCrossSection.hh.

Referenced by GetXmin(), and SetXmin().

◆ fYmin

G4double G4VPolarizedCrossSection::fYmin
protected

Definition at line 89 of file G4VPolarizedCrossSection.hh.

Referenced by GetYmin(), and SetYmin().

◆ theA

G4double G4VPolarizedCrossSection::theA
protected

Definition at line 91 of file G4VPolarizedCrossSection.hh.

Referenced by SetMaterial().

◆ theZ


The documentation for this class was generated from the following files: