Skip to content

Commit 1521439

Browse files
authored
data Pocessing on by default
1 parent fdb7010 commit 1521439

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

PWGHF/HFL/TableProducer/electronSelectionWithTpcEmcal.cxx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -380,15 +380,15 @@ struct HfElectronSelectionWithTpcEmcal {
380380
if (!(isRun3 ? collision.sel8() : (collision.sel7() && collision.alias_bit(kINT7)))) {
381381
return;
382382
}
383-
int region = emcalRegion;
384-
registry.fill(HIST("hNevents"), region);
383+
384+
registry.fill(HIST("hNevents"), static_cast<int>(emcalRegion));
385385

386386
// skip events with no clusters
387387
if (emcClusters.size() == 0 && skipNoEmcClusters) {
388388
return;
389389
}
390390
registry.fill(HIST("hZvertex"), collision.posZ());
391-
registry.fill(HIST("hNeventsAfterPassEmcal"), region);
391+
registry.fill(HIST("hNeventsAfterPassEmcal"), static_cast<int>(emcalRegion));
392392
/////////////////////////////////
393393
// EMCal cluster info before match ///
394394
///////////////////////////////
@@ -543,7 +543,7 @@ struct HfElectronSelectionWithTpcEmcal {
543543
{
544544
fillElectronTrack<false>(collision, tracks, emcClusters, matchedTracks, 0);
545545
}
546-
PROCESS_SWITCH(HfElectronSelectionWithTpcEmcal, processData, "process Data info only", false);
546+
PROCESS_SWITCH(HfElectronSelectionWithTpcEmcal, processData, "process Data info only", true);
547547
/// Electron selection - for MC reco-level analysis
548548
void processMcRec(McTableCollision const& mcCollision,
549549
McTableTracks const& mcTracks,
@@ -553,7 +553,7 @@ struct HfElectronSelectionWithTpcEmcal {
553553
{
554554
fillElectronTrack<true>(mcCollision, mcTracks, mcEmcClusters, matchedTracks, mcParticles);
555555
}
556-
PROCESS_SWITCH(HfElectronSelectionWithTpcEmcal, processMcRec, "Process MC Reco mode", true);
556+
PROCESS_SWITCH(HfElectronSelectionWithTpcEmcal, processMcRec, "Process MC Reco mode", false);
557557

558558
void processMcGen(McGenTableCollision const& mcCollision, aod::McParticles const& mcParticles)
559559
{

0 commit comments

Comments
 (0)