Skip to content

Commit

Permalink
PWGEM/Dilepton: fix Join table in MC skimming task (AliceO2Group#7173)
Browse files Browse the repository at this point in the history
  • Loading branch information
dsekihat authored Aug 6, 2024
1 parent 69b35fb commit 5e9d078
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions PWGEM/Dilepton/TableProducer/skimmerSecondaryElectron.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -363,8 +363,9 @@ struct skimmerSecondaryElectron {
if (mee > slope * phiv + intercept) { // select phocon conversions
continue;
}
fRegistry.fill(HIST("Pair/hMvsPhiV"), phiv, mee);

if (fillQAHistogram) {
fRegistry.fill(HIST("Pair/hMvsPhiV"), phiv, mee);
}
fillTrackTable(collision, pos);
fillTrackTable(collision, neg);
npair++;
Expand Down Expand Up @@ -423,8 +424,9 @@ struct skimmerSecondaryElectron {
if (mee > slope * phiv + intercept) { // select phocon conversions
continue;
}
fRegistry.fill(HIST("Pair/hMvsPhiV"), phiv, mee);

if (fillQAHistogram) {
fRegistry.fill(HIST("Pair/hMvsPhiV"), phiv, mee);
}
fillTrackTable(collision, pos);
fillTrackTable(collision, neg);
npair++;
Expand Down Expand Up @@ -603,7 +605,7 @@ struct AssociateMCInfoSecondaryElectron {
fCounters[1] = 0;
}

void processDummy(MyCollisionsMC const&) {}
void processDummy(MyCollisions const&) {}

PROCESS_SWITCH(AssociateMCInfoSecondaryElectron, processMC, "create em mc event table for Electron", false);
PROCESS_SWITCH(AssociateMCInfoSecondaryElectron, processDummy, "processDummy", true);
Expand Down

0 comments on commit 5e9d078

Please sign in to comment.