Skip to content

Commit 02aa365

Browse files
nstrangmNicolas Strangmann
andauthored
[PWGEM/PhotonMeson] Add workaround for kTVXinEMC issues in data to BC wise GG task (#11899)
Co-authored-by: Nicolas Strangmann <nicolas.strangmann@.cern.ch>
1 parent 78e4af0 commit 02aa365

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

PWGEM/PhotonMeson/Tasks/emcalBcWiseGammaGamma.cxx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@ using SelectedMCClusters = soa::Filtered<soa::Join<aod::BCWiseClusters, aod::BCW
4242
struct EmcalBcWiseGammaGamma {
4343
HistogramRegistry mHistManager{"EmcalGammaGammaBcWiseHistograms"};
4444

45-
Configurable<bool> cfgRequirekTVXinEMC{"cfgRequirekTVXinEMC", true, "Reconstruct mesonss only in kTVXinEMC triggered BCs"};
45+
Configurable<bool> cfgRequirekTVXinEMC{"cfgRequirekTVXinEMC", true, "Reconstruct mesons only in kTVXinEMC triggered BCs"};
46+
Configurable<bool> cfgRequireEMCCell{"cfgRequireEMCCell", true, "Reconstruct mesons only in BCs containing at least one EMCal cell (workaround for kTVXinEMC trigger)"};
4647
Configurable<int> cfgSelectOnlyUniqueAmbiguous{"cfgSelectOnlyUniqueAmbiguous", 0, "0: all clusters, 1: only unique clusters, 2: only ambiguous clusters"};
4748

4849
Configurable<int> cfgClusterDefinition{"cfgClusterDefinition", 13, "Clusterizer to be selected, e.g. 13 for kV3MostSplitLowSeed"};
@@ -289,6 +290,8 @@ struct EmcalBcWiseGammaGamma {
289290
{
290291
if (cfgRequirekTVXinEMC && !bc.haskTVXinEMC())
291292
return false;
293+
if (cfgRequireEMCCell && !bc.hasEMCCell())
294+
return false;
292295
if (cfgSelectOnlyUniqueAmbiguous == 1 && collisions.size() != 1)
293296
return false;
294297
if (cfgSelectOnlyUniqueAmbiguous == 2 && collisions.size() == 1)

0 commit comments

Comments
 (0)