@@ -68,12 +68,7 @@ struct HfTaskXicToXiPiPi {
6868
6969 Filter filterSelectCandidates = (aod::hf_sel_candidate_xic::isSelXicToXiPiPi >= selectionFlagXic);
7070
71- HistogramRegistry registry{
72- " registry" ,
73- {{" hPtCand" , " #Xi^{#plus}_{c} candidates;candidate #it{p}_{T} (GeV/#it{c});entries" , {HistType::kTH1F , {{400 , 0 ., 40 .}}}},
74- {" hPtProng0" , " #Xi^{#plus}_{c} candidates;prong 0 (#Xi^{#minus}) #it{p}_{T} (GeV/#it{c});entries" , {HistType::kTH1F , {{300 , 0 ., 30 .}}}},
75- {" hPtProng1" , " #Xi^{#plus}_{c} candidates;prong 1 (#pi^{#plus}) #it{p}_{T} (GeV/#it{c});entries" , {HistType::kTH1F , {{200 , 0 ., 20 .}}}},
76- {" hPtProng2" , " #Xi^{#plus}_{c} candidates;prong 2 (#pi^{#plus}) #it{p}_{T} (GeV/#it{c});entries" , {HistType::kTH1F , {{200 , 0 ., 20 .}}}}}};
71+ HistogramRegistry registry{" registry" };
7772
7873 void init (InitContext const &)
7974 {
@@ -89,7 +84,7 @@ struct HfTaskXicToXiPiPi {
8984 }
9085
9186 static const AxisSpec axisMassXic = {300 , 1.8 , 3.0 , " inv. mass (GeV/#it{c}^{2})" };
92- static const AxisSpec axisMassXiRes = {300 , 1.0 , 2.0 , " inv. mass (GeV/#it{c}^{2})" };
87+ static const AxisSpec axisMassXiRes = {300 , 1.4 , 2.7 , " inv. mass (GeV/#it{c}^{2})" };
9388 static const AxisSpec axisPt = {(std::vector<double >)binsPt, " #it{p}_{T} (GeV/#it{c})" };
9489 static const AxisSpec axisDecLength = {binsDecLength};
9590 static const AxisSpec axisErrDecLength = {binsErrDecLength};
@@ -98,44 +93,49 @@ struct HfTaskXicToXiPiPi {
9893 static const AxisSpec axisSV = {binsSV};
9994 static const AxisSpec axisChi2 = {binsChi2};
10095
101- // candidate
102- registry.add (" hPt" , " #Xi^{#plus}_{c} candidates;#Xi^{#plus}_{c} candidate #it{p}_{T} (GeV/#it{c});entries" , {HistType::kTH1F , {{200 , 0 ., 20 .}}});
103- registry.add (" hEta" , " #Xi^{#plus}_{c} candidates;#Xi^{#plus}_{c} candidate #it{#eta};entries" , {HistType::kTH2F , {{100 , -2 ., 2 .}, axisPt}});
104- registry.add (" hRapidity" , " #Xi^{#plus}_{c} candidates;#Xi^{#plus}_{c} candidate #it{y};entries" , {HistType::kTH2F , {{100 , -2 ., 2 .}, axisPt}});
105- registry.add (" hCPA" , " #Xi^{#plus}_{c} candidates;#Xi^{#plus}_{c} candidate cosine of pointing angle;entries" , {HistType::kTH2F , {{110 , -1.1 , 1.1 }, axisPt}});
106- registry.add (" hCPAxy" , " #Xi^{#plus}_{c} candidates;#Xi^{#plus}_{c} candidate cosine of pointing angle xy;entries" , {HistType::kTH2F , {{110 , -1.1 , 1.1 }, axisPt}});
107- registry.add (" hMass" , " #Xi^{#plus}_{c} candidates;inv. mass #Xi^{#mp} #pi^{#pm} #pi^{#pm} (GeV/#it{c}^{2});#it{p}_{T} (GeV/#it{c})" , {HistType::kTH2F , {axisMassXic, axisPt}});
108- registry.add (" hDecLength" , " #Xi^{#plus}_{c} candidates;decay length (cm);entries" , {HistType::kTH2F , {axisDecLength, axisPt}});
109- registry.add (" hErrDecLength" , " #Xi^{#plus}_{c} candidates;#Xi^{#plus}_{c} candidate decay length error (cm);entries" , {HistType::kTH2F , {axisErrDecLength, axisPt}});
110- registry.add (" hDecLengthXY" , " #Xi^{#plus}_{c} candidates;decay length xy (cm);entries" , {HistType::kTH2F , {axisDecLength, axisPt}});
111- registry.add (" hErrDecLengthXY" , " #Xi^{#plus}_{c} candidates;#Xi^{#plus}_{c} candidate decay length xy error (cm);entries" , {HistType::kTH2F , {axisErrDecLength, axisPt}});
112- registry.add (" hSVx" , " #Xi^{#plus}_{c} candidates;#Xi^{#plus}_{c} candidate secondary vertex position x (cm);entries" , {HistType::kTH2F , {axisSV, axisPt}});
113- registry.add (" hSVy" , " #Xi^{#plus}_{c} candidates;#Xi^{#plus}_{c} candidate secondary vertex position y (cm);entries" , {HistType::kTH2F , {axisSV, axisPt}});
114- registry.add (" hSVz" , " #Xi^{#plus}_{c} candidates;#Xi^{#plus}_{c} candidate secondary vertex position z (cm);entries" , {HistType::kTH2F , {axisSV, axisPt}});
115- // daughters
116- registry.add (" hCPAXi" , " #Xi^{#plus}_{c} candidates;#Xi^{#minus} candidate cosine of pointing angle;entries" , {HistType::kTH2F , {{110 , -1.1 , 1.1 }, axisPt}});
117- registry.add (" hCPAxyXi" , " #Xi^{#plus}_{c} candidates;#Xi^{#minus} candidate cosine of pointing angle xy;entries" , {HistType::kTH2F , {{110 , -1.1 , 1.1 }, axisPt}});
118- registry.add (" hCPALambda" , " #Xi^{#plus}_{c} candidates;#Lambda candidate cosine of pointing angle;entries" , {HistType::kTH2F , {{110 , -1.1 , 1.1 }, axisPt}});
119- registry.add (" hCPAxyLambda" , " #Xi^{#plus}_{c} candidates;#Lambda candidate cosine of pointing angle xy;entries" , {HistType::kTH2F , {{110 , -1.1 , 1.1 }, axisPt}});
120- registry.add (" hPtProng0vsPt" , " #Xi^{#plus}_{c} candidates;#Xi^{#mp} #it{p}_{T} (GeV/#it{c});entries" , {HistType::kTH2F , {{200 , 0 ., 20 .}, axisPt}});
121- registry.add (" hPtProng1vsPt" , " #Xi^{#plus}_{c} candidates;prong 1 (#pi^{#pm}) #it{p}_{T} (GeV/#it{c});entries" , {HistType::kTH2F , {{200 , 0 ., 20 .}, axisPt}});
122- registry.add (" hPtProng2vsPt" , " #Xi^{#plus}_{c} candidates;prong 2 (#pi^{#pm}) #it{p}_{T} (GeV/#it{c});entries" , {HistType::kTH2F , {{200 , 0 ., 20 .}, axisPt}});
123- registry.add (" hd0Prong0" , " #Xi^{#plus}_{c} candidates;prong 0 (#Xi^{#mp}) DCAxy to prim. vertex (cm);entries" , {HistType::kTH2F , {axisDCA, axisPt}});
124- registry.add (" hd0Prong1" , " #Xi^{#plus}_{c} candidates;prong 1 (#pi^{#pm}) DCAxy to prim. vertex (cm);entries" , {HistType::kTH2F , {axisDCA, axisPt}});
125- registry.add (" hd0Prong2" , " #Xi^{#plus}_{c} candidates;prong 2 (#pi^{#pm}) DCAxy to prim. vertex (cm);entries" , {HistType::kTH2F , {axisDCA, axisPt}});
126- registry.add (" hImpParErr" , " #Xi^{#plus}_{c} candidates;prongs impact parameter error (cm);entries" , {HistType::kTH2F , {axisImpParErr, axisPt}});
127- registry.add (" hChi2PCA" , " #Xi^{#plus}_{c} candidates (matched);sum of distances of the secondary vertex to its prongs;entries" , {HistType::kTH2F , {{240 , -0.01 , 0.5 }, axisPt}});
128- registry.add (" hMassXiPi1" , " #Xi^{#plus}_{c} candidates;inv. mass #Xi^{#mp} #pi^{#pm} (prong 1) (GeV/#it{c}^{2});#it{p}_{T} (GeV/#it{c})" , {HistType::kTH2F , {axisMassXiRes, axisPt}});
129- registry.add (" hMassXiPi2" , " #Xi^{#plus}_{c} candidates;inv. mass #Xi^{#mp} #pi^{#pm} (prong 2) (GeV/#it{c}^{2});#it{p}_{T} (GeV/#it{c})" , {HistType::kTH2F , {axisMassXiRes, axisPt}});
130-
131- if (doprocessWithKFParticle || doprocessWithKFParticleAndML) {
132- registry.add (" hChi2geoXi" , " #Xi^{#plus}_{c} candidates;#Xi^{#mp} #chi^{2}_{geo};entries" , {HistType::kTH2F , {axisChi2, axisPt}});
133- registry.add (" hChi2geoLam" , " #Xi^{#plus}_{c} candidates;#Lambda #chi^{2}_{geo};entries" , {HistType::kTH2F , {axisChi2, axisPt}});
134- registry.add (" hChi2topoToPV" , " #Xi^{#plus}_{c} candidates;#Xi^{#plus}_{c} candidate #chi^{2}_{topo} to PV;entries" , {HistType::kTH2F , {axisChi2, axisPt}});
135- registry.add (" hChi2topoXiToXicPlus" , " #Xi^{#plus}_{c} candidates;#Xi^{#mp} candidate #chi^{2}_{topo} to #Xi^{#plus}_{c};entries" , {HistType::kTH2F , {axisChi2, axisPt}});
96+ if (doprocessWithDCAFitter || doprocessWithKFParticle || doprocessWithDCAFitterAndML || doprocessWithKFParticleAndML) {
97+ // candidate
98+ registry.add (" hPt" , " #Xi^{#plus}_{c} candidates;#Xi^{#plus}_{c} candidate #it{p}_{T} (GeV/#it{c});entries" , {HistType::kTH1F , {{400 , 0 ., 40 .}}});
99+ registry.add (" hEta" , " #Xi^{#plus}_{c} candidates;#Xi^{#plus}_{c} candidate #it{#eta};entries" , {HistType::kTH2F , {{100 , -2 ., 2 .}, axisPt}});
100+ registry.add (" hRapidity" , " #Xi^{#plus}_{c} candidates;#Xi^{#plus}_{c} candidate #it{y};entries" , {HistType::kTH2F , {{100 , -2 ., 2 .}, axisPt}});
101+ registry.add (" hCPA" , " #Xi^{#plus}_{c} candidates;#Xi^{#plus}_{c} candidate cosine of pointing angle;entries" , {HistType::kTH2F , {{110 , -1.1 , 1.1 }, axisPt}});
102+ registry.add (" hCPAxy" , " #Xi^{#plus}_{c} candidates;#Xi^{#plus}_{c} candidate cosine of pointing angle xy;entries" , {HistType::kTH2F , {{110 , -1.1 , 1.1 }, axisPt}});
103+ registry.add (" hMass" , " #Xi^{#plus}_{c} candidates;inv. mass #Xi^{#mp} #pi^{#pm} #pi^{#pm} (GeV/#it{c}^{2});#it{p}_{T} (GeV/#it{c})" , {HistType::kTH2F , {axisMassXic, axisPt}});
104+ registry.add (" hDecLength" , " #Xi^{#plus}_{c} candidates;decay length (cm);entries" , {HistType::kTH2F , {axisDecLength, axisPt}});
105+ registry.add (" hErrDecLength" , " #Xi^{#plus}_{c} candidates;#Xi^{#plus}_{c} candidate decay length error (cm);entries" , {HistType::kTH2F , {axisErrDecLength, axisPt}});
106+ registry.add (" hDecLengthXY" , " #Xi^{#plus}_{c} candidates;decay length xy (cm);entries" , {HistType::kTH2F , {axisDecLength, axisPt}});
107+ registry.add (" hErrDecLengthXY" , " #Xi^{#plus}_{c} candidates;#Xi^{#plus}_{c} candidate decay length xy error (cm);entries" , {HistType::kTH2F , {axisErrDecLength, axisPt}});
108+ registry.add (" hSVx" , " #Xi^{#plus}_{c} candidates;#Xi^{#plus}_{c} candidate secondary vertex position x (cm);entries" , {HistType::kTH2F , {axisSV, axisPt}});
109+ registry.add (" hSVy" , " #Xi^{#plus}_{c} candidates;#Xi^{#plus}_{c} candidate secondary vertex position y (cm);entries" , {HistType::kTH2F , {axisSV, axisPt}});
110+ registry.add (" hSVz" , " #Xi^{#plus}_{c} candidates;#Xi^{#plus}_{c} candidate secondary vertex position z (cm);entries" , {HistType::kTH2F , {axisSV, axisPt}});
111+ // daughters
112+ registry.add (" hPtProng0" , " #Xi^{#plus}_{c} candidates;prong 0 (#Xi^{#mp}) #it{p}_{T} (GeV/#it{c});entries" , {HistType::kTH1F , {{200 , 0 ., 20 .}}});
113+ registry.add (" hPtProng1" , " #Xi^{#plus}_{c} candidates;prong 1 (#pi^{#plus}) #it{p}_{T} (GeV/#it{c});entries" , {HistType::kTH1F , {{200 , 0 ., 20 .}}});
114+ registry.add (" hPtProng2" , " #Xi^{#plus}_{c} candidates;prong 2 (#pi^{#plus}) #it{p}_{T} (GeV/#it{c});entries" , {HistType::kTH1F , {{200 , 0 ., 20 .}}});
115+ registry.add (" hPtProng0vsPt" , " #Xi^{#plus}_{c} candidates;prong 0 (#Xi^{#mp}) #it{p}_{T} (GeV/#it{c});entries" , {HistType::kTH2F , {{200 , 0 ., 20 .}, axisPt}});
116+ registry.add (" hPtProng1vsPt" , " #Xi^{#plus}_{c} candidates;prong 1 (#pi^{#pm}) #it{p}_{T} (GeV/#it{c});entries" , {HistType::kTH2F , {{200 , 0 ., 20 .}, axisPt}});
117+ registry.add (" hPtProng2vsPt" , " #Xi^{#plus}_{c} candidates;prong 2 (#pi^{#pm}) #it{p}_{T} (GeV/#it{c});entries" , {HistType::kTH2F , {{200 , 0 ., 20 .}, axisPt}});
118+ registry.add (" hCPAXi" , " #Xi^{#plus}_{c} candidates;#Xi^{#minus} candidate cosine of pointing angle;entries" , {HistType::kTH2F , {{110 , -1.1 , 1.1 }, axisPt}});
119+ registry.add (" hCPAxyXi" , " #Xi^{#plus}_{c} candidates;#Xi^{#minus} candidate cosine of pointing angle xy;entries" , {HistType::kTH2F , {{110 , -1.1 , 1.1 }, axisPt}});
120+ registry.add (" hCPALambda" , " #Xi^{#plus}_{c} candidates;#Lambda candidate cosine of pointing angle;entries" , {HistType::kTH2F , {{110 , -1.1 , 1.1 }, axisPt}});
121+ registry.add (" hCPAxyLambda" , " #Xi^{#plus}_{c} candidates;#Lambda candidate cosine of pointing angle xy;entries" , {HistType::kTH2F , {{110 , -1.1 , 1.1 }, axisPt}});
122+ registry.add (" hd0Prong0" , " #Xi^{#plus}_{c} candidates;prong 0 (#Xi^{#mp}) DCAxy to prim. vertex (cm);entries" , {HistType::kTH2F , {axisDCA, axisPt}});
123+ registry.add (" hd0Prong1" , " #Xi^{#plus}_{c} candidates;prong 1 (#pi^{#pm}) DCAxy to prim. vertex (cm);entries" , {HistType::kTH2F , {axisDCA, axisPt}});
124+ registry.add (" hd0Prong2" , " #Xi^{#plus}_{c} candidates;prong 2 (#pi^{#pm}) DCAxy to prim. vertex (cm);entries" , {HistType::kTH2F , {axisDCA, axisPt}});
125+ registry.add (" hImpParErr" , " #Xi^{#plus}_{c} candidates;prongs impact parameter error (cm);entries" , {HistType::kTH2F , {axisImpParErr, axisPt}});
126+ registry.add (" hChi2PCA" , " #Xi^{#plus}_{c} candidates (matched);sum of distances of the secondary vertex to its prongs;entries" , {HistType::kTH2F , {{240 , -0.01 , 0.5 }, axisPt}});
127+ registry.add (" hMassXiPi1" , " #Xi^{#plus}_{c} candidates;inv. mass #Xi^{#mp} #pi^{#pm} (prong 1) (GeV/#it{c}^{2});#it{p}_{T} (GeV/#it{c})" , {HistType::kTH2F , {axisMassXiRes, axisPt}});
128+ registry.add (" hMassXiPi2" , " #Xi^{#plus}_{c} candidates;inv. mass #Xi^{#mp} #pi^{#pm} (prong 2) (GeV/#it{c}^{2});#it{p}_{T} (GeV/#it{c})" , {HistType::kTH2F , {axisMassXiRes, axisPt}});
129+ // KFParticle
130+ if (doprocessWithKFParticle || doprocessWithKFParticleAndML) {
131+ registry.add (" hChi2geoXi" , " #Xi^{#plus}_{c} candidates;#Xi^{#mp} #chi^{2}_{geo};entries" , {HistType::kTH2F , {axisChi2, axisPt}});
132+ registry.add (" hChi2geoLam" , " #Xi^{#plus}_{c} candidates;#Lambda #chi^{2}_{geo};entries" , {HistType::kTH2F , {axisChi2, axisPt}});
133+ registry.add (" hChi2topoToPV" , " #Xi^{#plus}_{c} candidates;#Xi^{#plus}_{c} candidate #chi^{2}_{topo} to PV;entries" , {HistType::kTH2F , {axisChi2, axisPt}});
134+ registry.add (" hChi2topoXiToXicPlus" , " #Xi^{#plus}_{c} candidates;#Xi^{#mp} candidate #chi^{2}_{topo} to #Xi^{#plus}_{c};entries" , {HistType::kTH2F , {axisChi2, axisPt}});
135+ }
136136 }
137137
138- if (doprocessMcWithKFParticle || doprocessMcWithDCAFitter || doprocessMcWithKFParticleAndML || doprocessMcWithDCAFitterAndML ) {
138+ if (doprocessMcWithDCAFitter || doprocessMcWithKFParticle || doprocessMcWithDCAFitterAndML || doprocessMcWithKFParticleAndML ) {
139139 // MC reconstructed
140140 registry.add (" hPtGenSig" , " #Xi^{#plus}_{c} candidates (gen+rec);candidate #it{p}_{T}^{gen.} (GeV/#it{c});entries" , {HistType::kTH1F , {{300 , 0 ., 30 .}}});
141141 registry.add (" hPtRecSig" , " #Xi^{#plus}_{c} candidates (matched);candidate #it{p}_{T} (GeV/#it{c});entries" , {HistType::kTH1F , {{300 , 0 ., 30 .}}});
@@ -198,8 +198,8 @@ struct HfTaskXicToXiPiPi {
198198 registry.add (" hMassXiPi1RecBg" , " #Xi^{#plus}_{c} candidates (unmatched);inv. mass #Xi^{#mp} #pi^{#pm} (prong 1) (GeV/#it{c}^{2});entries" , {HistType::kTH2F , {{300 , 1.0 , 2.0 }, axisPt}});
199199 registry.add (" hMassXiPi2RecSig" , " #Xi^{#plus}_{c} candidates (matched);inv. mass #Xi^{#mp} #pi^{#pm} (prong 2) (GeV/#it{c}^{2});entries" , {HistType::kTH2F , {{300 , 1.0 , 2.0 }, axisPt}});
200200 registry.add (" hMassXiPi2RecBg" , " #Xi^{#plus}_{c} candidates (unmatched);inv. mass #Xi^{#mp} #pi^{#pm} (prong 2) (GeV/#it{c}^{2});entries" , {HistType::kTH2F , {{300 , 1.0 , 2.0 }, axisPt}});
201-
202- if (doprocessMcWithKFParticle || doprocessMcWithDCAFitterAndML ) {
201+ // MC reconstructed with KFParticle
202+ if (doprocessMcWithKFParticle || doprocessMcWithKFParticleAndML ) {
203203 registry.add (" hChi2topoToPVRecSig" , " #Xi^{#plus}_{c} candidates (matched);#Xi^{#plus}_{c} candidate #chi^{2}_{topo} to PV;entries" , {HistType::kTH2F , {axisChi2, axisPt}});
204204 registry.add (" hChi2topoToPVRecBg" , " #Xi^{#plus}_{c} candidates (unmatched);#Xi^{#plus}_{c} candidate #chi^{2}_{topo} to PV;entries" , {HistType::kTH2F , {axisChi2, axisPt}});
205205 registry.add (" hChi2geoXiRecSig" , " #Xi^{#plus}_{c} candidates (matched);#Xi^{#mp} #chi^{2}_{geo};entries" , {HistType::kTH2F , {axisChi2, axisPt}});
@@ -209,7 +209,6 @@ struct HfTaskXicToXiPiPi {
209209 registry.add (" hChi2topoXiToXicPlusRecSig" , " #Xi^{#plus}_{c} candidates (matched);#Xi^{#mp} candidate #chi^{2}_{topo} to #Xi^{#plus}_{c};entries" , {HistType::kTH2F , {axisChi2, axisPt}});
210210 registry.add (" hChi2topoXiToXicPlusRecBg" , " #Xi^{#plus}_{c} candidates (unmatched);#Xi^{#mp} candidate #chi^{2}_{topo} to #Xi^{#plus}_{c};entries" , {HistType::kTH2F , {axisChi2, axisPt}});
211211 }
212-
213212 // MC generated
214213 registry.add (" hPtProng0Gen" , " MC particles (generated);prong 0 (#Xi^{#mp}) #it{p}_{T}^{gen} (GeV/#it{c});entries" , {HistType::kTH2F , {{300 , 0 ., 30 .}, axisPt}});
215214 registry.add (" hPtProng1Gen" , " MC particles (generated);prong 1 (#pi^{#pm}) #it{p}_{T}^{gen} (GeV/#it{c});entries" , {HistType::kTH2F , {{200 , 0 ., 20 .}, axisPt}});
@@ -262,7 +261,6 @@ struct HfTaskXicToXiPiPi {
262261 registry.add (" hXicToXiPiPiVars" , " THnSparse for Xic" , HistType::kTHnSparseF , {thnAxisPt, thnAxisMass, thnAxisChi2PCA, thnAxisDecLength, thnAxisDecLengthXY, thnAxisCPA});
263262 }
264263 } // enable THnSpare
265-
266264 } // end init
267265
268266 // / Fill THnSpare depending on whether ML selection is used
@@ -282,10 +280,10 @@ struct HfTaskXicToXiPiPi {
282280 outputBkg = candidate.mlProbXicToXiPiPi ()[0 ];
283281 outputPrompt = candidate.mlProbXicToXiPiPi ()[1 ];
284282 }
285- registry.get <THnSparse>(HIST (" hXicToXiPiPiVarsWithML" ))->Fill (candidate.pt (), candidate.invMassXic (), candidate.chi2PCA (), candidate.decayLength (), candidate.decayLengthXY (), candidate.cpa (), outputBkg, outputPrompt);
283+ registry.get <THnSparse>(HIST (" hXicToXiPiPiVarsWithML" ))->Fill (candidate.pt (), candidate.invMassXicPlus (), candidate.chi2PCA (), candidate.decayLength (), candidate.decayLengthXY (), candidate.cpa (), outputBkg, outputPrompt);
286284 } else {
287285 // without ML information
288- registry.get <THnSparse>(HIST (" hXicToXiPiPiVars" ))->Fill (candidate.pt (), candidate.invMassXic (), candidate.chi2PCA (), candidate.decayLength (), candidate.decayLengthXY (), candidate.cpa ());
286+ registry.get <THnSparse>(HIST (" hXicToXiPiPiVars" ))->Fill (candidate.pt (), candidate.invMassXicPlus (), candidate.chi2PCA (), candidate.decayLength (), candidate.decayLengthXY (), candidate.cpa ());
289287 }
290288 }
291289
@@ -311,15 +309,15 @@ struct HfTaskXicToXiPiPi {
311309
312310 auto ptCandXic = candidate.pt ();
313311
314- registry.fill (HIST (" hPtCand " ), ptCandXic);
312+ registry.fill (HIST (" hPt " ), ptCandXic);
315313 registry.fill (HIST (" hPtProng0" ), candidate.ptProng0 ());
316314 registry.fill (HIST (" hPtProng1" ), candidate.ptProng1 ());
317315 registry.fill (HIST (" hPtProng2" ), candidate.ptProng2 ());
318316 registry.fill (HIST (" hEta" ), candidate.eta (), ptCandXic);
319317 registry.fill (HIST (" hRapidity" ), yCandXic, ptCandXic);
320318 registry.fill (HIST (" hCPA" ), candidate.cpa (), ptCandXic);
321319 registry.fill (HIST (" hCPAxy" ), candidate.cpaXY (), ptCandXic);
322- registry.fill (HIST (" hMass" ), candidate.invMassXic (), ptCandXic);
320+ registry.fill (HIST (" hMass" ), candidate.invMassXicPlus (), ptCandXic);
323321 registry.fill (HIST (" hDecLength" ), candidate.decayLength (), ptCandXic);
324322 registry.fill (HIST (" hErrDecLength" ), candidate.errorDecayLength (), ptCandXic);
325323 registry.fill (HIST (" hDecLengthXY" ), candidate.decayLengthXY (), ptCandXic);
@@ -400,7 +398,7 @@ struct HfTaskXicToXiPiPi {
400398 registry.fill (HIST (" hSVzRecSig" ), candidate.zSecondaryVertex (), ptCandXic);
401399 registry.fill (HIST (" hCPARecSig" ), candidate.cpa (), ptCandXic);
402400 registry.fill (HIST (" hCPAxyRecSig" ), candidate.cpaXY (), ptCandXic);
403- registry.fill (HIST (" hMassRecSig" ), candidate.invMassXic (), ptCandXic);
401+ registry.fill (HIST (" hMassRecSig" ), candidate.invMassXicPlus (), ptCandXic);
404402 registry.fill (HIST (" hDecLengthRecSig" ), candidate.decayLength (), ptCandXic);
405403 registry.fill (HIST (" hErrDecLengthRecSig" ), candidate.errorDecayLength (), ptCandXic);
406404 registry.fill (HIST (" hDecLengthXYRecSig" ), candidate.decayLengthXY (), ptCandXic);
@@ -439,7 +437,7 @@ struct HfTaskXicToXiPiPi {
439437 registry.fill (HIST (" hSVzRecBg" ), candidate.zSecondaryVertex (), ptCandXic);
440438 registry.fill (HIST (" hCPARecBg" ), candidate.cpa (), ptCandXic);
441439 registry.fill (HIST (" hCPAxyRecBg" ), candidate.cpaXY (), ptCandXic);
442- registry.fill (HIST (" hMassRecBg" ), candidate.invMassXic (), ptCandXic);
440+ registry.fill (HIST (" hMassRecBg" ), candidate.invMassXicPlus (), ptCandXic);
443441 registry.fill (HIST (" hDecLengthRecBg" ), candidate.decayLength (), ptCandXic);
444442 registry.fill (HIST (" hErrDecLengthRecBg" ), candidate.errorDecayLength (), ptCandXic);
445443 registry.fill (HIST (" hDecLengthXYRecBg" ), candidate.decayLengthXY (), ptCandXic);
@@ -467,11 +465,11 @@ struct HfTaskXicToXiPiPi {
467465
468466 if (checkDecayTypeMc) {
469467 if (TESTBIT (flagMcMatchRecXic, hf_cand_xic_to_xi_pi_pi::DecayType::XicToXiPiPi)) {
470- registry.fill (HIST (" hDecayTypeMc" ), 1 + hf_cand_xic_to_xi_pi_pi::DecayType::XicToXiPiPi, candidate.invMassXic (), ptCandXic);
468+ registry.fill (HIST (" hDecayTypeMc" ), 1 + hf_cand_xic_to_xi_pi_pi::DecayType::XicToXiPiPi, candidate.invMassXicPlus (), ptCandXic);
471469 } else if (TESTBIT (flagMcMatchRecXic, hf_cand_xic_to_xi_pi_pi::DecayType::XicToXiResPiToXiPiPi)) {
472- registry.fill (HIST (" hDecayTypeMc" ), 1 + hf_cand_xic_to_xi_pi_pi::DecayType::XicToXiResPiToXiPiPi, candidate.invMassXic (), ptCandXic);
470+ registry.fill (HIST (" hDecayTypeMc" ), 1 + hf_cand_xic_to_xi_pi_pi::DecayType::XicToXiResPiToXiPiPi, candidate.invMassXicPlus (), ptCandXic);
473471 } else {
474- registry.fill (HIST (" hDecayTypeMc" ), 1 + hf_cand_xic_to_xi_pi_pi::DecayType::NDecayType, candidate.invMassXic (), ptCandXic);
472+ registry.fill (HIST (" hDecayTypeMc" ), 1 + hf_cand_xic_to_xi_pi_pi::DecayType::NDecayType, candidate.invMassXicPlus (), ptCandXic);
475473 }
476474 }
477475 // fill THnSparse
0 commit comments