00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040
00041
00042
00043
00044 #ifndef G4PhotoElectricAngularGeneratorPolarized_h
00045 #define G4PhotoElectricAngularGeneratorPolarized_h 1
00046
00047 #include "G4VEmAngularDistribution.hh"
00048 #include "G4ios.hh"
00049 #include "globals.hh"
00050 #include "G4RotationMatrix.hh"
00051
00052 class G4PhotoElectricAngularGeneratorPolarized : public G4VEmAngularDistribution
00053 {
00054
00055 public:
00056
00057 G4PhotoElectricAngularGeneratorPolarized();
00058
00059 ~G4PhotoElectricAngularGeneratorPolarized();
00060
00061 virtual G4ThreeVector& SampleDirection(const G4DynamicParticle* dp,
00062 G4double eKinEnergy,
00063 G4int shellId,
00064 const G4Material* mat = 0);
00065
00066 void PrintGeneratorInformation() const;
00067
00068 protected:
00069
00070 G4ThreeVector PerpendicularVector(const G4ThreeVector& a) const;
00071
00072 private:
00073
00074
00075 G4PhotoElectricAngularGeneratorPolarized & operator=(const G4PhotoElectricAngularGeneratorPolarized &right);
00076 G4PhotoElectricAngularGeneratorPolarized(const G4PhotoElectricAngularGeneratorPolarized&);
00077
00078 void PhotoElectronGetMajorantSurfaceAandCParameters(G4int shellId,
00079 G4double beta,
00080 G4double *majorantSurfaceParameterA,
00081 G4double *majorantSurfaceParameterC) const;
00082
00083 void PhotoElectronGeneratePhiAndTheta(G4int shellId,
00084 G4double beta,
00085 G4double aBeta,
00086 G4double cBeta,
00087 G4double *pphi,
00088 G4double *ptheta) const;
00089
00090 G4ThreeVector PhotoElectronComputeFinalDirection(const G4RotationMatrix& rotation,
00091 G4double theta,
00092 G4double phi) const;
00093
00094 G4RotationMatrix PhotoElectronRotationMatrix(const G4ThreeVector& direction,
00095 const G4ThreeVector& polarization);
00096
00097 G4double CrossSectionMajorantFunction(G4double theta, G4double cBeta) const;
00098 G4double DSigmaKshellGavrila1959(G4double beta, G4double theta, G4double phi) const;
00099 G4double DSigmaL1shellGavrila(G4double beta, G4double theta, G4double phi) const;
00100
00101 G4double betaArray[3];
00102 G4double aMajorantSurfaceParameterTable[980][2];
00103 G4double cMajorantSurfaceParameterTable[980][2];
00104 };
00105
00106 #endif
00107