From 21eca3d844a32550d00a39829df2406a5da9d827 Mon Sep 17 00:00:00 2001 From: Mattia Faggin Date: Mon, 11 Mar 2024 09:35:03 +0100 Subject: [PATCH] Apply sel8(), PV posZ and TF border cut selections also for KF particle process for 2 prong candidate creator. --- PWGHF/TableProducer/candidateCreator2Prong.cxx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/PWGHF/TableProducer/candidateCreator2Prong.cxx b/PWGHF/TableProducer/candidateCreator2Prong.cxx index bd4e292e513..a81ebfe2bfd 100644 --- a/PWGHF/TableProducer/candidateCreator2Prong.cxx +++ b/PWGHF/TableProducer/candidateCreator2Prong.cxx @@ -308,6 +308,11 @@ struct HfCandidateCreator2Prong { } } + /// event selection: sel8, PV posZ, TF border cut + if (!isHfCollisionSelected(collision, useSel8Trigger, maxPvPosZ, useTimeFrameBorderCut)) { + continue; + } + auto track0 = rowTrackIndexProng2.template prong0_as(); auto track1 = rowTrackIndexProng2.template prong1_as();