@@ -103,15 +103,13 @@ struct HfTaskOmegac0ToOmegapi {
103103
104104 ConfigurableAxis thnConfigAxisPromptScore{" thnConfigAxisPromptScore" , {100 , 0 , 1 }, " Prompt score" };
105105 ConfigurableAxis thnConfigAxisMass{" thnConfigAxisMass" , {700 , 2.4 , 3.1 }, " Cand. inv. mass" };
106- ConfigurableAxis thnConfigAxisPtB{" thnConfigAxisPtB" , {500 , 0 , 50 }, " Cand. beauty mother pT" };
107106 ConfigurableAxis thnConfigAxisPt{" thnConfigAxisPt" , {500 , 0 , 50 }, " Cand. pT" };
107+ ConfigurableAxis thnConfigAxisPtB{" thnConfigAxisPtB" , {500 , 0 , 50 }, " Cand. beauty mother pT" };
108108 ConfigurableAxis thnConfigAxisY{" thnConfigAxisY" , {20 , -1 , 1 }, " Cand. rapidity" };
109109 ConfigurableAxis thnConfigAxisCent{" thnConfigAxisCent" , {100 , 0 , 100 }, " Centrality" };
110110 ConfigurableAxis thnConfigAxisOrigin{" thnConfigAxisOrigin" , {3 , -0.5 , 2.5 }, " Cand. origin" };
111111 ConfigurableAxis thnConfigAxisMatchFlag{" thnConfigAxisMatchFlag" , {15 , -7.5 , 7.5 }, " Cand. MC match flag" };
112- ConfigurableAxis thnConfigAxisGenPtD{" thnConfigAxisGenPtD" , {500 , 0 , 50 }, " Gen pT" };
113- ConfigurableAxis thnConfigAxisGenPtB{" thnConfigAxisGenPtB" , {500 , 0 , 50 }, " Gen beauty mother pT" };
114- ConfigurableAxis thnConfigAxisNumPvContr{" thnConfigAxisNumPvContr" , {200 , -0.5 , 199.5 }, " Number of PV contributors" };
112+ ConfigurableAxis thnConfigAxisNumPvContr{" thnConfigAxisNumPvContr" , {200 , -0.5 , 199.5 }, " PV contributors" };
115113 HistogramRegistry registry{" registry" , {}};
116114
117115 void init (InitContext&)
@@ -129,14 +127,12 @@ struct HfTaskOmegac0ToOmegapi {
129127 const AxisSpec thnAxisY{thnConfigAxisY, " y" };
130128 const AxisSpec thnAxisOrigin{thnConfigAxisOrigin, " Origin" };
131129 const AxisSpec thnAxisMatchFlag{thnConfigAxisMatchFlag, " MC match flag" };
132- const AxisSpec thnAxisGenPtD{thnConfigAxisGenPtD, " #it{p}_{T} (GeV/#it{c})" };
133- const AxisSpec thnAxisGenPtB{thnConfigAxisGenPtB, " #it{p}_{T}^{B} (GeV/#it{c})" };
134- const AxisSpec thnAxisNumPvContr{thnConfigAxisNumPvContr, " Number of PV contributors" };
130+ const AxisSpec thnAxisNumPvContr{thnConfigAxisNumPvContr, " PV contributors" };
135131 const AxisSpec thnAxisPromptScore{thnConfigAxisPromptScore, " BDT score prompt" };
136132 const AxisSpec thnAxisCent{thnConfigAxisCent, " Centrality" };
137133
138134 std::vector<AxisSpec> axes = {thnAxisMass, thnAxisPt, thnAxisY};
139- std::vector<AxisSpec> axesMcGen = {thnAxisGenPtD, thnAxisGenPtB , thnAxisY, thnAxisOrigin};
135+ std::vector<AxisSpec> axesMcGen = {thnAxisPt, thnAxisPtB , thnAxisY, thnAxisOrigin};
140136
141137 if (doprocessDataKFParticleFT0C || doprocessDataKFParticleMlFT0C || doprocessDataKFParticleFT0M || doprocessDataKFParticleMlFT0M || doprocessMcKFParticleFT0M || doprocessMcKFParticleMlFT0M) {
142138 axes.push_back (thnAxisCent);
@@ -151,6 +147,7 @@ struct HfTaskOmegac0ToOmegapi {
151147
152148 if (doprocessMcKFParticleFT0M || doprocessMcKFParticleMlFT0M) {
153149 registry.add (" hMcGenWithRecoColl" , " Gen. #Omega_{c}^{0} from charm and beauty (associated to a reco collision)" , HistType::kTHnSparseD , axesMcGen);
150+ registry.add (" hNumRecoCollPerMcColl" , " Number of reco collisions associated to a mc collision;Num. reco. coll. per Mc coll.;" , {HistType::kTH1D , {{10 , -1.5 , 8.5 }}});
154151 registry.get <THnSparse>(HIST (" hMcGenWithRecoColl" ))->Sumw2 ();
155152 }
156153
@@ -317,6 +314,8 @@ struct HfTaskOmegac0ToOmegapi {
317314 registry.fill (HIST (" hMcGen" ), ptGen, ptGenB, yGen, RecoDecay::OriginType::NonPrompt, mcCent, maxNumContrib);
318315 }
319316
317+ registry.fill (HIST (" hNumRecoCollPerMcColl" ), recoCollsPerMcColl.size ());
318+
320319 // fill sparse only for gen particles associated to a reconstructed collision
321320 if (recoCollsPerMcColl.size () >= 1 ) {
322321 if (particle.originMcGen () == RecoDecay::OriginType::Prompt) {
0 commit comments