@@ -248,7 +248,8 @@ struct HfFilter { // Main struct for HF triggers
248248 std::array<std::shared_ptr<TH1>, kNCharmParticles > hBDTScorePrompt{};
249249 std::array<std::shared_ptr<TH1>, kNCharmParticles > hBDTScoreNonPrompt{};
250250 std::array<std::shared_ptr<TH2>, kNV0 > hArmPod{};
251- std::shared_ptr<TH2> hV0Selected, hMassVsCtCharmBaryonToXiPiPi;
251+ std::shared_ptr<TH2> hV0Selected;
252+ std::array<std::shared_ptr<TH2>, 2 > hMassVsCtCharmBaryonToXi{};
252253 std::array<std::shared_ptr<TH2>, 2 > hMassXi{}; // not tracked and tracked
253254 std::array<std::shared_ptr<TH2>, kNBeautyParticles > hCpaVsPtB{};
254255 std::array<std::shared_ptr<TH2>, kNBeautyParticles > hDecayLengthVsPtB{};
@@ -389,7 +390,8 @@ struct HfFilter { // Main struct for HF triggers
389390 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 ]});
390391 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 ]});
391392 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 ]});
392- 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 ]});
393+ 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 ]});
394+ 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 ]});
393395 // JPsi
394396 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 ]});
395397 // Lc resonances
@@ -1948,10 +1950,10 @@ struct HfFilter { // Main struct for HF triggers
19481950 bool isSelXiBach{false };
19491951 if (requireStrangenessTracking->get (0u , 0u ) > 0 ) {
19501952 if (hasStrangeTrack) {
1951- isSelXiBach = helper.isSelectedXiBach (trackParCascTrack, trackParBachelor, isSelBachelor, collision, dfStrangeness, activateQA, hMassVsPtC[kNCharmParticles + 15 ], hMassVsPtC[kNCharmParticles + 16 ]);
1953+ isSelXiBach = helper.isSelectedXiBach (trackParCascTrack, trackParBachelor, isSelBachelor, collision, dfStrangeness, activateQA, hMassVsPtC[kNCharmParticles + 15 ], hMassVsPtC[kNCharmParticles + 16 ], hMassVsCtCharmBaryonToXi[ 0 ] );
19521954 }
19531955 } else {
1954- isSelXiBach = helper.isSelectedXiBach (trackParCasc, trackParBachelor, isSelBachelor, collision, dfStrangeness, activateQA, hMassVsPtC[kNCharmParticles + 15 ], hMassVsPtC[kNCharmParticles + 16 ]);
1956+ isSelXiBach = helper.isSelectedXiBach (trackParCasc, trackParBachelor, isSelBachelor, collision, dfStrangeness, activateQA, hMassVsPtC[kNCharmParticles + 15 ], hMassVsPtC[kNCharmParticles + 16 ], hMassVsCtCharmBaryonToXi[ 0 ] );
19551957 }
19561958 if (isSelXiBach) {
19571959 keepEvent[kCharmBarToXiBach ] = true ;
@@ -1991,10 +1993,10 @@ struct HfFilter { // Main struct for HF triggers
19911993 bool isSelXiBachBach{false };
19921994 if (requireStrangenessTracking->get (0u , 1u ) > 0 ) {
19931995 if (hasStrangeTrack) {
1994- isSelXiBachBach = helper.isSelectedXiBachBach <3 >(trackParCascTrack, {trackParBachelor, trackParBachelorSecond}, collision, dfStrangeness3, activateQA, hMassVsPtC[kNCharmParticles + 17 ], hMassVsCtCharmBaryonToXiPiPi );
1996+ isSelXiBachBach = helper.isSelectedXiBachBach <3 >(trackParCascTrack, {trackParBachelor, trackParBachelorSecond}, collision, dfStrangeness3, activateQA, hMassVsPtC[kNCharmParticles + 17 ], hMassVsCtCharmBaryonToXi[ 1 ] );
19951997 }
19961998 } else { // vertex with only the two bachelors
1997- isSelXiBachBach = helper.isSelectedXiBachBach <2 >(trackParCasc, {trackParBachelor, trackParBachelorSecond}, collision, df2, activateQA, hMassVsPtC[kNCharmParticles + 17 ], hMassVsCtCharmBaryonToXiPiPi );
1999+ isSelXiBachBach = helper.isSelectedXiBachBach <2 >(trackParCasc, {trackParBachelor, trackParBachelorSecond}, collision, df2, activateQA, hMassVsPtC[kNCharmParticles + 17 ], hMassVsCtCharmBaryonToXi[ 1 ] );
19982000 }
19992001 if (isSelXiBachBach) {
20002002 keepEvent[kCharmBarToXi2Bach ] = true ;
0 commit comments