Skip to content

Commit aa27436

Browse files
committed
[PWGEM,PWGEM-36] skimmerGammaCalo: Fix processMC processRec cut difference
- `processMC` was missing the check `if (needEMCTrigger.value && !collision.alias_bit(kTVXinEMC))` which is in the `processRec` resulting in `[ERROR] Exception while running: Tables SkimEMCClusters and EMCClusterMCLabels have different sizes`.
1 parent 23c1fcf commit aa27436

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

PWGEM/PhotonMeson/TableProducer/skimmerGammaCalo.cxx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,10 @@ struct SkimmerGammaCalo {
175175
return;
176176
}
177177

178+
if (needEMCTrigger.value && !collision.alias_bit(kTVXinEMC)) {
179+
return;
180+
}
181+
178182
for (const auto& emccluster : emcclusters) {
179183

180184
// Definition cut

0 commit comments

Comments
 (0)