1 parent a97a334 commit f49c302Copy full SHA for f49c302
1 file changed
PWGHF/HFC/TableProducer/correlatorHfeHadrons.cxx
@@ -298,9 +298,7 @@ struct HfCorrelatorHfeHadrons {
298
double etaHadron = -999;
299
double phiHadron = -999;
300
// EMCal electron
301
- if (eTrack.isEmcal() && requireEmcal) {
302
- acceptElectron = true;
303
- } else if (!eTrack.isEmcal() && !requireEmcal) {
+ if (eTrack.isEmcal() == requireEmcal) {
304
acceptElectron = true;
305
}
306
0 commit comments