1313// / \brief Task for producing particle correlations
1414// / \author Joey Staa <joey.staa@fysik.lu.se>
1515
16- #include < algorithm>
16+ #include " RecoDecay.h"
17+
18+ #include " PWGLF/DataModel/LFStrangenessTables.h"
1719
18- #include " Framework/runDataProcessing.h"
19- #include " Framework/AnalysisTask.h"
20- #include " CCDB/BasicCCDBManager.h"
2120#include " Common/DataModel/Centrality.h"
2221#include " Common/DataModel/McCollisionExtra.h"
2322#include " Common/DataModel/PIDResponse.h"
23+
24+ #include " CCDB/BasicCCDBManager.h"
2425#include " DataFormatsParameters/GRPMagField.h"
25- #include " PWGLF/DataModel/LFStrangenessTables.h"
26+ #include " Framework/AnalysisTask.h"
27+ #include " Framework/runDataProcessing.h"
2628
27- #include " RecoDecay.h"
2829#include " TPDGCode.h"
2930
31+ #include < algorithm>
32+ #include < vector>
33+
3034using namespace o2 ;
3135using namespace o2 ::framework;
3236using namespace o2 ::framework::expressions;
@@ -161,8 +165,12 @@ struct ThreeParticleCorrelations {
161165 void init (InitContext const &)
162166 {
163167
168+ // Bins of variable width
169+ std::vector<double > fineCentBins = {0.0 , 2.0 , 4.0 , 7.0 , 10.0 , 15.0 , 20.0 , 25.0 , 30.0 , 35.0 , 40.0 , 45.0 , 50.0 , 60.0 , 70.0 , 80.0 , 90.0 };
170+
164171 // Histograms axes
165172 const AxisSpec centralityAxis{confCentBins};
173+ const AxisSpec fineCentralityAxis{fineCentBins};
166174 const AxisSpec zvtxAxis{confZvtxBins};
167175 const AxisSpec dPhiAxis{36 , (-1 . / 2 ) * constants::math::PI, (3 . / 2 ) * constants::math::PI};
168176 const AxisSpec dEtaAxis{32 , -1.52 , 1.52 };
@@ -187,18 +195,18 @@ struct ThreeParticleCorrelations {
187195 rQARegistry.add (" hTrackPhi" , " hTrackPhi" , {HistType::kTH1D , {{100 , (-1 . / 2 ) * constants::math::PI, (5 . / 2 ) * constants::math::PI}}});
188196 rQARegistry.add (" hTrackNSharedClusters" , " hTrackNSharedClusters" , {HistType::kTH1D , {{200 , 0 , 200 }}});
189197
190- rQARegistry.add (" hPtPion_Uncorrected" , " hPtPion_Uncorrected" , {HistType::kTH3D , {{trackPtAxis}, {centralityAxis }, {2 , -2 , 2 }}});
191- rQARegistry.add (" hPtKaon_Uncorrected" , " hPtKaon_Uncorrected" , {HistType::kTH3D , {{trackPtAxis}, {centralityAxis }, {2 , -2 , 2 }}});
192- rQARegistry.add (" hPtProton_Uncorrected" , " hPtProton_Uncorrected" , {HistType::kTH3D , {{trackPtAxis}, {centralityAxis }, {2 , -2 , 2 }}});
193- rQARegistry.add (" hPtV0_Uncorrected" , " hPtV0_Uncorrected" , {HistType::kTH3D , {{v0PtAxis}, {centralityAxis }, {2 , -2 , 2 }}});
194- rQARegistry.add (" hPtPion_Corrected" , " hPtPion_Corrected" , {HistType::kTH3D , {{trackPtAxis}, {centralityAxis }, {2 , -2 , 2 }}});
195- rQARegistry.add (" hPtKaon_Corrected" , " hPtKaon_Corrected" , {HistType::kTH3D , {{trackPtAxis}, {centralityAxis }, {2 , -2 , 2 }}});
196- rQARegistry.add (" hPtProton_Corrected" , " hPtProton_Corrected" , {HistType::kTH3D , {{trackPtAxis}, {centralityAxis }, {2 , -2 , 2 }}});
197- rQARegistry.add (" hPtV0_Corrected" , " hPtV0_Corrected" , {HistType::kTH3D , {{v0PtAxis}, {centralityAxis }, {2 , -2 , 2 }}});
198- rQARegistry.add (" hPtPion_MC" , " hPtPion_MC" , {HistType::kTH3D , {{trackPtAxis}, {centralityAxis }, {2 , -2 , 2 }}});
199- rQARegistry.add (" hPtKaon_MC" , " hPtKaon_MC" , {HistType::kTH3D , {{trackPtAxis}, {centralityAxis }, {2 , -2 , 2 }}});
200- rQARegistry.add (" hPtProton_MC" , " hPtProton_MC" , {HistType::kTH3D , {{trackPtAxis}, {centralityAxis }, {2 , -2 , 2 }}});
201- rQARegistry.add (" hPtV0_MC" , " hPtV0_MC" , {HistType::kTH3D , {{v0PtAxis}, {centralityAxis }, {2 , -2 , 2 }}});
198+ rQARegistry.add (" hPtPion_Uncorrected" , " hPtPion_Uncorrected" , {HistType::kTH3D , {{trackPtAxis}, {fineCentralityAxis }, {2 , -2 , 2 }}});
199+ rQARegistry.add (" hPtKaon_Uncorrected" , " hPtKaon_Uncorrected" , {HistType::kTH3D , {{trackPtAxis}, {fineCentralityAxis }, {2 , -2 , 2 }}});
200+ rQARegistry.add (" hPtProton_Uncorrected" , " hPtProton_Uncorrected" , {HistType::kTH3D , {{trackPtAxis}, {fineCentralityAxis }, {2 , -2 , 2 }}});
201+ rQARegistry.add (" hPtV0_Uncorrected" , " hPtV0_Uncorrected" , {HistType::kTH3D , {{v0PtAxis}, {fineCentralityAxis }, {2 , -2 , 2 }}});
202+ rQARegistry.add (" hPtPion_Corrected" , " hPtPion_Corrected" , {HistType::kTH3D , {{trackPtAxis}, {fineCentralityAxis }, {2 , -2 , 2 }}});
203+ rQARegistry.add (" hPtKaon_Corrected" , " hPtKaon_Corrected" , {HistType::kTH3D , {{trackPtAxis}, {fineCentralityAxis }, {2 , -2 , 2 }}});
204+ rQARegistry.add (" hPtProton_Corrected" , " hPtProton_Corrected" , {HistType::kTH3D , {{trackPtAxis}, {fineCentralityAxis }, {2 , -2 , 2 }}});
205+ rQARegistry.add (" hPtV0_Corrected" , " hPtV0_Corrected" , {HistType::kTH3D , {{v0PtAxis}, {fineCentralityAxis }, {2 , -2 , 2 }}});
206+ rQARegistry.add (" hPtPion_MC" , " hPtPion_MC" , {HistType::kTH3D , {{trackPtAxis}, {fineCentralityAxis }, {2 , -2 , 2 }}});
207+ rQARegistry.add (" hPtKaon_MC" , " hPtKaon_MC" , {HistType::kTH3D , {{trackPtAxis}, {fineCentralityAxis }, {2 , -2 , 2 }}});
208+ rQARegistry.add (" hPtProton_MC" , " hPtProton_MC" , {HistType::kTH3D , {{trackPtAxis}, {fineCentralityAxis }, {2 , -2 , 2 }}});
209+ rQARegistry.add (" hPtV0_MC" , " hPtV0_MC" , {HistType::kTH3D , {{v0PtAxis}, {fineCentralityAxis }, {2 , -2 , 2 }}});
202210
203211 rQARegistry.add (" hdEdx" , " hdEdx" , {HistType::kTH2D , {{120 , -3.0 , 3.0 }, {180 , 20 , 200 }}});
204212 rQARegistry.add (" hdEdxPion" , " hdEdxPion" , {HistType::kTH2D , {{120 , -3.0 , 3.0 }, {180 , 20 , 200 }}});
0 commit comments