@@ -221,19 +221,21 @@ struct HfTaskCorrelationLcHadrons {
221221 registry.add (" hDeltaEtaPtIntSidebands" , stringLcHadron + stringSideband + stringDeltaEta + " entries" , {HistType::kTH1D , {axisDeltaEta}});
222222 registry.add (" hDeltaPhiPtIntSidebands" , stringLcHadron + stringSideband + stringDeltaPhi + " entries" , {HistType::kTH1D , {axisDeltaPhi}});
223223 registry.add (" hCorrel2DPtIntSidebands" , stringLcHadron + stringSideband + stringDeltaPhi + stringDeltaEta + " entries" , {HistType::kTH2F , {{axisDeltaPhi}, {axisDeltaEta}}});
224- registry.add (" hCorrel2DVsPtSidebands" , stringLcHadron + stringSideband + stringDeltaPhi + stringDeltaEta + stringPtLc + stringPtHadron + " entries" , {HistType::kTHnSparseF , {{axisDeltaPhi}, {axisDeltaEta}, {axisPtCorr}, {axisPtHadron}, {axisPoolBin}, {axisCentFT0M}}});
224+ registry.add (" hCorrel2DVsPtSidebands" , stringLcHadron + stringSideband + stringDeltaPhi + stringDeltaEta + stringPtLc + stringPtHadron + " entries" , {HistType::kTHnSparseF , {{axisDeltaPhi}, {axisDeltaEta}, {axisPtCorr}, {axisPtHadron}, {axisPoolBin}, {axisCentFT0M}, {axisMassLc} }});
225225 registry.add (" hDeltaEtaPtIntSidebandLeft" , stringLcHadron + " Left" + stringSideband + stringDeltaEta, {HistType::kTH1D , {axisDeltaEta}});
226226 registry.add (" hDeltaPhiPtIntSidebandLeft" , stringLcHadron + " Left" + stringSideband + stringDeltaPhi, {HistType::kTH1D , {axisDeltaPhi}});
227227 registry.add (" hDeltaEtaPtIntSidebandRight" , stringLcHadron + " Right" + stringSideband + stringDeltaEta, {HistType::kTH1D , {axisDeltaEta}});
228228 registry.add (" hDeltaPhiPtIntSidebandRight" , stringLcHadron + " Right" + stringSideband + stringDeltaPhi, {HistType::kTH1D , {axisDeltaPhi}});
229229
230230 if (!fillSign) {
231- registry.add (" hCorrel2DVsPtSidebandLeft" , stringLcHadron + " Left" + stringSideband + stringDeltaPhi + stringDeltaEta + stringPtLc + stringPtHadron + " entries" , {HistType::kTHnSparseF , {{axisDeltaPhi}, {axisDeltaEta}, {axisPtLc}, {axisPtHadron}, {axisPoolBin}, {axisCentFT0M}}});
232- registry.add (" hCorrel2DVsPtSidebandRight" , stringLcHadron + " Right" + stringSideband + stringDeltaPhi + stringDeltaEta + stringPtLc + stringPtHadron + " entries" , {HistType::kTHnSparseF , {{axisDeltaPhi}, {axisDeltaEta}, {axisPtLc}, {axisPtHadron}, {axisPoolBin}, {axisCentFT0M}}});
233- registry.add (" hCorrel2DVsPtSignalRegion" , stringLcHadron + stringSignal + stringDeltaPhi + stringDeltaEta + stringPtLc + stringPtHadron + " entries" , {HistType::kTHnSparseF , {{axisDeltaPhi}, {axisDeltaEta}, {axisPtCorr}, {axisPtHadron}, {axisPoolBin}, {axisCentFT0M}}});
231+ registry.add (" hCorrel2DVsPtSidebandLeft" , stringLcHadron + " Left" + stringSideband + stringDeltaPhi + stringDeltaEta + stringPtLc + stringPtHadron + " entries" , {HistType::kTHnSparseF , {{axisDeltaPhi}, {axisDeltaEta}, {axisPtLc}, {axisPtHadron}, {axisPoolBin}, {axisCentFT0M}, {axisMassLc}}});
232+ registry.add (" hCorrel2DVsPtSidebandRight" , stringLcHadron + " Right" + stringSideband + stringDeltaPhi + stringDeltaEta + stringPtLc + stringPtHadron + " entries" , {HistType::kTHnSparseF , {{axisDeltaPhi}, {axisDeltaEta}, {axisPtLc}, {axisPtHadron}, {axisPoolBin}, {axisCentFT0M}, {axisMassLc}}});
233+ registry.add (" hCorrel2DVsPtSignalRegion" , stringLcHadron + stringSignal + stringDeltaPhi + stringDeltaEta + stringPtLc + stringPtHadron + " entries" , {HistType::kTHnSparseF , {{axisDeltaPhi}, {axisDeltaEta}, {axisPtCorr}, {axisPtHadron}, {axisPoolBin}, {axisCentFT0M}, {axisMassLc}}});
234+ registry.add (" hCorrel2DVsPtGlobalRegion" , stringLcHadron + stringSignal + stringDeltaPhi + stringDeltaEta + stringPtLc + stringPtHadron + " entries" , {HistType::kTHnSparseF , {{axisDeltaPhi}, {axisDeltaEta}, {axisPtCorr}, {axisPtHadron}, {axisPoolBin}, {axisCentFT0M}, {axisMassLc}}});
234235 registry.get <THnSparse>(HIST (" hCorrel2DVsPtSidebandLeft" ))->Sumw2 ();
235236 registry.get <THnSparse>(HIST (" hCorrel2DVsPtSidebandRight" ))->Sumw2 ();
236237 registry.get <THnSparse>(HIST (" hCorrel2DVsPtSignalRegion" ))->Sumw2 ();
238+ registry.get <THnSparse>(HIST (" hCorrel2DVsPtGlobalRegion" ))->Sumw2 ();
237239 } else {
238240 registry.add (" hCorrel2DVsPtSignSidebandLeft" , stringLcHadron + " Left" + stringSideband + stringDeltaPhi + stringDeltaEta + stringPtLc + stringPtHadron + stringSign + " entries" , {HistType::kTHnSparseF , {{axisDeltaPhi}, {axisDeltaEta}, {axisPtLc}, {axisPtHadron}, {axisSignPair}, {axisPoolBin}}});
239241 registry.add (" hCorrel2DVsPtSignSidebandRight" , stringLcHadron + " Right" + stringSideband + stringDeltaPhi + stringDeltaEta + stringPtLc + stringPtHadron + stringSign + " entries" , {HistType::kTHnSparseF , {{axisDeltaPhi}, {axisDeltaEta}, {axisPtLc}, {axisPtHadron}, {axisSignPair}, {axisPoolBin}}});
@@ -512,12 +514,13 @@ struct HfTaskCorrelationLcHadrons {
512514 registry.fill (HIST (" hCorrel2DVsPtSignMass" ), deltaPhi, deltaEta, ptLc, ptHadron, massLc, signPair, poolBin, efficiencyWeight);
513515 }
514516 // check if correlation entry belongs to signal region, sidebands or is outside both, and fill correlation plots
517+ registry.fill (HIST (" hCorrel2DVsPtGlobalRegion" ), deltaPhi, deltaEta, ptLc, ptHadron, poolBin, cent, massLc, efficiencyWeight);
515518 if (massLc > signalRegionInner->at (ptBinLc) && massLc < signalRegionOuter->at (ptBinLc)) {
516519 // in signal region
517520 if (fillSign) {
518521 registry.fill (HIST (" hCorrel2DVsPtSignSignalRegion" ), deltaPhi, deltaEta, ptLc, ptHadron, signPair, poolBin, efficiencyWeight);
519522 } else {
520- registry.fill (HIST (" hCorrel2DVsPtSignalRegion" ), deltaPhi, deltaEta, ptLc, ptHadron, poolBin, cent, efficiencyWeight);
523+ registry.fill (HIST (" hCorrel2DVsPtSignalRegion" ), deltaPhi, deltaEta, ptLc, ptHadron, poolBin, cent, massLc, efficiencyWeight);
521524 }
522525 registry.fill (HIST (" hCorrel2DPtIntSignalRegion" ), deltaPhi, deltaEta, efficiencyWeight);
523526 registry.fill (HIST (" hDeltaEtaPtIntSignalRegion" ), deltaEta, efficiencyWeight);
@@ -528,11 +531,11 @@ struct HfTaskCorrelationLcHadrons {
528531 if (fillSign) {
529532 registry.fill (HIST (" hCorrel2DVsPtSignSidebandLeft" ), deltaPhi, deltaEta, ptLc, ptHadron, signPair, poolBin, efficiencyWeight);
530533 } else {
531- registry.fill (HIST (" hCorrel2DVsPtSidebandLeft" ), deltaPhi, deltaEta, ptLc, ptHadron, poolBin, cent, efficiencyWeight);
534+ registry.fill (HIST (" hCorrel2DVsPtSidebandLeft" ), deltaPhi, deltaEta, ptLc, ptHadron, poolBin, cent, massLc, efficiencyWeight);
532535 }
533536 registry.fill (HIST (" hDeltaEtaPtIntSidebandLeft" ), deltaEta, efficiencyWeight);
534537 registry.fill (HIST (" hDeltaPhiPtIntSidebandLeft" ), deltaPhi, efficiencyWeight);
535- registry.fill (HIST (" hCorrel2DVsPtSidebands" ), deltaPhi, deltaEta, ptLc, ptHadron, poolBin, cent, efficiencyWeight);
538+ registry.fill (HIST (" hCorrel2DVsPtSidebands" ), deltaPhi, deltaEta, ptLc, ptHadron, poolBin, cent, massLc, efficiencyWeight);
536539 registry.fill (HIST (" hCorrel2DPtIntSidebands" ), deltaPhi, deltaEta, efficiencyWeight);
537540 registry.fill (HIST (" hDeltaEtaPtIntSidebands" ), deltaEta, efficiencyWeight);
538541 registry.fill (HIST (" hDeltaPhiPtIntSidebands" ), deltaPhi, efficiencyWeight);
@@ -542,11 +545,11 @@ struct HfTaskCorrelationLcHadrons {
542545 if (fillSign) {
543546 registry.fill (HIST (" hCorrel2DVsPtSignSidebandRight" ), deltaPhi, deltaEta, ptLc, ptHadron, signPair, poolBin, efficiencyWeight);
544547 } else {
545- registry.fill (HIST (" hCorrel2DVsPtSidebandRight" ), deltaPhi, deltaEta, ptLc, ptHadron, poolBin, cent, efficiencyWeight);
548+ registry.fill (HIST (" hCorrel2DVsPtSidebandRight" ), deltaPhi, deltaEta, ptLc, ptHadron, poolBin, cent, massLc, efficiencyWeight);
546549 }
547550 registry.fill (HIST (" hDeltaEtaPtIntSidebandRight" ), deltaEta, efficiencyWeight);
548551 registry.fill (HIST (" hDeltaPhiPtIntSidebandRight" ), deltaPhi, efficiencyWeight);
549- registry.fill (HIST (" hCorrel2DVsPtSidebands" ), deltaPhi, deltaEta, ptLc, ptHadron, poolBin, cent, efficiencyWeight);
552+ registry.fill (HIST (" hCorrel2DVsPtSidebands" ), deltaPhi, deltaEta, ptLc, ptHadron, poolBin, cent, massLc, efficiencyWeight);
550553 registry.fill (HIST (" hCorrel2DPtIntSidebands" ), deltaPhi, deltaEta, efficiencyWeight);
551554 registry.fill (HIST (" hDeltaEtaPtIntSidebands" ), deltaEta, efficiencyWeight);
552555 registry.fill (HIST (" hDeltaPhiPtIntSidebands" ), deltaPhi, efficiencyWeight);
0 commit comments