@@ -220,19 +220,21 @@ struct HfTaskCorrelationLcHadrons {
220220 registry.add (" hDeltaEtaPtIntSidebands" , stringLcHadron + stringSideband + stringDeltaEta + " entries" , {HistType::kTH1D , {axisDeltaEta}});
221221 registry.add (" hDeltaPhiPtIntSidebands" , stringLcHadron + stringSideband + stringDeltaPhi + " entries" , {HistType::kTH1D , {axisDeltaPhi}});
222222 registry.add (" hCorrel2DPtIntSidebands" , stringLcHadron + stringSideband + stringDeltaPhi + stringDeltaEta + " entries" , {HistType::kTH2F , {{axisDeltaPhi}, {axisDeltaEta}}});
223- registry.add (" hCorrel2DVsPtSidebands" , stringLcHadron + stringSideband + stringDeltaPhi + stringDeltaEta + stringPtLc + stringPtHadron + " entries" , {HistType::kTHnSparseF , {{axisDeltaPhi}, {axisDeltaEta}, {axisPtCorr}, {axisPtHadron}, {axisPoolBin}, {axisCentFT0M}}});
223+ registry.add (" hCorrel2DVsPtSidebands" , stringLcHadron + stringSideband + stringDeltaPhi + stringDeltaEta + stringPtLc + stringPtHadron + " entries" , {HistType::kTHnSparseF , {{axisDeltaPhi}, {axisDeltaEta}, {axisPtCorr}, {axisPtHadron}, {axisPoolBin}, {axisCentFT0M}, {axisMassLc} }});
224224 registry.add (" hDeltaEtaPtIntSidebandLeft" , stringLcHadron + " Left" + stringSideband + stringDeltaEta, {HistType::kTH1D , {axisDeltaEta}});
225225 registry.add (" hDeltaPhiPtIntSidebandLeft" , stringLcHadron + " Left" + stringSideband + stringDeltaPhi, {HistType::kTH1D , {axisDeltaPhi}});
226226 registry.add (" hDeltaEtaPtIntSidebandRight" , stringLcHadron + " Right" + stringSideband + stringDeltaEta, {HistType::kTH1D , {axisDeltaEta}});
227227 registry.add (" hDeltaPhiPtIntSidebandRight" , stringLcHadron + " Right" + stringSideband + stringDeltaPhi, {HistType::kTH1D , {axisDeltaPhi}});
228228
229229 if (!fillSign) {
230- registry.add (" hCorrel2DVsPtSidebandLeft" , stringLcHadron + " Left" + stringSideband + stringDeltaPhi + stringDeltaEta + stringPtLc + stringPtHadron + " entries" , {HistType::kTHnSparseF , {{axisDeltaPhi}, {axisDeltaEta}, {axisPtLc}, {axisPtHadron}, {axisPoolBin}, {axisCentFT0M}}});
231- registry.add (" hCorrel2DVsPtSidebandRight" , stringLcHadron + " Right" + stringSideband + stringDeltaPhi + stringDeltaEta + stringPtLc + stringPtHadron + " entries" , {HistType::kTHnSparseF , {{axisDeltaPhi}, {axisDeltaEta}, {axisPtLc}, {axisPtHadron}, {axisPoolBin}, {axisCentFT0M}}});
232- registry.add (" hCorrel2DVsPtSignalRegion" , stringLcHadron + stringSignal + stringDeltaPhi + stringDeltaEta + stringPtLc + stringPtHadron + " entries" , {HistType::kTHnSparseF , {{axisDeltaPhi}, {axisDeltaEta}, {axisPtCorr}, {axisPtHadron}, {axisPoolBin}, {axisCentFT0M}}});
230+ registry.add (" hCorrel2DVsPtSidebandLeft" , stringLcHadron + " Left" + stringSideband + stringDeltaPhi + stringDeltaEta + stringPtLc + stringPtHadron + " entries" , {HistType::kTHnSparseF , {{axisDeltaPhi}, {axisDeltaEta}, {axisPtLc}, {axisPtHadron}, {axisPoolBin}, {axisCentFT0M}, {axisMassLc}}});
231+ registry.add (" hCorrel2DVsPtSidebandRight" , stringLcHadron + " Right" + stringSideband + stringDeltaPhi + stringDeltaEta + stringPtLc + stringPtHadron + " entries" , {HistType::kTHnSparseF , {{axisDeltaPhi}, {axisDeltaEta}, {axisPtLc}, {axisPtHadron}, {axisPoolBin}, {axisCentFT0M}, {axisMassLc}}});
232+ registry.add (" hCorrel2DVsPtSignalRegion" , stringLcHadron + stringSignal + stringDeltaPhi + stringDeltaEta + stringPtLc + stringPtHadron + " entries" , {HistType::kTHnSparseF , {{axisDeltaPhi}, {axisDeltaEta}, {axisPtCorr}, {axisPtHadron}, {axisPoolBin}, {axisCentFT0M}, {axisMassLc}}});
233+ registry.add (" hCorrel2DVsPtGlobalRegion" , stringLcHadron + stringSignal + stringDeltaPhi + stringDeltaEta + stringPtLc + stringPtHadron + " entries" , {HistType::kTHnSparseF , {{axisDeltaPhi}, {axisDeltaEta}, {axisPtCorr}, {axisPtHadron}, {axisPoolBin}, {axisCentFT0M}, {axisMassLc}}});
233234 registry.get <THnSparse>(HIST (" hCorrel2DVsPtSidebandLeft" ))->Sumw2 ();
234235 registry.get <THnSparse>(HIST (" hCorrel2DVsPtSidebandRight" ))->Sumw2 ();
235236 registry.get <THnSparse>(HIST (" hCorrel2DVsPtSignalRegion" ))->Sumw2 ();
237+ registry.get <THnSparse>(HIST (" hCorrel2DVsPtGlobalRegion" ))->Sumw2 ();
236238 } else {
237239 registry.add (" hCorrel2DVsPtSignSidebandLeft" , stringLcHadron + " Left" + stringSideband + stringDeltaPhi + stringDeltaEta + stringPtLc + stringPtHadron + stringSign + " entries" , {HistType::kTHnSparseF , {{axisDeltaPhi}, {axisDeltaEta}, {axisPtLc}, {axisPtHadron}, {axisSignPair}, {axisPoolBin}}});
238240 registry.add (" hCorrel2DVsPtSignSidebandRight" , stringLcHadron + " Right" + stringSideband + stringDeltaPhi + stringDeltaEta + stringPtLc + stringPtHadron + stringSign + " entries" , {HistType::kTHnSparseF , {{axisDeltaPhi}, {axisDeltaEta}, {axisPtLc}, {axisPtHadron}, {axisSignPair}, {axisPoolBin}}});
@@ -511,12 +513,13 @@ struct HfTaskCorrelationLcHadrons {
511513 registry.fill (HIST (" hCorrel2DVsPtSignMass" ), deltaPhi, deltaEta, ptLc, ptHadron, massLc, signPair, poolBin, efficiencyWeight);
512514 }
513515 // check if correlation entry belongs to signal region, sidebands or is outside both, and fill correlation plots
516+ registry.fill (HIST (" hCorrel2DVsPtGlobalRegion" ), deltaPhi, deltaEta, ptLc, ptHadron, poolBin, cent, massLc, efficiencyWeight);
514517 if (massLc > signalRegionInner->at (ptBinLc) && massLc < signalRegionOuter->at (ptBinLc)) {
515518 // in signal region
516519 if (fillSign) {
517520 registry.fill (HIST (" hCorrel2DVsPtSignSignalRegion" ), deltaPhi, deltaEta, ptLc, ptHadron, signPair, poolBin, efficiencyWeight);
518521 } else {
519- registry.fill (HIST (" hCorrel2DVsPtSignalRegion" ), deltaPhi, deltaEta, ptLc, ptHadron, poolBin, cent, efficiencyWeight);
522+ registry.fill (HIST (" hCorrel2DVsPtSignalRegion" ), deltaPhi, deltaEta, ptLc, ptHadron, poolBin, cent, massLc, efficiencyWeight);
520523 }
521524 registry.fill (HIST (" hCorrel2DPtIntSignalRegion" ), deltaPhi, deltaEta, efficiencyWeight);
522525 registry.fill (HIST (" hDeltaEtaPtIntSignalRegion" ), deltaEta, efficiencyWeight);
@@ -527,11 +530,11 @@ struct HfTaskCorrelationLcHadrons {
527530 if (fillSign) {
528531 registry.fill (HIST (" hCorrel2DVsPtSignSidebandLeft" ), deltaPhi, deltaEta, ptLc, ptHadron, signPair, poolBin, efficiencyWeight);
529532 } else {
530- registry.fill (HIST (" hCorrel2DVsPtSidebandLeft" ), deltaPhi, deltaEta, ptLc, ptHadron, poolBin, cent, efficiencyWeight);
533+ registry.fill (HIST (" hCorrel2DVsPtSidebandLeft" ), deltaPhi, deltaEta, ptLc, ptHadron, poolBin, cent, massLc, efficiencyWeight);
531534 }
532535 registry.fill (HIST (" hDeltaEtaPtIntSidebandLeft" ), deltaEta, efficiencyWeight);
533536 registry.fill (HIST (" hDeltaPhiPtIntSidebandLeft" ), deltaPhi, efficiencyWeight);
534- registry.fill (HIST (" hCorrel2DVsPtSidebands" ), deltaPhi, deltaEta, ptLc, ptHadron, poolBin, cent, efficiencyWeight);
537+ registry.fill (HIST (" hCorrel2DVsPtSidebands" ), deltaPhi, deltaEta, ptLc, ptHadron, poolBin, cent, massLc, efficiencyWeight);
535538 registry.fill (HIST (" hCorrel2DPtIntSidebands" ), deltaPhi, deltaEta, efficiencyWeight);
536539 registry.fill (HIST (" hDeltaEtaPtIntSidebands" ), deltaEta, efficiencyWeight);
537540 registry.fill (HIST (" hDeltaPhiPtIntSidebands" ), deltaPhi, efficiencyWeight);
@@ -541,11 +544,11 @@ struct HfTaskCorrelationLcHadrons {
541544 if (fillSign) {
542545 registry.fill (HIST (" hCorrel2DVsPtSignSidebandRight" ), deltaPhi, deltaEta, ptLc, ptHadron, signPair, poolBin, efficiencyWeight);
543546 } else {
544- registry.fill (HIST (" hCorrel2DVsPtSidebandRight" ), deltaPhi, deltaEta, ptLc, ptHadron, poolBin, cent, efficiencyWeight);
547+ registry.fill (HIST (" hCorrel2DVsPtSidebandRight" ), deltaPhi, deltaEta, ptLc, ptHadron, poolBin, cent, massLc, efficiencyWeight);
545548 }
546549 registry.fill (HIST (" hDeltaEtaPtIntSidebandRight" ), deltaEta, efficiencyWeight);
547550 registry.fill (HIST (" hDeltaPhiPtIntSidebandRight" ), deltaPhi, efficiencyWeight);
548- registry.fill (HIST (" hCorrel2DVsPtSidebands" ), deltaPhi, deltaEta, ptLc, ptHadron, poolBin, cent, efficiencyWeight);
551+ registry.fill (HIST (" hCorrel2DVsPtSidebands" ), deltaPhi, deltaEta, ptLc, ptHadron, poolBin, cent, massLc, efficiencyWeight);
549552 registry.fill (HIST (" hCorrel2DPtIntSidebands" ), deltaPhi, deltaEta, efficiencyWeight);
550553 registry.fill (HIST (" hDeltaEtaPtIntSidebands" ), deltaEta, efficiencyWeight);
551554 registry.fill (HIST (" hDeltaPhiPtIntSidebands" ), deltaPhi, efficiencyWeight);
0 commit comments