Skip to content

Commit d2238c4

Browse files
authored
remove casting
1 parent 0ea47ce commit d2238c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

PWGHF/HFL/TableProducer/electronSelectionWithTpcEmcal.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ struct HfElectronSelectionWithTpcEmcal {
381381
return;
382382
}
383383

384-
registry.fill(HIST("hNevents"), static_cast<int>(emcalRegion));
384+
registry.fill(HIST("hNevents"), emcalRegion.value);
385385

386386
// skip events with no clusters
387387
if (emcClusters.size() == 0 && skipNoEmcClusters) {

0 commit comments

Comments
 (0)