@@ -305,7 +305,6 @@ struct FlowTask {
305305 registry.add (" hDCAxy" , " DCAxy after cuts; DCAxy (cm); Pt" , {HistType::kTH2D , {{200 , -0.5 , 0.5 }, {200 , 0 , 5 }}});
306306 registry.add (" hTrackCorrection2d" , " Correlation table for number of tracks table; uncorrected track; corrected track" , {HistType::kTH2D , {axisNch, axisNch}});
307307 registry.add (" hMeanPt" , " " , {HistType::kTProfile , {axisIndependent}});
308- registry.add (" hDeltaPt" , " " , {HistType::kTProfile , {axisIndependent}});
309308 registry.add (" hMeanPtWithinGap08" , " " , {HistType::kTProfile , {axisIndependent}});
310309 registry.add (" c22_gap08_Weff" , " " , {HistType::kTProfile , {axisIndependent}});
311310 registry.add (" c22_gap08_trackMeanPt" , " " , {HistType::kTProfile , {axisIndependent}});
@@ -1033,19 +1032,10 @@ struct FlowTask {
10331032 }
10341033 registry.fill (HIST (" hTrackCorrection2d" ), tracks.size (), nTracksCorrected);
10351034
1036- // additional loop to calculate standard error of pT
1037- double deltaPtSum = 0 .;
1038- double meanPt = ptSum / weffEvent;
1039- for (const auto & track : tracks) {
1040- if (!setCurrentParticleWeights (weff, wacc, track.phi (), track.eta (), track.pt (), vtxz))
1041- continue ;
1042- deltaPtSum += weff * (track.pt () - meanPt) * (track.pt () - meanPt);
1043- }
10441035 double weffEventDiffWithGap08 = weffEventWithinGap08 * weffEventWithinGap08 - weffEventSquareWithinGap08;
10451036 // MeanPt
10461037 if (weffEvent) {
10471038 registry.fill (HIST (" hMeanPt" ), independent, ptSum / weffEvent, weffEvent);
1048- registry.fill (HIST (" hDeltaPt" ), independent, std::sqrt (deltaPtSum / (weffEvent - 1 )), weffEvent);
10491039 }
10501040 if (weffEventWithinGap08)
10511041 registry.fill (HIST (" hMeanPtWithinGap08" ), independent, ptSum_Gap08 / weffEventWithinGap08, weffEventWithinGap08);
0 commit comments