Skip to content

Commit f49c302

Browse files
authored
Remove code check error
1 parent a97a334 commit f49c302

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

PWGHF/HFC/TableProducer/correlatorHfeHadrons.cxx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -298,9 +298,7 @@ struct HfCorrelatorHfeHadrons {
298298
double etaHadron = -999;
299299
double phiHadron = -999;
300300
// EMCal electron
301-
if (eTrack.isEmcal() && requireEmcal) {
302-
acceptElectron = true;
303-
} else if (!eTrack.isEmcal() && !requireEmcal) {
301+
if (eTrack.isEmcal() == requireEmcal) {
304302
acceptElectron = true;
305303
}
306304

0 commit comments

Comments
 (0)