Geant4.10
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Member Functions | Protected Attributes
G4VPolarizedCrossSection Class Referenceabstract

#include <G4VPolarizedCrossSection.hh>

Inheritance diagram for G4VPolarizedCrossSection:
G4PolarizedAnnihilationCrossSection G4PolarizedBhabhaCrossSection G4PolarizedBremsstrahlungCrossSection G4PolarizedComptonCrossSection G4PolarizedMollerCrossSection G4PolarizedPairProductionCrossSection G4PolarizedPEEffectCrossSection

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 50 of file G4VPolarizedCrossSection.hh.

Constructor & Destructor Documentation

G4VPolarizedCrossSection::G4VPolarizedCrossSection ( )
G4VPolarizedCrossSection::~G4VPolarizedCrossSection ( )
virtual

Definition at line 51 of file G4VPolarizedCrossSection.cc.

52 {
53 }

Member Function Documentation

G4StokesVector G4VPolarizedCrossSection::GetPol2 ( )
virtual

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

Definition at line 62 of file G4VPolarizedCrossSection.cc.

References G4StokesVector::P1, G4StokesVector::P2, G4StokesVector::P3, XSection(), and G4StokesVector::ZERO.

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

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

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

Definition at line 73 of file G4VPolarizedCrossSection.cc.

References G4StokesVector::P1, G4StokesVector::P2, G4StokesVector::P3, XSection(), and G4StokesVector::ZERO.

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

74 {
75  // neglects correlation effects!
76 
81  return G4ThreeVector(invXsecTotal*xsPol1,invXsecTotal*xsPol2,invXsecTotal*xsPol3);
82 }
CLHEP::Hep3Vector G4ThreeVector
virtual G4double XSection(const G4StokesVector &pol2, const G4StokesVector &pol3)=0
static const G4StokesVector P3
static const G4StokesVector P2
static const G4StokesVector P1
double G4double
Definition: G4Types.hh:76
static const G4StokesVector ZERO
G4double G4VPolarizedCrossSection::GetXmax ( G4double  y)
virtual

Reimplemented in G4PolarizedAnnihilationCrossSection.

Definition at line 90 of file G4VPolarizedCrossSection.cc.

References fXmax.

91 {
92  return fXmax;
93 }
G4double G4VPolarizedCrossSection::GetXmin ( G4double  y)
virtual

Reimplemented in G4PolarizedAnnihilationCrossSection.

Definition at line 84 of file G4VPolarizedCrossSection.cc.

References fXmin.

85 {
86  return fXmin;
87 }
G4double G4VPolarizedCrossSection::GetYmin ( )
inline

Definition at line 71 of file G4VPolarizedCrossSection.hh.

References fYmin.

71 {return fYmin; }
void G4VPolarizedCrossSection::Initialize ( G4double  ,
G4double  ,
G4double  ,
const G4StokesVector p0,
const G4StokesVector p1,
G4int  flag = 0 
)
virtual
void G4VPolarizedCrossSection::SetMaterial ( G4double  A,
G4double  Z,
G4double  coul 
)
inline
void G4VPolarizedCrossSection::SetXmax ( G4double  xmax)
inlineprotected
void G4VPolarizedCrossSection::SetXmin ( G4double  xmin)
inlineprotected

Definition at line 85 of file G4VPolarizedCrossSection.hh.

References fXmin.

void G4VPolarizedCrossSection::SetYmin ( G4double  ymin)
inlineprotected
G4double G4VPolarizedCrossSection::TotalXSection ( G4double  xmin,
G4double  xmax,
G4double  y,
const G4StokesVector pol0,
const G4StokesVector pol1 
)
virtual

Reimplemented in G4PolarizedComptonCrossSection, G4PolarizedAnnihilationCrossSection, G4PolarizedMollerCrossSection, and G4PolarizedBhabhaCrossSection.

Definition at line 144 of file G4VPolarizedCrossSection.cc.

References G4cout, and G4endl.

146 {
147  G4cout << "WARNING virtual function G4VPolarizedCrossSection::TotalXSection() called" << G4endl;
148  return 0.;
149 }
G4GLOB_DLL std::ostream G4cout
#define G4endl
Definition: G4ios.hh:61
virtual G4double G4VPolarizedCrossSection::XSection ( const G4StokesVector pol2,
const G4StokesVector pol3 
)
pure virtual

Field Documentation

G4double G4VPolarizedCrossSection::fCoul
protected
G4double G4VPolarizedCrossSection::fXmax
protected

Definition at line 90 of file G4VPolarizedCrossSection.hh.

Referenced by GetXmax(), and SetXmax().

G4double G4VPolarizedCrossSection::fXmin
protected

Definition at line 90 of file G4VPolarizedCrossSection.hh.

Referenced by GetXmin(), and SetXmin().

G4double G4VPolarizedCrossSection::fYmin
protected

Definition at line 90 of file G4VPolarizedCrossSection.hh.

Referenced by GetYmin(), and SetYmin().

G4double G4VPolarizedCrossSection::theA
protected

Definition at line 92 of file G4VPolarizedCrossSection.hh.

Referenced by SetMaterial().

G4double G4VPolarizedCrossSection::theZ
protected

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