@@ -63,6 +63,8 @@ enum PairHist {
6363 kKstarVsMt ,
6464 kKstarVsMult ,
6565 kKstarVsCent ,
66+ // 3D: k* vs kT vs centrality
67+ kKstarVsKtVsCent ,
6668 // 2D with mass
6769 kKstarVsMass1 ,
6870 kKstarVsMass2 ,
@@ -170,6 +172,7 @@ struct ConfPairBinning : o2::framework::ConfigurableGroup {
170172 o2::framework::Configurable<bool > usePdgMass{" usePdgMass" , true , " (Reco) Use PDF masses for 4-vectors. If false, use reconstructed mass (if available). Not consulted for pure mc-truth pairs, which always use PDG mass" };
171173 o2::framework::Configurable<bool > plot1D{" plot1D" , true , " (Reco/Mc) Enable 1D histograms" };
172174 o2::framework::Configurable<bool > plot2D{" plot2D" , true , " (Reco/Mc) Enable 2D histograms" };
175+ o2::framework::Configurable<bool > plotKstarVsKtVsCent{" plotKstarVsKtVsCent" , false , " (Reco/Mc) Enable 3D histogram (Kstar Vs Kt Vs Cent)" };
173176 o2::framework::Configurable<bool > plotKstarVsMtVsMult{" plotKstarVsMtVsMult" , false , " (Reco/Mc) Enable 3D histogram (Kstar Vs Mt Vs Mult)" };
174177 o2::framework::Configurable<bool > plotKstarVsMtVsMultVsCent{" plotKstarVsMtVsMultVsCent" , false , " (Reco/Mc) Enable 4D histogram (Kstar Vs Mt Vs Mult Vs Cent)" };
175178 o2::framework::Configurable<bool > plotKstarVsMtVsPt1VsPt2{" plotKstarVsMtVsPt1VsPt2" , false , " (Reco/Mc) Enable 4D histogram (Kstar Vs Mt Vs Pt1 Vs Pt2)" };
@@ -251,6 +254,7 @@ constexpr std::array<histmanager::HistInfo<PairHist>, kPairHistogramLast>
251254 {kPt1VsMinv , o2::framework::HistType::kTH2F , " hPt1VsMinv" , " p_{T,1} vs m_{Inv}; p_{T,1} (GeV/#it{c}); m_{Inv} (GeV/#it{c}^{2})" },
252255 {kPt2VsMinv , o2::framework::HistType::kTH2F , " hPt2VsMinv" , " p_{T,2} vs m_{Inv}; p_{T,2} (GeV/#it{c}); m_{Inv} (GeV/#it{c}^{2})" },
253256 // n-D
257+ {kKstarVsKtVsCent , o2::framework::HistType::kTHnSparseF , " hKstarVsKtVsCent" , " k* vs k_{T} vs centrality; k* (GeV/#it{c}); k_{T} (GeV/#it{c}); Centrality (%);" },
254258 {kKstarVsMtVsMult , o2::framework::HistType::kTHnSparseF , " hKstarVsMtVsMult" , " k* vs m_{T} vs multiplicity; k* (GeV/#it{c}); m_{T} (GeV/#it{c}^{2}); Multiplicity;" },
255259 {kKstarVsMtVsMultVsCent , o2::framework::HistType::kTHnSparseF , " hKstarVsMtVsMultVsCent" , " k* vs m_{T} vs multiplicity vs centrality; k* (GeV/#it{c}); m_{T} (GeV/#it{c}^{2}); Multiplicity; Centrality (%);" },
256260 // n-D with pt
@@ -334,6 +338,7 @@ constexpr std::array<histmanager::HistInfo<PairHist>, kPairHistogramLast>
334338 {kKstarVsMt , {(confAnalysis).kstar , (confAnalysis).mt }}, \
335339 {kKstarVsMult , {(confAnalysis).kstar , (confAnalysis).multiplicity }}, \
336340 {kKstarVsCent , {(confAnalysis).kstar , (confAnalysis).centrality }}, \
341+ {kKstarVsKtVsCent , {(confAnalysis).kstar , (confAnalysis).kt , (confAnalysis).centrality }}, \
337342 {kKstarVsMass1 , {(confAnalysis).kstar , (confAnalysis).mass1 }}, \
338343 {kKstarVsMass2 , {(confAnalysis).kstar , (confAnalysis).mass2 }}, \
339344 {kMass1VsMass2 , {(confAnalysis).mass1 , (confAnalysis).mass2 }}, \
@@ -496,6 +501,7 @@ class PairHistManager
496501 // flags for histograms
497502 mPlot1d = ConfPairBinning.plot1D .value ;
498503 mPlot2d = ConfPairBinning.plot2D .value ;
504+ mPlotKstarVsKtVsCent = ConfPairBinning.plotKstarVsKtVsCent .value ;
499505 mPlotKstarVsMtVsMult = ConfPairBinning.plotKstarVsMtVsMult .value ;
500506 mPlotKstarVsMtVsMultVsCent = ConfPairBinning.plotKstarVsMtVsMultVsCent .value ;
501507
@@ -869,6 +875,9 @@ class PairHistManager
869875 }
870876
871877 // higher dimensional histograms
878+ if (mPlotKstarVsKtVsCent ) {
879+ mHistogramRegistry ->add (analysisDir + getHistNameV2 (kKstarVsKtVsCent , HistTable), getHistDesc (kKstarVsKtVsCent , HistTable), getHistType (kKstarVsKtVsCent , HistTable), {Specs.at (kKstarVsKtVsCent )});
880+ }
872881 if (mPlotKstarVsMtVsMult ) {
873882 mHistogramRegistry ->add (analysisDir + getHistNameV2 (kKstarVsMtVsMult , HistTable), getHistDesc (kKstarVsMtVsMult , HistTable), getHistType (kKstarVsMtVsMult , HistTable), {Specs.at (kKstarVsMtVsMult )});
874883 }
@@ -1046,6 +1055,9 @@ class PairHistManager
10461055 // n-D histograms are only filled if enabled
10471056 // if "mass" getter does not exist for particle, it will be just set to 0
10481057 // the user has to make sure that in this case the bin number of this dimension is set to 1
1058+ if (mPlotKstarVsKtVsCent ) {
1059+ mHistogramRegistry ->fill (HIST (prefix) + HIST (AnalysisDir) + HIST (getHistName (kKstarVsKtVsCent , HistTable)), mKstar , mKt , mCent );
1060+ }
10491061 if (mPlotKstarVsMtVsMult ) {
10501062 mHistogramRegistry ->fill (HIST (prefix) + HIST (AnalysisDir) + HIST (getHistName (kKstarVsMtVsMult , HistTable)), mKstar , mMt , mMult );
10511063 }
@@ -1318,6 +1330,7 @@ class PairHistManager
13181330 bool mPlot1d = true ;
13191331 bool mPlot2d = true ;
13201332
1333+ bool mPlotKstarVsKtVsCent = false ;
13211334 bool mPlotKstarVsMtVsMult = false ;
13221335 bool mPlotKstarVsMtVsMultVsCent = false ;
13231336
0 commit comments