#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 |
Definition at line 50 of file G4VPolarizedCrossSection.hh.
G4VPolarizedCrossSection::G4VPolarizedCrossSection | ( | ) |
G4VPolarizedCrossSection::~G4VPolarizedCrossSection | ( | ) | [virtual] |
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 }
Reimplemented in G4PolarizedAnnihilationCrossSection.
Definition at line 90 of file G4VPolarizedCrossSection.cc.
References fXmax.
00091 { 00092 return fXmax; 00093 }
Reimplemented in G4PolarizedAnnihilationCrossSection.
Definition at line 84 of file G4VPolarizedCrossSection.cc.
References fXmin.
00085 { 00086 return fXmin; 00087 }
G4double G4VPolarizedCrossSection::GetYmin | ( | ) | [inline] |
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().
Definition at line 81 of file G4VPolarizedCrossSection.hh.
References fCoul, theA, and theZ.
Referenced by G4PolarizedPEEffectModel::SampleSecondaries(), G4PolarizedGammaConversionModel::SampleSecondaries(), and G4ePolarizedBremsstrahlungModel::SampleSecondaries().
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] |
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().
G4double G4VPolarizedCrossSection::fCoul [protected] |
Definition at line 93 of file G4VPolarizedCrossSection.hh.
Referenced by G4PolarizedPairProductionCrossSection::Initialize(), G4PolarizedBremsstrahlungCrossSection::Initialize(), and SetMaterial().
G4double G4VPolarizedCrossSection::fXmax [protected] |
G4double G4VPolarizedCrossSection::fXmin [protected] |
G4double G4VPolarizedCrossSection::fYmin [protected] |
G4double G4VPolarizedCrossSection::theA [protected] |
G4double G4VPolarizedCrossSection::theZ [protected] |
Definition at line 92 of file G4VPolarizedCrossSection.hh.
Referenced by G4PolarizedPairProductionCrossSection::Initialize(), G4PolarizedBremsstrahlungCrossSection::Initialize(), SetMaterial(), and G4PolarizedComptonCrossSection::TotalXSection().