Skip to content

Commit 480fb42

Browse files
fgrosaalibuild
andauthored
[Trigger,PWGHF] Add inv mass parametrisation for charm hadrons for 2026 pp + small fix (#15526)
Co-authored-by: ALICE Action Bot <alibuild@cern.ch>
1 parent f0078b6 commit 480fb42

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

EventFiltering/PWGHF/HFFilter.cxx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -481,6 +481,9 @@ struct HfFilter { // Main struct for HF triggers
481481
{
482482
for (const auto& collision : collisions) {
483483

484+
// all processed collisions
485+
hProcessedEvents->Fill(0);
486+
484487
bool keepEvent[kNtriggersHF]{false};
485488
bool isSelectedTVX = evSel.applyTVX ? collision.selection_bit(o2::aod::evsel::kIsTriggerTVX) : true;
486489
bool isSelectedTFBorder = evSel.applyTFBorderCut ? collision.selection_bit(o2::aod::evsel::kNoTimeFrameBorder) : true;
@@ -527,8 +530,6 @@ struct HfFilter { // Main struct for HF triggers
527530
currentRun = bc.runNumber();
528531
}
529532

530-
hProcessedEvents->Fill(0);
531-
532533
std::vector<std::vector<int64_t>> indicesDau2Prong{}, indicesDau2ProngPrompt{};
533534

534535
auto cand2ProngsThisColl = cand2Prongs.sliceBy(hf2ProngPerCollision, thisCollId);

EventFiltering/PWGHF/HFFilterHelpers.h

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -640,6 +640,15 @@ class HfFilterHelper
640640
mSigmaPars3Prongs[1] = 0.00176f;
641641
mDeltaMassPars3Prongs[0] = -0.013f;
642642
mDeltaMassPars3Prongs[1] = 0.00029f;
643+
} else if (recoPass == "2026_pass1") {
644+
mSigmaPars2Prongs[0] = 0.01424f;
645+
mSigmaPars2Prongs[1] = 0.00178f;
646+
mDeltaMassPars2Prongs[0] = 0.004f;
647+
mDeltaMassPars2Prongs[1] = 0.0001f;
648+
mSigmaPars3Prongs[0] = 0.00796f;
649+
mSigmaPars3Prongs[1] = 0.00176f;
650+
mDeltaMassPars3Prongs[0] = 0.004f;
651+
mDeltaMassPars3Prongs[1] = 0.0001f;
643652
} else {
644653
LOGP(fatal, "Mass resolution parametrisation {} not supported! Please set 2023_pass3", recoPass.data());
645654
}

0 commit comments

Comments
 (0)