48 : _Warray(0), _Yarray(0), _Farray(0), _Farray1(0), _Farray2(0),
49 _f_WYarray(0), _g_Earray(0)
50 , _ReadInputNPT(inputParametersInstance.nmbPtBinsInterference())
51 , _ReadInputnumy(inputParametersInstance.nmbRapidityBins())
52 , _ReadInputnumw(inputParametersInstance.nmbWBins())
53 , _ReadInputnumega(inputParametersInstance.nmbEnergyBins())
54 , _ReadInputnumQ2(inputParametersInstance.nmbGammaQ2Bins())
55 , _ReadInputgg_or_gP(inputParametersInstance.productionMode())
56 , _ReadInputinterferencemode(inputParametersInstance.interferenceEnabled())
57 , _baseFileName(inputParametersInstance.baseFileName())
112 std::string wyFileName;
125 wylumfile.open(wyFileName.c_str());
127 for(
int i=0;i < 17;i++){
128 wylumfile >> dummy[i];
186 finterm[i][j] = fpart;
193 for (
int k=0;
k<j;
k++) {
233 std::string wyFileName;
243 wylumfile.open(wyFileName.c_str());
245 for(
int i=0;i < 13;i++){
246 wylumfile >> dummy[i];
263 if( _BWarray[i] > bw_max )
264 bw_max = _BWarray[i];
271 if( (A_2 == 0 && A_1 >= 1) || (A_1 ==0 && A_2 >= 1) ){
292 cout<<
"Done reading wylumi file"<<endl;
293 std::string EQ2FileName;
297 EQlumfile.open(EQ2FileName.c_str());
299 EQlumfile >> n_steps;
300 double integrated_max = 0 ;
302 _g_EQ2array =
new vector< std::pair< double, vector<double> > > ();
303 while( !EQlumfile.eof() ){
306 std::vector<double>
p;
309 EQlumfile >> integral;
310 if( integral > integrated_max)
311 integrated_max = integral;
323 for(
unsigned int iQ2=2; iQ2 < p.size(); ++iQ2)
326 _g_EQ2array->push_back(std::pair<
double, std::vector<double> >(integral,p));
330 it->first =
it->first/integrated_max;