1111// / \author Maxim Virta (maxim.virta@cern.ch)
1212// / \since Jul 2024
1313
14- #include < string>
15- #include < vector>
14+ #include " JEPFlowAnalysis.h"
1615
17- #include " Framework/AnalysisTask.h"
18- #include " Framework/RunningWorkflowInfo.h"
19- #include " Framework/HistogramRegistry.h"
16+ #include " FlowJHistManager.h"
2017
21- #include " Common/DataModel/EventSelection .h"
18+ #include " Common/Core/EventPlaneHelper .h"
2219#include " Common/Core/TrackSelection.h"
23- #include " Framework/runDataProcessing.h"
20+ #include " Common/DataModel/EventSelection.h"
21+ #include " Common/DataModel/Qvectors.h"
2422#include " Common/DataModel/TrackSelectionTables.h"
2523
26- #include " Common/DataModel/Qvectors.h"
27- #include " Common/Core/EventPlaneHelper.h"
24+ #include " Framework/AnalysisTask.h"
25+ #include " Framework/HistogramRegistry.h"
26+ #include " Framework/RunningWorkflowInfo.h"
27+ #include " Framework/runDataProcessing.h"
2828
29- #include " FlowJHistManager.h "
30- #include " JEPFlowAnalysis.h "
29+ #include < string >
30+ #include < vector >
3131
3232using namespace o2 ;
3333using namespace o2 ::framework;
@@ -152,7 +152,7 @@ struct jEPFlowAnalysis {
152152 auto coeffshiftxRefA = shiftprofile.at (i - 2 )->GetBinContent (shiftprofile.at (i - 2 )->FindBin (centrality, 2.5 , ishift - 0.5 ));
153153 auto coeffshiftyRefA = shiftprofile.at (i - 2 )->GetBinContent (shiftprofile.at (i - 2 )->FindBin (centrality, 3.5 , ishift - 0.5 ));
154154 auto coeffshiftxRefB = shiftprofile.at (i - 2 )->GetBinContent (shiftprofile.at (i - 2 )->FindBin (centrality, 4.5 , ishift - 0.5 ));
155- auto coeffshiftyRefB = shiftprofile.at (i - 2 )->GetBinContent (shiftprofile.at (i - 2 )->FindBin (centrality, 5.5 , ishift - 0.5 )); // currently only FT0C/TPCpos/TPCneg
155+ auto coeffshiftyRefB = shiftprofile.at (i - 2 )->GetBinContent (shiftprofile.at (i - 2 )->FindBin (centrality, 5.5 , ishift - 0.5 )); // currently only FT0C/TPCpos/TPCneg
156156
157157 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 ])));
158158 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 ])));
@@ -164,7 +164,8 @@ struct jEPFlowAnalysis {
164164 EPs[2 ] += deltapsiRefB;
165165 }
166166
167- if (cfgSPmethod) weight *= sqrt (pow (coll.qvecRe ()[DetId + harmInd], 2 ) + pow (coll.qvecIm ()[DetId + harmInd], 2 ));
167+ if (cfgSPmethod)
168+ weight *= sqrt (pow (coll.qvecRe ()[DetId + harmInd], 2 ) + pow (coll.qvecIm ()[DetId + harmInd], 2 ));
168169
169170 Float_t resNumA = helperEP.GetResolution (EPs[0 ], EPs[1 ], i);
170171 Float_t resNumB = helperEP.GetResolution (EPs[0 ], EPs[2 ], i);
0 commit comments