Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2024-06-26 07:06:20

0001 ///////////////////////////////////////////////////////////////////////////
0002 //
0003 //    Copyright 2010
0004 //
0005 //    This file is part of starlight.
0006 //
0007 //    starlight is free software: you can redistribute it and/or modify
0008 //    it under the terms of the GNU General Public License as published by
0009 //    the Free Software Foundation, either version 3 of the License, or
0010 //    (at your option) any later version.
0011 //
0012 //    starlight is distributed in the hope that it will be useful,
0013 //    but WITHOUT ANY WARRANTY; without even the implied warranty of
0014 //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
0015 //    GNU General Public License for more details.
0016 //
0017 //    You should have received a copy of the GNU General Public License
0018 //    along with starlight. If not, see <http://www.gnu.org/licenses/>.
0019 //
0020 ///////////////////////////////////////////////////////////////////////////
0021 //
0022 // File and Version Information:
0023 // $Rev:: 259                         $: revision of last commit
0024 // $Author:: jseger                   $: author of last commit
0025 // $Date:: 2016-04-19 01:58:25 +0100 #$: date of last commit
0026 //
0027 // Description:
0028 //
0029 //
0030 //
0031 ///////////////////////////////////////////////////////////////////////////
0032 
0033 
0034 #ifndef GAMMAELUMINOSITY_H
0035 #define GAMMAELUMINOSITY_H
0036 
0037 
0038 #include "beambeamsystem.h"
0039 #include "inputParameters.h"
0040 #include "photonNucleusCrossSection.h"
0041 
0042 
0043 class photonElectronLuminosity : public photonNucleusCrossSection
0044 {
0045  public:
0046   photonElectronLuminosity(const inputParameters& input, beamBeamSystem& bbsystem);
0047   ~photonElectronLuminosity();
0048   
0049  private:
0050   void photonNucleusDifferentialLuminosity();
0051   std::string gammaTableParse(int ii, int jj);
0052   
0053   const double _protonEnergy;
0054   const double _electronEnergy;
0055   const double _beamLorentzGamma;
0056   const std::string _baseFileName;
0057   const double _maxW;
0058   const double _minW;
0059   const unsigned int _nmbWBins;
0060   const double _maxRapidity;
0061   const unsigned int _nmbRapidityBins;
0062   const int    _nEBins;
0063   const double _minGammaQ2;
0064   const double _maxGammaQ2;
0065   const unsigned int _nmbGammaQ2Bins;
0066   const double _cmsMaxPhotonEnergy;
0067   const double _cmsMinPhotonEnergy;
0068   const double _targetMaxPhotonEnergy;
0069   const double _targetMinPhotonEnergy;
0070   const int _productionMode;
0071   const int _beamBreakupMode;
0072 };
0073 
0074 #endif //GAMMAELUMINOSITY_H
0075