From 5e6588d2739a5c42e7c88ad194fdb6c30c2a6ed5 Mon Sep 17 00:00:00 2001 From: Daiki Sekihata Date: Sun, 17 Aug 2025 18:17:14 +0200 Subject: [PATCH] PWGEM/Dilepton: update skimmerPrimaryElectronQC.cxx --- PWGEM/Dilepton/TableProducer/skimmerPrimaryElectronQC.cxx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/PWGEM/Dilepton/TableProducer/skimmerPrimaryElectronQC.cxx b/PWGEM/Dilepton/TableProducer/skimmerPrimaryElectronQC.cxx index 8e3f8228299..c448464ceab 100644 --- a/PWGEM/Dilepton/TableProducer/skimmerPrimaryElectronQC.cxx +++ b/PWGEM/Dilepton/TableProducer/skimmerPrimaryElectronQC.cxx @@ -95,6 +95,7 @@ struct skimmerPrimaryElectronQC { struct : ConfigurableGroup { std::string prefix = "tighttrackcut"; + Configurable min_ncluster_tpc_pid{"min_ncluster_tpc_pid", 60, "min ncluster tpc used for PID"}; Configurable min_ncluster_tpc{"min_ncluster_tpc", 0, "min ncluster tpc"}; Configurable mincrossedrows{"mincrossedrows", 100, "min. crossed rows"}; Configurable min_ncluster_its{"min_ncluster_its", 5, "min ncluster its"}; @@ -392,6 +393,10 @@ struct skimmerPrimaryElectronQC { return false; } + if (track.tpcNClsPID() < tighttrackcut.min_ncluster_tpc_pid) { + return false; + } + mDcaInfoCov.set(999, 999, 999, 999, 999); auto trackParCov = getTrackParCov(track); trackParCov.setPID(o2::track::PID::Electron);