Geant4.10
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4PhotoElectricAngularGeneratorPolarized.hh
Go to the documentation of this file.
1 //
2 // ********************************************************************
3 // * License and Disclaimer *
4 // * *
5 // * The Geant4 software is copyright of the Copyright Holders of *
6 // * the Geant4 Collaboration. It is provided under the terms and *
7 // * conditions of the Geant4 Software License, included in the file *
8 // * LICENSE and available at http://cern.ch/geant4/license . These *
9 // * include a list of copyright holders. *
10 // * *
11 // * Neither the authors of this software system, nor their employing *
12 // * institutes,nor the agencies providing financial support for this *
13 // * work make any representation or warranty, express or implied, *
14 // * regarding this software system or assume any liability for its *
15 // * use. Please see the license in the file LICENSE and URL above *
16 // * for the full disclaimer and the limitation of liability. *
17 // * *
18 // * This code implementation is the result of the scientific and *
19 // * technical work of the GEANT4 collaboration. *
20 // * By using, copying, modifying or distributing the software (or *
21 // * any work based on the software) you agree to acknowledge its *
22 // * use in resulting scientific publications, and indicate your *
23 // * acceptance of all terms of the Geant4 Software license. *
24 // ********************************************************************
25 //
26 //
27 // -------------------------------------------------------------------
28 //
29 // GEANT4 Class file
30 //
31 //
32 // File name: G4PhotoElectricAngularGeneratorPolarized
33 //
34 // Author: A.C. Farinha, L. Peralta, P. Rodrigues and A. Trindade
35 //
36 // Creation date: 10 January 2006
37 //
38 // Class Description:
39 //
40 
41 // -------------------------------------------------------------------
42 //
43 
44 #ifndef G4PhotoElectricAngularGeneratorPolarized_h
45 #define G4PhotoElectricAngularGeneratorPolarized_h 1
46 
48 #include "G4ios.hh"
49 #include "globals.hh"
50 #include "G4RotationMatrix.hh"
51 
53 {
54 
55 public:
56 
58 
60 
62  G4double eKinEnergy,
63  G4int shellId,
64  const G4Material* mat = 0);
65 
66  void PrintGeneratorInformation() const;
67 
68 protected:
69 
71 
72 private:
73 
74  // hide assignment operator
77 
78  void PhotoElectronGetMajorantSurfaceAandCParameters(G4int shellId,
79  G4double beta,
80  G4double *majorantSurfaceParameterA,
81  G4double *majorantSurfaceParameterC) const;
82 
83  void PhotoElectronGeneratePhiAndTheta(G4int shellId,
84  G4double beta,
85  G4double aBeta,
86  G4double cBeta,
87  G4double *pphi,
88  G4double *ptheta) const;
89 
90  G4ThreeVector PhotoElectronComputeFinalDirection(const G4RotationMatrix& rotation,
91  G4double theta,
92  G4double phi) const;
93 
94  G4RotationMatrix PhotoElectronRotationMatrix(const G4ThreeVector& direction,
95  const G4ThreeVector& polarization);
96 
97  G4double CrossSectionMajorantFunction(G4double theta, G4double cBeta) const;
98  G4double DSigmaKshellGavrila1959(G4double beta, G4double theta, G4double phi) const;
99  G4double DSigmaL1shellGavrila(G4double beta, G4double theta, G4double phi) const;
100 
101  G4double betaArray[3];
102  G4double aMajorantSurfaceParameterTable[980][2];
103  G4double cMajorantSurfaceParameterTable[980][2];
104 };
105 
106 #endif
107 
virtual G4ThreeVector & SampleDirection(const G4DynamicParticle *dp, G4double eKinEnergy, G4int shellId, const G4Material *mat=0)
int G4int
Definition: G4Types.hh:78
G4ThreeVector PerpendicularVector(const G4ThreeVector &a) const
double G4double
Definition: G4Types.hh:76