Skip to content

Commit

Permalink
Commented out unused variables to ease compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
Zachary Sweger authored and Zachary Sweger committed Sep 29, 2022
1 parent bd8bfad commit a97f792
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/photonNucleusCrossSection.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -746,17 +746,17 @@ photonNucleusCrossSection::integrated_Q2_dep(double const Egamma, double const _
double ln_min = std::log(Q2_min);
double ratio = std::log(Q2_max/Q2_min)/nstep;
double g_int = 0;
double g_int2 = 0 ;
double g_int3 = 0;
//double g_int2 = 0 ;
//double g_int3 = 0;
//cout<<"*** Lomnitz **** Energy "<<Egamma<<" limits "<<Q2_min*1E9<<" x 1E-9 - "<<Q2_max<<endl;
for ( int ii = 0 ; ii< nstep; ++ii){
double x1 = std::exp(ln_min+(double)ii*ratio);
double x3 = std::exp(ln_min+(double)(ii+1)*ratio);
double x2 = (x3+x1)/2.;
//cout<<"ii : "<<x1<<" "<<x2<<" "<<x3<<endl;
g_int += (x3-x1)*( g(Egamma,x3)+g(Egamma,x1) +4.*g(Egamma,x2));
g_int2 += (x3-x1)*( photonFlux(Egamma,x3)+photonFlux(Egamma,x1) +4.*photonFlux(Egamma,x2));
g_int3 += (x3-x1)*( getcsgA_Q2_dep(x3)+getcsgA_Q2_dep(x1) +4.*getcsgA_Q2_dep(x2));
//g_int2 += (x3-x1)*( photonFlux(Egamma,x3)+photonFlux(Egamma,x1) +4.*photonFlux(Egamma,x2));
//g_int3 += (x3-x1)*( getcsgA_Q2_dep(x3)+getcsgA_Q2_dep(x1) +4.*getcsgA_Q2_dep(x2));
}
//return g_int2*g_int3/36.;
//return g_int2/6.;
Expand Down

0 comments on commit a97f792

Please sign in to comment.