From f49b3911817f4f3f1957da330f732943197bb961 Mon Sep 17 00:00:00 2001 From: Nicolas Strangmann Date: Wed, 23 Apr 2025 20:55:44 +0200 Subject: [PATCH 1/2] [PWGEM/PhotonMeson] Add multiplicity cut for HNM analysis --- PWGEM/PhotonMeson/Tasks/HeavyNeutralMeson.cxx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/PWGEM/PhotonMeson/Tasks/HeavyNeutralMeson.cxx b/PWGEM/PhotonMeson/Tasks/HeavyNeutralMeson.cxx index 56ef57a6d79..0d3e802a29b 100644 --- a/PWGEM/PhotonMeson/Tasks/HeavyNeutralMeson.cxx +++ b/PWGEM/PhotonMeson/Tasks/HeavyNeutralMeson.cxx @@ -128,6 +128,7 @@ struct HeavyNeutralMeson { Configurable> cfgMassWindowOmega{"cfgMassWindowOmega", {DefaultMassWindows[0], 4, {"pi0_min", "pi0_max", "omega_min", "omega_max"}}, "Mass window for selected omegas and their decay pi0"}; Configurable> cfgMassWindowEtaPrime{"cfgMassWindowEtaPrime", {DefaultMassWindows[1], 4, {"eta_min", "eta_max", "etaprime_min", "etaprime_max"}}, "Mass window for selected eta' and their decay eta"}; + Configurable cfgMaxMultiplicity{"cfgMaxMultiplicity", 5000, "Maximum number of tracks in a collision (can be used to increase the S/B -> Very experimental)"}; Configurable cfgMinGGPtOverHNMPt{"cfgMinGGPtOverHNMPt", 0., "Minimum ratio of the pT of the gamma gamma pair over the pT of the HNM (can be used to increase the S/B)"}; HistogramRegistry mHistManager{"HeavyNeutralMesonHistograms", {}, OutputObjHandlingPolicy::AnalysisObject}; @@ -210,6 +211,9 @@ struct HeavyNeutralMeson { if (confEvtRequireSel8 && !col.sel8()) { return false; } + if(col.multNTracksPV() > cfgMaxMultiplicity) { + return false; + } return true; } From a7eac4495e899d9ec13beaf4f5c2e6a2549cac25 Mon Sep 17 00:00:00 2001 From: ALICE Action Bot Date: Wed, 23 Apr 2025 18:56:41 +0000 Subject: [PATCH 2/2] Please consider the following formatting changes --- PWGEM/PhotonMeson/Tasks/HeavyNeutralMeson.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PWGEM/PhotonMeson/Tasks/HeavyNeutralMeson.cxx b/PWGEM/PhotonMeson/Tasks/HeavyNeutralMeson.cxx index 0d3e802a29b..b416f173480 100644 --- a/PWGEM/PhotonMeson/Tasks/HeavyNeutralMeson.cxx +++ b/PWGEM/PhotonMeson/Tasks/HeavyNeutralMeson.cxx @@ -211,7 +211,7 @@ struct HeavyNeutralMeson { if (confEvtRequireSel8 && !col.sel8()) { return false; } - if(col.multNTracksPV() > cfgMaxMultiplicity) { + if (col.multNTracksPV() > cfgMaxMultiplicity) { return false; } return true;