Skip to content

Commit 6353089

Browse files
Adjusting Dkkpi label
1 parent 38f8848 commit 6353089

4 files changed

Lines changed: 11 additions & 11 deletions

File tree

EventFiltering/PWGHF/HFFilter.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -805,7 +805,7 @@ struct HfFilter { // Main struct for HF triggers
805805

806806
std::array<bool, kNCharmParticles - 1> is3Prong = {
807807
TESTBIT(cand3Prong.hfflag(), o2::aod::hf_cand_prong3::DecayType::DPlusToPiKPi),
808-
TESTBIT(cand3Prong.hfflag(), o2::aod::hf_cand_prong3::DecayType::DsToPiKK),
808+
TESTBIT(cand3Prong.hfflag(), o2::aod::hf_cand_prong3::DecayType::DsToKKPi),
809809
TESTBIT(cand3Prong.hfflag(), o2::aod::hf_cand_prong3::DecayType::LcToPKPi),
810810
TESTBIT(cand3Prong.hfflag(), o2::aod::hf_cand_prong3::DecayType::XicToPKPi)};
811811
if (!std::accumulate(is3Prong.begin(), is3Prong.end(), 0)) { // check if it's a D+, Ds+, Lc+ or Xic+

PWGHF/TableProducer/HFTrackIndexSkimsCreator.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -919,8 +919,8 @@ struct HfTrackIndexSkimsCreator {
919919
cut2Prong = {cutsD0ToPiK, cutsJpsiToEE, cutsJpsiToMuMu};
920920
pTBins2Prong = {pTBinsD0ToPiK, pTBinsJpsiToEE, pTBinsJpsiToMuMu};
921921
// cuts for 3-prong decays retrieved by json. the order must be then one in hf_cand_prong3::DecayType
922-
cut3Prong = {cutsDPlusToPiKPi, cutsLcToPKPi, cutsDsToPiKK, cutsXicToPKPi};
923-
pTBins3Prong = {pTBinsDPlusToPiKPi, pTBinsLcToPKPi, pTBinsDsToPiKK, pTBinsXicToPKPi};
922+
cut3Prong = {cutsDPlusToPiKPi, cutsLcToPKPi, cutsDsToKKPi, cutsXicToPKPi};
923+
pTBins3Prong = {pTBinsDPlusToPiKPi, pTBinsLcToPKPi, pTBinsDsToKKPi, pTBinsXicToPKPi};
924924

925925
// needed for PV refitting
926926
if (doPvRefit) {

PWGHF/Tasks/HFMCValidation.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ struct ValidationRecLevel {
321321
// determine which kind of candidate it is
322322
bool isDPlusSel = TESTBIT(cand3Prong.hfflag(), o2::aod::hf_cand_prong3::DecayType::DPlusToPiKPi);
323323
bool isDStarSel = false; // FIXME: add proper check when D* will be added in HF vertexing
324-
bool isDsSel = TESTBIT(cand3Prong.hfflag(), o2::aod::hf_cand_prong3::DecayType::DsToPiKK);
324+
bool isDsSel = TESTBIT(cand3Prong.hfflag(), o2::aod::hf_cand_prong3::DecayType::DsToKKPi);
325325
bool isLcSel = TESTBIT(cand3Prong.hfflag(), o2::aod::hf_cand_prong3::DecayType::LcToPKPi);
326326
bool isXicSel = TESTBIT(cand3Prong.hfflag(), o2::aod::hf_cand_prong3::DecayType::XicToPKPi);
327327
if (!isDPlusSel && !isDStarSel && !isDsSel && !isLcSel && !isXicSel) {
@@ -330,7 +330,7 @@ struct ValidationRecLevel {
330330
int whichHad = -1;
331331
if (isDPlusSel && TESTBIT(std::abs(cand3Prong.flagMCMatchRec()), hf_cand_prong3::DecayType::DPlusToPiKPi)) {
332332
whichHad = 0;
333-
} else if (isDsSel && TESTBIT(std::abs(cand3Prong.flagMCMatchRec()), hf_cand_prong3::DecayType::DsToPiKK)) {
333+
} else if (isDsSel && TESTBIT(std::abs(cand3Prong.flagMCMatchRec()), hf_cand_prong3::DecayType::DsToKKPi)) {
334334
whichHad = 3;
335335
} else if (isLcSel && TESTBIT(std::abs(cand3Prong.flagMCMatchRec()), hf_cand_prong3::DecayType::LcToPKPi)) {
336336
whichHad = 4;

PWGHF/Tasks/HFSelOptimisation.cxx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -338,8 +338,8 @@ struct HfSelOptimisation {
338338
case o2::aod::hf_cand_prong3::DecayType::LcToPKPi:
339339
testSelections3Prong<o2::aod::hf_cand_prong3::DecayType::LcToPKPi, 0>(cand3Prong, tracks);
340340
break;
341-
case o2::aod::hf_cand_prong3::DecayType::DsToPiKK:
342-
testSelections3Prong<o2::aod::hf_cand_prong3::DecayType::DsToPiKK, 0>(cand3Prong, tracks);
341+
case o2::aod::hf_cand_prong3::DecayType::DsToKKPi:
342+
testSelections3Prong<o2::aod::hf_cand_prong3::DecayType::DsToKKPi, 0>(cand3Prong, tracks);
343343
break;
344344
case o2::aod::hf_cand_prong3::DecayType::XicToPKPi:
345345
testSelections3Prong<o2::aod::hf_cand_prong3::DecayType::XicToPKPi, 0>(cand3Prong, tracks);
@@ -354,8 +354,8 @@ struct HfSelOptimisation {
354354
case o2::aod::hf_cand_prong3::DecayType::LcToPKPi:
355355
testSelections3Prong<o2::aod::hf_cand_prong3::DecayType::LcToPKPi, 1>(cand3Prong, tracks);
356356
break;
357-
case o2::aod::hf_cand_prong3::DecayType::DsToPiKK:
358-
testSelections3Prong<o2::aod::hf_cand_prong3::DecayType::DsToPiKK, 1>(cand3Prong, tracks);
357+
case o2::aod::hf_cand_prong3::DecayType::DsToKKPi:
358+
testSelections3Prong<o2::aod::hf_cand_prong3::DecayType::DsToKKPi, 1>(cand3Prong, tracks);
359359
break;
360360
case o2::aod::hf_cand_prong3::DecayType::XicToPKPi:
361361
testSelections3Prong<o2::aod::hf_cand_prong3::DecayType::XicToPKPi, 1>(cand3Prong, tracks);
@@ -371,8 +371,8 @@ struct HfSelOptimisation {
371371
case o2::aod::hf_cand_prong3::DecayType::LcToPKPi:
372372
testSelections3Prong<o2::aod::hf_cand_prong3::DecayType::LcToPKPi, 2>(cand3Prong, tracks);
373373
break;
374-
case o2::aod::hf_cand_prong3::DecayType::DsToPiKK:
375-
testSelections3Prong<o2::aod::hf_cand_prong3::DecayType::DsToPiKK, 2>(cand3Prong, tracks);
374+
case o2::aod::hf_cand_prong3::DecayType::DsToKKPi:
375+
testSelections3Prong<o2::aod::hf_cand_prong3::DecayType::DsToKKPi, 2>(cand3Prong, tracks);
376376
break;
377377
case o2::aod::hf_cand_prong3::DecayType::XicToPKPi:
378378
testSelections3Prong<o2::aod::hf_cand_prong3::DecayType::XicToPKPi, 2>(cand3Prong, tracks);

0 commit comments

Comments
 (0)