G4ecpssrBaseLixsModel.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 // Author: Haifa Ben Abdelouahed
00028 //         
00029 //
00030 // History:
00031 // -----------
00032 //  23 Apr 2008   H. Ben Abdelouahed   1st implementation
00033 //  28 Apr 2008   MGP        Major revision according to a design iteration
00034 //  29 Apr 2009   ALF Updated Desing for Integration
00035 //  01 Sep 2009   ALF Updated to G4AnalyticalEcpssrLiCrossSection
00036 //  28 Oct 2011   ALF Changed name G4AnalyticalEcpssrLiCrossSection to G4ecpssrBaseLixsModel
00037 //
00038 // -------------------------------------------------------------------
00039 
00040 // Class description:
00041 // Low Energy Electromagnetic Physics, Cross section, p and alpha ionisation, L shell
00042 // Further documentation available from http://www.ge.infn.it/geant4/lowE
00043 
00044 // -------------------------------------------------------------------
00045 
00046 
00047 #ifndef G4ecpssrBaseLixsModel_hh
00048 #define G4ecpssrBaseLixsModel_hh 1
00049 
00050 #include "G4VecpssrLiModel.hh"
00051 #include "globals.hh"
00052 #include <map>
00053 #include <vector>
00054 
00055 class G4ecpssrBaseLixsModel : public G4VecpssrLiModel
00056 
00057 {
00058 public:
00059 
00060   G4ecpssrBaseLixsModel();
00061 
00062   ~G4ecpssrBaseLixsModel();
00063                              
00064   G4double CalculateL1CrossSection(G4int zTarget,G4double massIncident, G4double energyIncident);//according to W.Brandt and G.Lapicki, Phys.Rev.A23(1981)
00065 
00066   G4double CalculateL2CrossSection(G4int zTarget,G4double massIncident, G4double energyIncident);//according to W.Brandt and G.Lapicki, Phys.Rev.A23(1981)
00067 
00068   G4double CalculateL3CrossSection(G4int zTarget,G4double massIncident, G4double energyIncident);//according to W.Brandt and G.Lapicki, Phys.Rev.A23(1981)
00069                                     
00070   G4double CalculateVelocity(G4int subShell, G4int zTarget,G4double massIncident, G4double energyIncident); 
00071                               
00072   G4double  ExpIntFunction(G4int n,G4double x);//Exponential Integral Function
00073 
00074    
00075 
00076 private:
00077 
00078 
00079   G4ecpssrBaseLixsModel(const G4ecpssrBaseLixsModel&);
00080   G4ecpssrBaseLixsModel & operator = (const G4ecpssrBaseLixsModel &right);
00081 
00082   G4double FunctionFL1(G4double k, G4double theta);
00083   
00084   G4double FunctionFL2(G4double k, G4double theta);
00085 
00086 
00087   G4double LogLogInterpolate(G4double e1, G4double e2, G4double e, G4double xs1, G4double xs2);
00088    
00089   G4double LinLogInterpolate(G4double e1, G4double e2, G4double e, G4double xs1, G4double xs2);
00090  
00091   G4double LinLinInterpolate(G4double e1, G4double e2, G4double e, G4double xs1, G4double xs2);
00092   
00093   G4double QuadInterpolator(G4double e11, 
00094                             G4double e12, 
00095                             G4double e21, 
00096                             G4double e22, 
00097                             G4double x11,
00098                             G4double x12, 
00099                             G4double x21, 
00100                             G4double x22, 
00101                             G4double t1, 
00102                             G4double t2, 
00103                             G4double t, 
00104                             G4double e);
00105 
00106   typedef std::map<double, std::map<double, double> > TriDimensionMap;
00107 
00108   TriDimensionMap FL1Data;
00109   
00110   TriDimensionMap FL2Data;
00111   std::vector<double> dummyVec1;
00112   std::vector<double> dummyVec2;
00113 
00114 
00115 
00116   typedef std::map<double, std::vector<double> > VecMap;
00117   VecMap aVecMap1;
00118   VecMap aVecMap2;
00119 
00120   G4int verboseLevel;
00121 
00122 };
00123 
00124 #endif

Generated on Mon May 27 17:48:05 2013 for Geant4 by  doxygen 1.4.7