Skip to content

Commit 152de4b

Browse files
authored
remove error
1 parent 53dde2b commit 152de4b

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

PWGHF/HFL/TableProducer/electronSelectionWithTpcEmcal.cxx

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -539,7 +539,7 @@ struct HfElectronSelectionWithTpcEmcal {
539539
{
540540
fillElectronTrack<false>(collision, tracks, emcClusters, matchedTracks, 0);
541541
}
542-
PROCESS_SWITCH(HfElectronSelectionWithTpcEmcal, processData, "process Data info only", false);
542+
PROCESS_SWITCH(HfElectronSelectionWithTpcEmcal, processData, "process Data info only", true);
543543
/// Electron selection - for MC reco-level analysis
544544
void processMcRec(McTableCollision const& mcCollision,
545545
McTableTracks const& mcTracks,
@@ -624,7 +624,6 @@ struct HfElectronSelectionWithTpcEmcal {
624624
isEmbEta = true; // eta->gamma-> e
625625
}
626626
}
627-
628627
if (std::abs(gmother.pdgCode()) == kPi0) {
629628
if (gmother.isPhysicalPrimary() || gmother.has_mothers()) {
630629
auto const& ggmother = gmother.mothers_first_as<aod::McParticles>();
@@ -649,7 +648,6 @@ struct HfElectronSelectionWithTpcEmcal {
649648
}
650649
}
651650
}
652-
653651
if (isEmbPi0 || isEmbEta) {
654652
registry.fill(HIST("hMcgenNonHfeElectron"), particleMc.pt());
655653
isNonHfe = true;
@@ -663,13 +661,11 @@ struct HfElectronSelectionWithTpcEmcal {
663661
}
664662
}
665663
}
666-
667664
hfGenElectronSel(mcCollision.globalIndex(), particleMc.globalIndex(), particleMc.eta(), particleMc.phi(), particleMc.pt(), isNonHfe);
668665
}
669666
}
670667
}
671-
672-
PROCESS_SWITCH(HfElectronSelectionWithTpcEmcal, processMcGen, "Process MC Gen mode", true);
668+
PROCESS_SWITCH(HfElectronSelectionWithTpcEmcal, processMcGen, "Process MC Gen mode", false);
673669
};
674670

675671
WorkflowSpec defineDataProcessing(ConfigContext const& cfgc)

0 commit comments

Comments
 (0)