Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2024-06-18 07:06:21

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 GAMMAALUMINOSITY_H
0035 #define GAMMAALUMINOSITY_H
0036 
0037 
0038 #include "beambeamsystem.h"
0039 #include "inputParameters.h"
0040 #include "photonNucleusCrossSection.h"
0041 
0042 
0043 class photonNucleusLuminosity : public photonNucleusCrossSection
0044 {
0045  public:
0046   photonNucleusLuminosity(const inputParameters& input, beamBeamSystem& bbsystem);
0047   ~photonNucleusLuminosity();
0048   
0049  private:
0050   void photonNucleusDifferentialLuminosity();
0051   double *vmsigmapt(double W,double Egamma,double *SIGMAPT, int beam);
0052   void pttablegen();
0053 
0054   const double _ptBinWidthInterference;
0055   const double _interferenceStrength;
0056   const double _protonEnergy;
0057   const double _beamLorentzGamma;
0058   const std::string _baseFileName;
0059   const double _maxW;
0060   const double _minW;
0061   const unsigned int _nmbWBins;
0062   const double _maxRapidity;
0063   const unsigned int _nmbRapidityBins;
0064   const int _productionMode;
0065   const int _beamBreakupMode;
0066   const bool _interferenceEnabled;
0067   const double _maxPtInterference;
0068   const int _nmbPtBinsInterference;
0069 };
0070 
0071 #endif //GAMMAALUMINOSITY_H
0072