G4VPolarizedCrossSection Class Reference

#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 (  ) 

Definition at line 46 of file G4VPolarizedCrossSection.cc.

00046                                                    :
00047   fXmin(0), fXmax(1.), fYmin(1.), theA(1), theZ(1), fCoul(0.)
00048 {
00049 }

G4VPolarizedCrossSection::~G4VPolarizedCrossSection (  )  [virtual]

Definition at line 51 of file G4VPolarizedCrossSection.cc.

00052 {
00053 }


Member Function Documentation

G4StokesVector G4VPolarizedCrossSection::GetPol2 (  )  [virtual]

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

Definition at line 62 of file G4VPolarizedCrossSection.cc.

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

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

00063 {
00064   // neglects correlation effects! 
00065 
00066   G4double invXsecTotal=1./XSection(G4StokesVector::ZERO,G4StokesVector::ZERO);
00067   G4double xsPol1=XSection(G4StokesVector::P1,G4StokesVector::ZERO);
00068   G4double xsPol2=XSection(G4StokesVector::P2,G4StokesVector::ZERO);
00069   G4double xsPol3=XSection(G4StokesVector::P3,G4StokesVector::ZERO);
00070   return G4ThreeVector(invXsecTotal*xsPol1,invXsecTotal*xsPol2,invXsecTotal*xsPol3);
00071 }

G4StokesVector G4VPolarizedCrossSection::GetPol3 (  )  [virtual]

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

Definition at line 73 of file G4VPolarizedCrossSection.cc.

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

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

00074 {
00075   // neglects correlation effects! 
00076 
00077   G4double invXsecTotal=1./XSection(G4StokesVector::ZERO,G4StokesVector::ZERO);
00078   G4double xsPol1=XSection(G4StokesVector::ZERO,G4StokesVector::P1); 
00079   G4double xsPol2=XSection(G4StokesVector::ZERO,G4StokesVector::P2); 
00080   G4double xsPol3=XSection(G4StokesVector::ZERO,G4StokesVector::P3); 
00081   return G4ThreeVector(invXsecTotal*xsPol1,invXsecTotal*xsPol2,invXsecTotal*xsPol3); 
00082 }

G4double G4VPolarizedCrossSection::GetXmax ( G4double  y  )  [virtual]

Reimplemented in G4PolarizedAnnihilationCrossSection.

Definition at line 90 of file G4VPolarizedCrossSection.cc.

References fXmax.

00091 {
00092   return fXmax;
00093 }

G4double G4VPolarizedCrossSection::GetXmin ( G4double  y  )  [virtual]

Reimplemented in G4PolarizedAnnihilationCrossSection.

Definition at line 84 of file G4VPolarizedCrossSection.cc.

References fXmin.

00085 {
00086   return fXmin;
00087 }

G4double G4VPolarizedCrossSection::GetYmin (  )  [inline]

Definition at line 71 of file G4VPolarizedCrossSection.hh.

References fYmin.

00071 {return fYmin; } 

void G4VPolarizedCrossSection::Initialize ( G4double  ,
G4double  ,
G4double  ,
const G4StokesVector p0,
const G4StokesVector p1,
G4int  flag = 0 
) [virtual]

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

Definition at line 55 of file G4VPolarizedCrossSection.cc.

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

00059 {
00060 } 

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

Definition at line 81 of file G4VPolarizedCrossSection.hh.

References fCoul, theA, and theZ.

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

00082   { theA=A; theZ=Z; fCoul=coul; }

void G4VPolarizedCrossSection::SetXmax ( G4double  xmax  )  [inline, protected]

Definition at line 86 of file G4VPolarizedCrossSection.hh.

References fXmax.

Referenced by G4PolarizedMollerCrossSection::G4PolarizedMollerCrossSection(), and G4PolarizedBhabhaCrossSection::Initialize().

00086 { fXmax=xmax;}

void G4VPolarizedCrossSection::SetXmin ( G4double  xmin  )  [inline, protected]

Definition at line 85 of file G4VPolarizedCrossSection.hh.

References fXmin.

00085 { fXmin=xmin;}

void G4VPolarizedCrossSection::SetYmin ( G4double  ymin  )  [inline, protected]

Definition at line 87 of file G4VPolarizedCrossSection.hh.

References fYmin.

Referenced by G4PolarizedComptonCrossSection::G4PolarizedComptonCrossSection().

00087 { fYmin=ymin;}

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.

References G4cout, and G4endl.

00146 {
00147   G4cout << "WARNING virtual function G4VPolarizedCrossSection::TotalXSection() called" << G4endl;
00148   return 0.;
00149 }

virtual G4double G4VPolarizedCrossSection::XSection ( const G4StokesVector pol2,
const G4StokesVector pol3 
) [pure virtual]

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

Referenced by GetPol2(), GetPol3(), and G4PolarizedMollerBhabhaModel::SampleSecondaries().


Field Documentation

G4double G4VPolarizedCrossSection::fCoul [protected]

Definition at line 93 of file G4VPolarizedCrossSection.hh.

Referenced by G4PolarizedPairProductionCrossSection::Initialize(), G4PolarizedBremsstrahlungCrossSection::Initialize(), and SetMaterial().

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]

Definition at line 92 of file G4VPolarizedCrossSection.hh.

Referenced by G4PolarizedPairProductionCrossSection::Initialize(), G4PolarizedBremsstrahlungCrossSection::Initialize(), SetMaterial(), and G4PolarizedComptonCrossSection::TotalXSection().


The documentation for this class was generated from the following files:
Generated on Mon May 27 17:53:53 2013 for Geant4 by  doxygen 1.4.7