G4PhotoElectricAngularGeneratorPolarized.hh

Go to the documentation of this file.
00001 //
00002 // ********************************************************************
00003 // * License and Disclaimer                                           *
00004 // *                                                                  *
00005 // * The  Geant4 software  is  copyright of the Copyright Holders  of *
00006 // * the Geant4 Collaboration.  It is provided  under  the terms  and *
00007 // * conditions of the Geant4 Software License,  included in the file *
00008 // * LICENSE and available at  http://cern.ch/geant4/license .  These *
00009 // * include a list of copyright holders.                             *
00010 // *                                                                  *
00011 // * Neither the authors of this software system, nor their employing *
00012 // * institutes,nor the agencies providing financial support for this *
00013 // * work  make  any representation or  warranty, express or implied, *
00014 // * regarding  this  software system or assume any liability for its *
00015 // * use.  Please see the license in the file  LICENSE  and URL above *
00016 // * for the full disclaimer and the limitation of liability.         *
00017 // *                                                                  *
00018 // * This  code  implementation is the result of  the  scientific and *
00019 // * technical work of the GEANT4 collaboration.                      *
00020 // * By using,  copying,  modifying or  distributing the software (or *
00021 // * any work based  on the software)  you  agree  to acknowledge its *
00022 // * use  in  resulting  scientific  publications,  and indicate your *
00023 // * acceptance of all terms of the Geant4 Software license.          *
00024 // ********************************************************************
00025 //
00026 //
00027 // -------------------------------------------------------------------
00028 //
00029 // GEANT4 Class file
00030 //
00031 //
00032 // File name:  G4PhotoElectricAngularGeneratorPolarized
00033 //
00034 // Author:        A.C. Farinha, L. Peralta, P. Rodrigues and A. Trindade
00035 // 
00036 // Creation date: 10 January 2006
00037 //
00038 // Class Description: 
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   // hide assignment operator 
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 

Generated on Mon May 27 17:49:18 2013 for Geant4 by  doxygen 1.4.7