99// granted to it by virtue of its status as an Intergovernmental Organization
1010// or submit itself to any jurisdiction.
1111
12- // / \file HFLbToLcPiCandidateSelector .cxx
12+ // / \file HFBsToDsPiCandidateSelector .cxx
1313// / \brief Bs → Ds+ π- candidate selector
1414// /
1515// / \author Panos Christakoglou <panos.christakoglou@cern.ch>, Nikhef
@@ -65,13 +65,8 @@ struct HfBsToDsPiCandidateSelector {
6565 return false ;
6666 }
6767
68- // check that the candidate pT is within the analysis range
69- if (candpT < pTCandMin || candpT >= pTCandMax) {
70- return false ;
71- }
72-
73- // Λb0 mass cut
74- if (std::abs (InvMassBsToDsPi (hfCandBs) - RecoDecay::getMassPDG (pdg::Code::kLambdaB0 )) > cuts->get (pTBin, " m" )) {
68+ // Bs mass cut
69+ if (std::abs (InvMassBsToDsPi (hfCandBs) - RecoDecay::getMassPDG (pdg::Code::kBs )) > cuts->get (pTBin, " m" )) {
7570 // Printf("Bs topol selection failed at mass diff check");
7671 return false ;
7772 }
@@ -88,7 +83,7 @@ struct HfBsToDsPiCandidateSelector {
8883
8984 // Ds mass
9085 // if (trackPi.sign() < 0) {
91- // if (std::abs(InvMassDspKpi(hfCandDs) - RecoDecay::getMassPDG(pdg::Code::kLambdaCPlus )) > cuts->get(pTBin, "DeltaMDs")) {
86+ // if (std::abs(InvMassDspKpi(hfCandDs) - RecoDecay::getMassPDG(pdg::Code::kDs )) > cuts->get(pTBin, "DeltaMDs")) {
9287 // return false;
9388 // }
9489 // }
@@ -133,15 +128,14 @@ struct HfBsToDsPiCandidateSelector {
133128
134129 int statusBs = 0 ;
135130
136- // check if flagged as Λb --> Λc + π-
131+ // check if flagged as Bs --> Ds + π-
137132 if (!(hfCandBs.hfflag () & 1 << hf_cand_bs::DecayType::BsToDsPi)) {
138133 hfSelBsToDsPiCandidate (statusBs);
139134 // Printf("Bs candidate selection failed at hfflag check");
140135 continue ;
141136 }
142137
143138 // Ds is always index0 and pi is index1 by default
144- // auto candDs = hfCandBs.index0();
145139 auto candDs = hfCandBs.index0_as <soa::Join<aod::HfCandProng3, aod::HFSelDsCandidate>>();
146140 auto trackPi = hfCandBs.index1_as <aod::BigTracksPID>();
147141
0 commit comments