1111// / \author Maxim Virta (maxim.virta@cern.ch)
1212// / \since Jul 2024
1313
14- #include " Framework/AnalysisTask.h"
15- #include " Framework/RunningWorkflowInfo.h"
16- #include " Framework/HistogramRegistry.h"
14+ #include " JEPFlowAnalysis.h"
1715
18- #include " Common/DataModel/EventSelection.h"
19- #include " Common/Core/TrackSelection.h"
20- #include " Framework/runDataProcessing.h"
21- #include " Common/DataModel/TrackSelectionTables.h"
16+ #include " FlowJHistManager.h"
2217
23- #include " Common/DataModel/Qvectors.h"
2418#include " Common/Core/EventPlaneHelper.h"
19+ #include " Common/Core/TrackSelection.h"
20+ #include " Common/DataModel/EventSelection.h"
21+ #include " Common/DataModel/Qvectors.h"
22+ #include " Common/DataModel/TrackSelectionTables.h"
2523
26- #include " CCDB/CcdbApi.h"
2724#include " CCDB/BasicCCDBManager.h"
28-
29- #include " FlowJHistManager.h"
30- #include " JEPFlowAnalysis.h"
25+ #include " CCDB/CcdbApi.h"
26+ #include " Framework/AnalysisTask.h"
27+ #include " Framework/HistogramRegistry.h"
28+ #include " Framework/RunningWorkflowInfo.h"
29+ #include " Framework/runDataProcessing.h"
3130
3231using namespace o2 ;
3332using namespace o2 ::framework;
@@ -154,7 +153,7 @@ struct jEPFlowAnalysis {
154153 auto coeffshiftxRefA = shiftprofile.at (i - 2 )->GetBinContent (shiftprofile.at (i - 2 )->FindBin (cent, 2.5 , ishift - 0.5 ));
155154 auto coeffshiftyRefA = shiftprofile.at (i - 2 )->GetBinContent (shiftprofile.at (i - 2 )->FindBin (cent, 3.5 , ishift - 0.5 ));
156155 auto coeffshiftxRefB = shiftprofile.at (i - 2 )->GetBinContent (shiftprofile.at (i - 2 )->FindBin (cent, 4.5 , ishift - 0.5 ));
157- auto coeffshiftyRefB = shiftprofile.at (i - 2 )->GetBinContent (shiftprofile.at (i - 2 )->FindBin (cent, 5.5 , ishift - 0.5 )); // currently only FT0C/TPCpos/TPCneg
156+ auto coeffshiftyRefB = shiftprofile.at (i - 2 )->GetBinContent (shiftprofile.at (i - 2 )->FindBin (cent, 5.5 , ishift - 0.5 )); // currently only FT0C/TPCpos/TPCneg
158157
159158 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 ])));
160159 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 ])));
@@ -166,7 +165,8 @@ struct jEPFlowAnalysis {
166165 EPs[2 ] += deltapsiRefB;
167166 }
168167
169- if (cfgSPmethod) weight *= sqrt (pow (coll.qvecRe ()[DetId + harmInd], 2 ) + pow (coll.qvecIm ()[DetId + harmInd], 2 ));
168+ if (cfgSPmethod)
169+ weight *= sqrt (pow (coll.qvecRe ()[DetId + harmInd], 2 ) + pow (coll.qvecIm ()[DetId + harmInd], 2 ));
170170
171171 Float_t resNumA = helperEP.GetResolution (EPs[0 ], EPs[1 ], i);
172172 Float_t resNumB = helperEP.GetResolution (EPs[0 ], EPs[2 ], i);
0 commit comments