[1197] | 1 | |
---|
| 2 | // |
---|
| 3 | // ******************************************************************** |
---|
| 4 | // * License and Disclaimer * |
---|
| 5 | // * * |
---|
| 6 | // * The Geant4 software is copyright of the Copyright Holders of * |
---|
| 7 | // * the Geant4 Collaboration. It is provided under the terms and * |
---|
| 8 | // * conditions of the Geant4 Software License, included in the file * |
---|
| 9 | // * LICENSE and available at http://cern.ch/geant4/license . These * |
---|
| 10 | // * include a list of copyright holders. * |
---|
| 11 | // * * |
---|
| 12 | // * Neither the authors of this software system, nor their employing * |
---|
| 13 | // * institutes,nor the agencies providing financial support for this * |
---|
| 14 | // * work make any representation or warranty, express or implied, * |
---|
| 15 | // * regarding this software system or assume any liability for its * |
---|
| 16 | // * use. Please see the license in the file LICENSE and URL above * |
---|
| 17 | // * for the full disclaimer and the limitation of liability. * |
---|
| 18 | // * * |
---|
| 19 | // * This code implementation is the result of the scientific and * |
---|
| 20 | // * technical work of the GEANT4 collaboration. * |
---|
| 21 | // * By using, copying, modifying or distributing the software (or * |
---|
| 22 | // * any work based on the software) you agree to acknowledge its * |
---|
| 23 | // * use in resulting scientific publications, and indicate your * |
---|
| 24 | // * acceptance of all terms of the Geant4 Software license. * |
---|
| 25 | // ******************************************************************** |
---|
| 26 | // |
---|
| 27 | // $Id: G4ecpssrLiCrossSection.hh,v 1.2 2009/06/22 13:54:00 mantero Exp $ |
---|
| 28 | // GEANT4 tag $Name: geant4-09-03-cand-01 $ |
---|
| 29 | // |
---|
| 30 | // Author: Haifa Ben Abdelouahed |
---|
| 31 | // |
---|
| 32 | // |
---|
| 33 | // History: |
---|
| 34 | // ----------- |
---|
| 35 | // 23 Apr 2008 H. Ben Abdelouahed 1st implementation |
---|
| 36 | // 28 Apr 2008 MGP Major revision according to a design iteration |
---|
| 37 | // 29 Apr 2009 ALF Updated Desing for Integration |
---|
| 38 | // |
---|
| 39 | // ------------------------------------------------------------------- |
---|
| 40 | |
---|
| 41 | // Class description: |
---|
| 42 | // Low Energy Electromagnetic Physics, Cross section, p and alpha ionisation, L shell |
---|
| 43 | // Further documentation available from http://www.ge.infn.it/geant4/lowE |
---|
| 44 | |
---|
| 45 | // ------------------------------------------------------------------- |
---|
| 46 | |
---|
| 47 | |
---|
| 48 | #ifndef G4ECPSSRLICROSSSECTION_HH |
---|
| 49 | #define G4ECPSSRLICROSSSECTION_HH 1 |
---|
| 50 | |
---|
| 51 | #include "globals.hh" |
---|
| 52 | #include <map> |
---|
| 53 | #include <vector> |
---|
| 54 | |
---|
| 55 | class G4ecpssrLiCrossSection |
---|
| 56 | |
---|
| 57 | { |
---|
| 58 | public: |
---|
| 59 | |
---|
| 60 | G4ecpssrLiCrossSection(); |
---|
| 61 | |
---|
| 62 | ~G4ecpssrLiCrossSection(); |
---|
| 63 | |
---|
| 64 | G4double CalculateL1CrossSection(G4int zTarget,G4double massIncident, G4double energyIncident);//according to W.Brandt and G.Lapicki, Phys.Rev.A23(1981) |
---|
| 65 | |
---|
| 66 | G4double CalculateL2CrossSection(G4int zTarget,G4double massIncident, G4double energyIncident);//according to W.Brandt and G.Lapicki, Phys.Rev.A23(1981) |
---|
| 67 | |
---|
| 68 | G4double CalculateL3CrossSection(G4int zTarget,G4double massIncident, G4double energyIncident);//according to W.Brandt and G.Lapicki, Phys.Rev.A23(1981) |
---|
| 69 | |
---|
| 70 | G4double CalculateVelocity(G4int subShell, G4int zTarget,G4double massIncident, G4double energyIncident); |
---|
| 71 | |
---|
| 72 | G4double ExpIntFunction(G4int n,G4double x);//Exponential Integral Function |
---|
| 73 | |
---|
| 74 | |
---|
| 75 | |
---|
| 76 | private: |
---|
| 77 | |
---|
| 78 | |
---|
| 79 | G4ecpssrLiCrossSection(const G4ecpssrLiCrossSection&); |
---|
| 80 | G4ecpssrLiCrossSection & operator = (const G4ecpssrLiCrossSection &right); |
---|
| 81 | |
---|
| 82 | G4double FunctionFL1(G4double k, G4double theta); |
---|
| 83 | |
---|
| 84 | G4double FunctionFL2(G4double k, G4double theta); |
---|
| 85 | |
---|
| 86 | |
---|
| 87 | G4double LogLogInterpolate(G4double e1, G4double e2, G4double e, G4double xs1, G4double xs2); |
---|
| 88 | |
---|
| 89 | G4double LinLogInterpolate(G4double e1, G4double e2, G4double e, G4double xs1, G4double xs2); |
---|
| 90 | |
---|
| 91 | G4double QuadInterpolator(G4double e11, |
---|
| 92 | G4double e12, |
---|
| 93 | G4double e21, |
---|
| 94 | G4double e22, |
---|
| 95 | G4double x11, |
---|
| 96 | G4double x12, |
---|
| 97 | G4double x21, |
---|
| 98 | G4double x22, |
---|
| 99 | G4double t1, |
---|
| 100 | G4double t2, |
---|
| 101 | G4double t, |
---|
| 102 | G4double e); |
---|
| 103 | |
---|
| 104 | typedef std::map<double, std::map<double, double> > TriDimensionMap; |
---|
| 105 | |
---|
| 106 | TriDimensionMap FL1Data; |
---|
| 107 | |
---|
| 108 | TriDimensionMap FL2Data; |
---|
| 109 | |
---|
| 110 | std::vector<double> dummyVec; |
---|
| 111 | |
---|
| 112 | typedef std::map<double, std::vector<double> > VecMap; |
---|
| 113 | VecMap aVecMap; |
---|
| 114 | |
---|
| 115 | }; |
---|
| 116 | |
---|
| 117 | #endif |
---|