Skip to content

Commit

Permalink
[PWGHF] PID inclusion for associated particles in Lc correlation
Browse files Browse the repository at this point in the history
  • Loading branch information
1994ra authored Dec 10, 2024
1 parent 08d8474 commit eb81b37
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions PWGHF/HFC/Tasks/taskCorrelationLcHadrons.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -641,13 +641,17 @@ struct HfTaskCorrelationLcHadrons {

// fill correlation plots for signal/bagkground correlations
if (pairEntry.signalStatus()) {
registry.fill(HIST("hCorrel2DVsPtSignalMcRec"), deltaPhi, deltaEta, ptLc, ptHadron, poolBin, efficiencyWeight);
if (fillSign)
if (fillSign) {
registry.fill(HIST("hCorrel2DVsPtSignSignalMcRec"), deltaPhi, deltaEta, ptLc, ptHadron, signPair, poolBin, efficiencyWeight);
} else {
registry.fill(HIST("hCorrel2DVsPtSignalMcRec"), deltaPhi, deltaEta, ptLc, ptHadron, poolBin, efficiencyWeight);
}
} else {
registry.fill(HIST("hCorrel2DVsPtBkgMcRec"), deltaPhi, deltaEta, ptLc, ptHadron, poolBin, efficiencyWeight);
if (fillSign)
if (fillSign) {
registry.fill(HIST("hCorrel2DVsPtSignBkgMcRec"), deltaPhi, deltaEta, ptLc, ptHadron, signPair, poolBin, efficiencyWeight);
} else {
registry.fill(HIST("hCorrel2DVsPtBkgMcRec"), deltaPhi, deltaEta, ptLc, ptHadron, poolBin, efficiencyWeight);
}
}
// reject entries outside Pt ranges of interest

Expand Down

0 comments on commit eb81b37

Please sign in to comment.