@@ -149,7 +149,7 @@ struct jEPFlowAnalysis {
149149 auto coeffshiftxRefA = shiftprofile.at (i - 2 )->GetBinContent (shiftprofile.at (i - 2 )->FindBin (centrality, 2.5 , ishift - 0.5 ));
150150 auto coeffshiftyRefA = shiftprofile.at (i - 2 )->GetBinContent (shiftprofile.at (i - 2 )->FindBin (centrality, 3.5 , ishift - 0.5 ));
151151 auto coeffshiftxRefB = shiftprofile.at (i - 2 )->GetBinContent (shiftprofile.at (i - 2 )->FindBin (centrality, 4.5 , ishift - 0.5 ));
152- auto coeffshiftyRefB = shiftprofile.at (i - 2 )->GetBinContent (shiftprofile.at (i - 2 )->FindBin (centrality, 5.5 , ishift - 0.5 )); // currently only FT0C/TPCpos/TPCneg
152+ auto coeffshiftyRefB = shiftprofile.at (i - 2 )->GetBinContent (shiftprofile.at (i - 2 )->FindBin (centrality, 5.5 , ishift - 0.5 )); // currently only FT0C/TPCpos/TPCneg
153153
154154 deltapsiDet += ((1 / (1.0 * ishift)) * (-coeffshiftxDet * TMath::Cos (ishift * static_cast <float >(i) * EPs[0 ]) + coeffshiftyDet * TMath::Sin (ishift * static_cast <float >(i) * EPs[0 ])));
155155 deltapsiRefA += ((1 / (1.0 * ishift)) * (-coeffshiftxRefA * TMath::Cos (ishift * static_cast <float >(i) * EPs[1 ]) + coeffshiftyRefA * TMath::Sin (ishift * static_cast <float >(i) * EPs[1 ])));
@@ -161,7 +161,8 @@ struct jEPFlowAnalysis {
161161 EPs[2 ] += deltapsiRefB;
162162 }
163163
164- if (cfgSPmethod) weight *= sqrt (pow (coll.qvecRe ()[DetId + harmInd], 2 ) + pow (coll.qvecIm ()[DetId + harmInd], 2 ));
164+ if (cfgSPmethod)
165+ weight *= sqrt (pow (coll.qvecRe ()[DetId + harmInd], 2 ) + pow (coll.qvecIm ()[DetId + harmInd], 2 ));
165166
166167 Float_t resNumA = helperEP.GetResolution (EPs[0 ], EPs[1 ], i);
167168 Float_t resNumB = helperEP.GetResolution (EPs[0 ], EPs[2 ], i);
0 commit comments