Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions PWGHF/HFC/TableProducer/correlatorLcHadrons.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ struct HfCorrelatorLcHadrons {
Configurable<bool> isRecTrkPhyPrimary{"isRecTrkPhyPrimary", true, "Calculate the efficiency of reconstructed primary physical tracks"};
Configurable<bool> calEffLcEvent{"calEffLcEvent", true, "Calculate the efficiency of Lc candidate"};
Configurable<float> eventFractionToAnalyze{"eventFractionToAnalyze", -1, "Fraction of events to analyze (use only for ME offline on very large samples)"};

HfHelper hfHelper;
SliceCache cache;
Service<o2::framework::O2DatabasePDG> pdg;
Expand Down Expand Up @@ -404,8 +404,8 @@ struct HfCorrelatorLcHadrons {
outputMl[iclass] = candidate.mlProbLcToPiKP()[classMl->at(iclass)];
}
entryLcCandRecoInfo(hfHelper.invMassLcToPiKP(candidate), candidate.pt() * chargeLc, outputMl[0], outputMl[1]); // 0: BkgBDTScore, 1:PromptBDTScore
if(!skipMixedEventTableFilling) {
entryLc(candidate.phi(), candidate.eta(), candidate.pt(), hfHelper.invMassLcToPiKP(candidate), poolBin, gCollisionId, timeStamp);
if (!skipMixedEventTableFilling) {
entryLc(candidate.phi(), candidate.eta(), candidate.pt(), hfHelper.invMassLcToPiKP(candidate), poolBin, gCollisionId, timeStamp);
}
}

Expand Down Expand Up @@ -462,13 +462,13 @@ struct HfCorrelatorLcHadrons {
}
}
if (countLc == 0) {
if(!skipMixedEventTableFilling) {
if (!skipMixedEventTableFilling) {
entryHadron(track.phi(), track.eta(), track.pt() * track.sign(), poolBin, gCollisionId, timeStamp);
if (fillTrkPID) {
entryTrkPID(track.tpcNSigmaPr(), track.tpcNSigmaKa(), track.tpcNSigmaPi(), track.tofNSigmaPr(), track.tofNSigmaKa(), track.tofNSigmaPi());
}
registry.fill(HIST("hTracksBin"), poolBin);
}
}
}
} // Hadron Tracks loop
countLc++;
Expand Down
Loading