#include <G4PolarizedPEEffectCrossSection.hh>
Inheritance diagram for G4PolarizedPEEffectCrossSection:
Public Member Functions | |
G4PolarizedPEEffectCrossSection () | |
virtual | ~G4PolarizedPEEffectCrossSection () |
virtual void | Initialize (G4double aGammaE, G4double aLept0E, G4double sintheta, const G4StokesVector &beamPol, const G4StokesVector &, G4int flag=0) |
G4double | XSection (const G4StokesVector &pol2, const G4StokesVector &pol3) |
G4StokesVector | GetPol2 () |
G4StokesVector | GetPol3 () |
Definition at line 50 of file G4PolarizedPEEffectCrossSection.hh.
G4PolarizedPEEffectCrossSection::G4PolarizedPEEffectCrossSection | ( | ) |
G4PolarizedPEEffectCrossSection::~G4PolarizedPEEffectCrossSection | ( | ) | [virtual] |
G4StokesVector G4PolarizedPEEffectCrossSection::GetPol2 | ( | ) | [virtual] |
Reimplemented from G4VPolarizedCrossSection.
Definition at line 150 of file G4PolarizedPEEffectCrossSection.cc.
Referenced by G4PolarizedPEEffectModel::SampleSecondaries().
G4StokesVector G4PolarizedPEEffectCrossSection::GetPol3 | ( | ) | [virtual] |
Reimplemented from G4VPolarizedCrossSection.
Definition at line 157 of file G4PolarizedPEEffectCrossSection.cc.
00158 { 00159 return G4StokesVector(); 00160 }
void G4PolarizedPEEffectCrossSection::Initialize | ( | G4double | aGammaE, | |
G4double | aLept0E, | |||
G4double | sintheta, | |||
const G4StokesVector & | beamPol, | |||
const G4StokesVector & | , | |||
G4int | flag = 0 | |||
) | [virtual] |
Reimplemented from G4VPolarizedCrossSection.
Definition at line 59 of file G4PolarizedPEEffectCrossSection.cc.
Referenced by G4PolarizedPEEffectModel::SampleSecondaries().
00065 { 00066 // cout<<"G4PolarizedPEEffectCrossSection::Initialize()\n"; 00067 00068 // G4StokesVector PolarizedPhotoElectricEffect::Transfer_G4StokesVector( 00069 // G4double aGammaE, // Incoming Primary Gamma Energy. 00070 // G4ThreeVector aGammaDir, // Incoming Primary Gamma Direction. 00071 // G4StokesVector beamPol, // Incoming Primary Gamma polarization. 00072 // G4double aLept0E, // The Lepton e- of interest Total energy. 00073 // G4ThreeVector aParticl_01_Dir, // The Lepton e- of interest direction. 00074 // G4double cos_aTetha_Angle // The lepton of interest Scattering angle. 00075 // ) 00076 00077 // *********************************************************** 00078 // ************ added by Karim Polarization transfer to e- in PhotoelectricEffect. 00079 // ************ 00080 // *********************************************************** 00081 G4double Gfactor = aLept0E/electron_mass_c2+1; 00082 G4double Gfactor_2 = Gfactor * Gfactor; 00083 00084 G4double BETA = sqrt(1. - 1./(Gfactor_2)); 00085 00086 G4double Stokes_P3 = beamPol.z() ; 00087 00088 G4double m0_c2 = electron_mass_c2; 00089 G4double Lept0E = aLept0E/m0_c2+1, Lept0E2 = Lept0E * Lept0E ; 00090 G4double GammaE = aGammaE/m0_c2; 00091 00092 00093 // G4double cosTheta = cos_aTetha_Angle; 00094 // G4double sinTheta = sqrt(1- cos_aTetha_Angle * cos_aTetha_Angle); 00095 G4double cosTheta = std::sqrt(1. - sinTheta*sinTheta); 00096 00097 G4double D_Lepton0 = (1./GammaE) * ((2./(GammaE*Lept0E*(1-BETA*cosTheta)))-1.); 00098 00099 G4double I_Lepton0 = 1.0+D_Lepton0; 00100 00101 G4double A_Lepton0 = (Lept0E/(Lept0E+1))*(2.0/(GammaE*Lept0E) 00102 + BETA*cosTheta 00103 +(2.0/((GammaE*Lept0E2)*(1.0-BETA*cosTheta)))) / I_Lepton0 ; 00104 00105 G4double B_Lepton0 = (Lept0E/(Lept0E+1.0)) * BETA * sinTheta * (2.0/(GammaE*Lept0E*(1-BETA*cosTheta))-1.0)/I_Lepton0; 00106 00107 G4double Stokes_S1 = (Stokes_P3 * B_Lepton0) ; 00108 G4double Stokes_S2 = 0.; 00109 G4double Stokes_S3 = (Stokes_P3 * A_Lepton0) ; 00110 00111 00112 theFinalElectronPolarization.setX(Stokes_S1); 00113 theFinalElectronPolarization.setY(Stokes_S2); 00114 theFinalElectronPolarization.setZ(Stokes_S3); 00115 00116 if((theFinalElectronPolarization.x()*theFinalElectronPolarization.x() 00117 + theFinalElectronPolarization.y()* theFinalElectronPolarization.y() 00118 + theFinalElectronPolarization.z()* theFinalElectronPolarization.z())>1) 00119 00120 { 00121 cout<<"Warning: PhotoelectricEffect Problem in pol-transfer photon to lepton:Px2 + Py2 + Pz2 > 1"<<endl; 00122 cout<<"Polarization transfer forced to be total and similar as incoming Photo"<<endl; 00123 // *KL* Surprising if it arrives (never seen it up to now) 00124 theFinalElectronPolarization = beamPol; // suplement de securite 00125 // cout<<"PhotoEffect okay :" 00126 // <<"\t"<<(aLept0E-m0_c2)/aGammaE 00127 // <<"\t"<<aGammaE 00128 // <<"\t"<<aLept0E 00129 // <<"\t"<<cos_aTetha_Angle 00130 // <<"\t"<<beamPol 00131 // <<"\t"<<theFinalElectronPolarization 00132 // <<"\t"<<A_Lepton0 00133 // <<endl; 00134 } 00135 }
G4double G4PolarizedPEEffectCrossSection::XSection | ( | const G4StokesVector & | pol2, | |
const G4StokesVector & | pol3 | |||
) | [virtual] |
Implements G4VPolarizedCrossSection.
Definition at line 141 of file G4PolarizedPEEffectCrossSection.cc.
00143 { 00144 cout<<"ERROR dummy routine G4PolarizedPEEffectCrossSection::XSection() called\n"; 00145 return 0; 00146 }