Skip to content

Commit b2e8973

Browse files
nstrangmNicolas Strangmannalibuild
authored
[PWGEM/PhotonMeson] Add multiplicity cut for HNM analysis (AliceO2Group#10963)
Co-authored-by: Nicolas Strangmann <[email protected]> Co-authored-by: ALICE Action Bot <[email protected]>
1 parent b2aeaf6 commit b2e8973

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

PWGEM/PhotonMeson/Tasks/HeavyNeutralMeson.cxx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@ struct HeavyNeutralMeson {
128128
Configurable<LabeledArray<float>> cfgMassWindowOmega{"cfgMassWindowOmega", {DefaultMassWindows[0], 4, {"pi0_min", "pi0_max", "omega_min", "omega_max"}}, "Mass window for selected omegas and their decay pi0"};
129129
Configurable<LabeledArray<float>> cfgMassWindowEtaPrime{"cfgMassWindowEtaPrime", {DefaultMassWindows[1], 4, {"eta_min", "eta_max", "etaprime_min", "etaprime_max"}}, "Mass window for selected eta' and their decay eta"};
130130

131+
Configurable<float> cfgMaxMultiplicity{"cfgMaxMultiplicity", 5000, "Maximum number of tracks in a collision (can be used to increase the S/B -> Very experimental)"};
131132
Configurable<float> 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)"};
132133

133134
HistogramRegistry mHistManager{"HeavyNeutralMesonHistograms", {}, OutputObjHandlingPolicy::AnalysisObject};
@@ -210,6 +211,9 @@ struct HeavyNeutralMeson {
210211
if (confEvtRequireSel8 && !col.sel8()) {
211212
return false;
212213
}
214+
if (col.multNTracksPV() > cfgMaxMultiplicity) {
215+
return false;
216+
}
213217
return true;
214218
}
215219

0 commit comments

Comments
 (0)