@@ -48,22 +48,21 @@ class GFWBinningCuts
4848{
4949 public:
5050 GFWBinningCuts (int vtxzbins_ = 40 , float vtxzmin_ = -10 ., float vtxzmax_ = 10 , int etabins_ = 16 , float etamin_ = -0.8 , float etamax_ = 0.8 ,
51- int phibins_ = 72 , int nchbins_ = 300 , float nchmin_ = 0.5 , float nchmax_ = 3000.5 ,
52- float ptpoimin_ = 0.2 , float ptpoimax_ = 10 ., float ptrefmin_ = 0.2 , float ptrefmax_ = 3 .,
53- std::vector<double > ptbinning_ = {0.2 , 0.25 , 0.3 , 0.35 , 0.4 , 0.45 , 0.5 , 0.55 ,
54- 0.6 , 0.65 , 0.7 , 0.75 , 0.8 , 0.85 , 0.9 , 0.95 ,
55- 1 , 1.1 , 1.2 , 1.3 , 1.4 , 1.5 , 1.6 , 1.7 , 1.8 , 1.9 ,
56- 2 , 2.2 , 2.4 , 2.6 , 2.8 , 3 , 3.5 , 4 , 5 , 6 , 8 , 10 },
57- std::vector<double > centbinning_ = {0.0 , 1.0 , 2.0 , 3.0 , 4.0 , 5.0 , 6.0 , 7.0 , 8.0 , 9.0 , 10.0 , 11.0 , 12.0 , 13.0 , 14.0 , 15.0 , 16.0 , 17.0 , 18.0 , 19.0 , 20.0 ,
58- 21.0 , 22.0 , 23.0 , 24.0 , 25.0 , 26.0 , 27.0 , 28.0 , 29.0 , 30.0 , 31.0 , 32.0 , 33.0 , 34.0 , 35.0 , 36.0 , 37.0 , 38.0 , 39.0 ,
59- 40.0 , 41.0 , 42.0 , 43.0 , 44.0 , 45.0 , 46.0 , 47.0 , 48.0 , 49.0 , 50.0 , 51.0 , 52.0 , 53.0 , 54.0 , 55.0 , 56.0 , 57.0 , 58.0 , 59.0 ,
60- 60.0 , 61.0 , 62.0 , 63.0 , 64.0 , 65.0 , 66.0 , 67.0 , 68.0 , 69.0 , 70.0 , 71.0 , 72.0 , 73.0 , 74.0 , 75.0 , 76.0 , 77.0 , 78.0 , 79.0 ,
61- 80.0 , 81.0 , 82.0 , 83.0 , 84.0 , 85.0 , 86.0 , 87.0 , 88.0 , 89.0 , 90.0 }) :
62- mVtxZbins {vtxzbins_}, mVtxZmin {vtxzmin_}, mVtxZmax {vtxzmax_}, mEtabins {etabins_}, mEtamin {etamin_}, mEtamax {etamax_}, mPhibins {phibins_}, mNchbins {nchbins_}, mNchmin {nchmin_}, mNchmax {nchmax_}, mPTpoimin {ptpoimin_}, mPTpoimax {ptpoimax_}, mPTrefmin {ptrefmin_}, mPTrefmax {ptrefmax_}, mPTbinning {std::move (ptbinning_)}, mCentbinning {std::move (centbinning_)} {};
51+ int phibins_ = 72 , int nchbins_ = 300 , float nchmin_ = 0.5 , float nchmax_ = 3000.5 ,
52+ float ptpoimin_ = 0.2 , float ptpoimax_ = 10 ., float ptrefmin_ = 0.2 , float ptrefmax_ = 3 .,
53+ std::vector<double > ptbinning_ = {0.2 , 0.25 , 0.3 , 0.35 , 0.4 , 0.45 , 0.5 , 0.55 ,
54+ 0.6 , 0.65 , 0.7 , 0.75 , 0.8 , 0.85 , 0.9 , 0.95 ,
55+ 1 , 1.1 , 1.2 , 1.3 , 1.4 , 1.5 , 1.6 , 1.7 , 1.8 , 1.9 ,
56+ 2 , 2.2 , 2.4 , 2.6 , 2.8 , 3 , 3.5 , 4 , 5 , 6 , 8 , 10 },
57+ std::vector<double > centbinning_ = {0.0 , 1.0 , 2.0 , 3.0 , 4.0 , 5.0 , 6.0 , 7.0 , 8.0 , 9.0 , 10.0 , 11.0 , 12.0 , 13.0 , 14.0 , 15.0 , 16.0 , 17.0 , 18.0 , 19.0 , 20.0 ,
58+ 21.0 , 22.0 , 23.0 , 24.0 , 25.0 , 26.0 , 27.0 , 28.0 , 29.0 , 30.0 , 31.0 , 32.0 , 33.0 , 34.0 , 35.0 , 36.0 , 37.0 , 38.0 , 39.0 ,
59+ 40.0 , 41.0 , 42.0 , 43.0 , 44.0 , 45.0 , 46.0 , 47.0 , 48.0 , 49.0 , 50.0 , 51.0 , 52.0 , 53.0 , 54.0 , 55.0 , 56.0 , 57.0 , 58.0 , 59.0 ,
60+ 60.0 , 61.0 , 62.0 , 63.0 , 64.0 , 65.0 , 66.0 , 67.0 , 68.0 , 69.0 , 70.0 , 71.0 , 72.0 , 73.0 , 74.0 , 75.0 , 76.0 , 77.0 , 78.0 , 79.0 ,
61+ 80.0 , 81.0 , 82.0 , 83.0 , 84.0 , 85.0 , 86.0 , 87.0 , 88.0 , 89.0 , 90.0 }) : mVtxZbins {vtxzbins_}, mVtxZmin {vtxzmin_}, mVtxZmax {vtxzmax_}, mEtabins {etabins_}, mEtamin {etamin_}, mEtamax {etamax_}, mPhibins {phibins_}, mNchbins {nchbins_}, mNchmin {nchmin_}, mNchmax {nchmax_}, mPTpoimin {ptpoimin_}, mPTpoimax {ptpoimax_}, mPTrefmin {ptrefmin_}, mPTrefmax {ptrefmax_}, mPTbinning {std::move (ptbinning_)}, mCentbinning {std::move (centbinning_)} {};
6362
6463 auto Print () const
6564 {
66- LOGF (info," Vz: %d, %.1f, %.1f | Eta: %d, %.1f, %.1f | Phi: %d | Pt POI: %.2f, %.2f | Pt Ref: %.2f, %.2f | Nch: %d, %.1f, %.1f" ,mVtxZbins ,mVtxZmin ,mVtxZmax ,mEtabins ,mEtamin ,mEtamax ,mPhibins ,mPTpoimin ,mPTpoimax ,mPTrefmin ,mPTrefmax ,mNchbins ,mNchmin ,mNchmax );
65+ LOGF (info, " Vz: %d, %.1f, %.1f | Eta: %d, %.1f, %.1f | Phi: %d | Pt POI: %.2f, %.2f | Pt Ref: %.2f, %.2f | Nch: %d, %.1f, %.1f" , mVtxZbins , mVtxZmin , mVtxZmax , mEtabins , mEtamin , mEtamax , mPhibins , mPTpoimin , mPTpoimax , mPTrefmin , mPTrefmax , mNchbins , mNchmin , mNchmax );
6766 return ;
6867 }
6968
@@ -160,7 +159,7 @@ class GFWRegions
160159 auto Print () const
161160 {
162161 for (auto i = 0 ; i < names.size (); ++i) {
163- LOGF (info," {%s, %.1f, %.1f, %d, %d}" ,names[i].c_str (),etaminvals[i],etamaxvals[i],pTDifs[i],bitmasks[i]);
162+ LOGF (info, " {%s, %.1f, %.1f, %d, %d}" , names[i].c_str (), etaminvals[i], etamaxvals[i], pTDifs[i], bitmasks[i]);
164163 }
165164 return ;
166165 }
@@ -205,7 +204,7 @@ class GFWCorrConfigs
205204 auto Print () const
206205 {
207206 for (auto i = 0 ; i < corrs.size (); ++i) {
208- LOGF (info," {%s,%s,%d,%d}" ,heads[i].c_str (),corrs[i].c_str (),pTDifs[i],pTCorrMasks[i]);
207+ LOGF (info, " {%s,%s,%d,%d}" , heads[i].c_str (), corrs[i].c_str (), pTDifs[i], pTCorrMasks[i]);
209208 }
210209 return ;
211210 }
0 commit comments