From 88253324d99fa713beb61f908218b62a076c9515 Mon Sep 17 00:00:00 2001 From: Luzhiyongg <71517277+Luzhiyongg@users.noreply.github.com> Date: Wed, 17 Dec 2025 11:43:43 +0100 Subject: [PATCH] add ev selection for Mc true --- PWGCF/Flow/Tasks/flowTask.cxx | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/PWGCF/Flow/Tasks/flowTask.cxx b/PWGCF/Flow/Tasks/flowTask.cxx index dad969af8c1..ff0c80e50f4 100644 --- a/PWGCF/Flow/Tasks/flowTask.cxx +++ b/PWGCF/Flow/Tasks/flowTask.cxx @@ -1253,6 +1253,13 @@ struct FlowTask { fGFW->Clear(); fFCptgen->clearVector(); + if (cfgUseAdditionalEventCut) { + for (auto const& collision : collisions) { + if (!eventSelected(collision, mcParticles.size(), cent)) + return; + } + } + double ptSum_Gap08 = 0.; double count_Gap08 = 0.; for (const auto& mcParticle : mcParticles) {