@@ -249,7 +249,8 @@ struct HfFilter { // Main struct for HF triggers
249249 std::array<std::shared_ptr<TH1>, kNCharmParticles > hBDTScorePrompt{};
250250 std::array<std::shared_ptr<TH1>, kNCharmParticles > hBDTScoreNonPrompt{};
251251 std::array<std::shared_ptr<TH2>, kNV0 > hArmPod{};
252- std::shared_ptr<TH2> hV0Selected, hMassVsCtCharmBaryonToXiPiPi;
252+ std::shared_ptr<TH2> hV0Selected;
253+ std::array<std::shared_ptr<TH2>, 2 > hMassVsCtCharmBaryonToXi{};
253254 std::array<std::shared_ptr<TH2>, 2 > hMassXi{}; // not tracked and tracked
254255 std::array<std::shared_ptr<TH2>, kNBeautyParticles > hCpaVsPtB{};
255256 std::array<std::shared_ptr<TH2>, kNBeautyParticles > hDecayLengthVsPtB{};
@@ -390,7 +391,8 @@ struct HfFilter { // Main struct for HF triggers
390391 hMassVsPtC[kNCharmParticles + 15 ] = registry.add <TH2>(" fMassVsPtCharmBaryonToXiPi" , " #it{M} vs. #it{p}_{T} distribution of triggered #Xi+#pi candidates;#it{p}_{T} (GeV/#it{c});#it{M} (GeV/#it{c}^{2});counts" , HistType::kTH2D , {ptAxis, massAxisC[kNCharmParticles + 15 ]});
391392 hMassVsPtC[kNCharmParticles + 16 ] = registry.add <TH2>(" fMassVsPtCharmBaryonToXiKa" , " #it{M} vs. #it{p}_{T} distribution of triggered #Xi+K candidates;#it{p}_{T} (GeV/#it{c});#it{M} (GeV/#it{c}^{2});counts" , HistType::kTH2D , {ptAxis, massAxisC[kNCharmParticles + 16 ]});
392393 hMassVsPtC[kNCharmParticles + 17 ] = registry.add <TH2>(" fMassVsPtCharmBaryonToXiPiPi" , " #it{M} vs. #it{p}_{T} distribution of triggered #Xi+#pi+#pi candidates;#it{p}_{T} (GeV/#it{c});#it{M} (GeV/#it{c}^{2});counts" , HistType::kTH2D , {ptAxis, massAxisC[kNCharmParticles + 17 ]});
393- hMassVsCtCharmBaryonToXiPiPi = registry.add <TH2>(" fMassVsCtCharmBaryonToXiPiPi" , " #it{M} vs. ct distribution of triggered #Xi+#pi+#pi candidates;ct (cm);#it{M} (GeV/#it{c}^{2});counts" , HistType::kTH2D , {ctAxis, massAxisC[kNCharmParticles + 17 ]});
394+ hMassVsCtCharmBaryonToXi[0 ] = registry.add <TH2>(" fMassVsCtCharmBaryonToXiPi" , " #it{M} vs. ct distribution of triggered #Xi+#pi candidates;ct (cm);#it{M} (GeV/#it{c}^{2});counts" , HistType::kTH2D , {ctAxis, massAxisC[kNCharmParticles + 15 ]});
395+ hMassVsCtCharmBaryonToXi[1 ] = registry.add <TH2>(" fMassVsCtCharmBaryonToXiPiPi" , " #it{M} vs. ct distribution of triggered #Xi+#pi+#pi candidates;ct (cm);#it{M} (GeV/#it{c}^{2});counts" , HistType::kTH2D , {ctAxis, massAxisC[kNCharmParticles + 17 ]});
394396 // JPsi
395397 hMassVsPtC[kNCharmParticles + 18 ] = registry.add <TH2>(" fMassVsPtJPsiToMuMu" , " #it{M} vs. #it{p}_{T} distribution of triggered J/#psi to #mu#mu candidates;#it{p}_{T} (GeV/#it{c});#it{M} (GeV/#it{c}^{2});counts" , HistType::kTH2D , {ptAxis, massAxisC[kNCharmParticles + 18 ]});
396398 // Lc resonances
@@ -1949,10 +1951,10 @@ struct HfFilter { // Main struct for HF triggers
19491951 bool isSelXiBach{false };
19501952 if (requireStrangenessTracking->get (0u , 0u ) > 0 ) {
19511953 if (hasStrangeTrack) {
1952- isSelXiBach = helper.isSelectedXiBach (trackParCascTrack, trackParBachelor, isSelBachelor, collision, dfStrangeness, activateQA, hMassVsPtC[kNCharmParticles + 15 ], hMassVsPtC[kNCharmParticles + 16 ]);
1954+ isSelXiBach = helper.isSelectedXiBach (trackParCascTrack, trackParBachelor, isSelBachelor, collision, dfStrangeness, activateQA, hMassVsPtC[kNCharmParticles + 15 ], hMassVsPtC[kNCharmParticles + 16 ], hMassVsCtCharmBaryonToXi[ 0 ] );
19531955 }
19541956 } else {
1955- isSelXiBach = helper.isSelectedXiBach (trackParCasc, trackParBachelor, isSelBachelor, collision, dfStrangeness, activateQA, hMassVsPtC[kNCharmParticles + 15 ], hMassVsPtC[kNCharmParticles + 16 ]);
1957+ isSelXiBach = helper.isSelectedXiBach (trackParCasc, trackParBachelor, isSelBachelor, collision, dfStrangeness, activateQA, hMassVsPtC[kNCharmParticles + 15 ], hMassVsPtC[kNCharmParticles + 16 ], hMassVsCtCharmBaryonToXi[ 0 ] );
19561958 }
19571959 if (isSelXiBach) {
19581960 keepEvent[kCharmBarToXiBach ] = true ;
@@ -1992,10 +1994,10 @@ struct HfFilter { // Main struct for HF triggers
19921994 bool isSelXiBachBach{false };
19931995 if (requireStrangenessTracking->get (0u , 1u ) > 0 ) {
19941996 if (hasStrangeTrack) {
1995- isSelXiBachBach = helper.isSelectedXiBachBach <3 >(trackParCascTrack, {trackParBachelor, trackParBachelorSecond}, collision, dfStrangeness3, activateQA, hMassVsPtC[kNCharmParticles + 17 ], hMassVsCtCharmBaryonToXiPiPi );
1997+ isSelXiBachBach = helper.isSelectedXiBachBach <3 >(trackParCascTrack, {trackParBachelor, trackParBachelorSecond}, collision, dfStrangeness3, activateQA, hMassVsPtC[kNCharmParticles + 17 ], hMassVsCtCharmBaryonToXi[ 1 ] );
19961998 }
19971999 } else { // vertex with only the two bachelors
1998- isSelXiBachBach = helper.isSelectedXiBachBach <2 >(trackParCasc, {trackParBachelor, trackParBachelorSecond}, collision, df2, activateQA, hMassVsPtC[kNCharmParticles + 17 ], hMassVsCtCharmBaryonToXiPiPi );
2000+ isSelXiBachBach = helper.isSelectedXiBachBach <2 >(trackParCasc, {trackParBachelor, trackParBachelorSecond}, collision, df2, activateQA, hMassVsPtC[kNCharmParticles + 17 ], hMassVsCtCharmBaryonToXi[ 1 ] );
19992001 }
20002002 if (isSelXiBachBach) {
20012003 keepEvent[kCharmBarToXi2Bach ] = true ;
0 commit comments