@@ -81,7 +81,10 @@ struct HfTaskCorrelationDsHadrons {
8181 Configurable<bool > removeCollWSplitVtx{" removeCollWSplitVtx" , false , " Flag for rejecting the splitted collisions" };
8282 Configurable<bool > loadAccXEffFromCCDB{" loadAccXEffFromCCDB" , false , " Flag for loading efficiency distributions from CCDB" };
8383 Configurable<bool > separateTrackOrigins{" separateTrackOrigins" , false , " Flag to enable separation of track origins (from c or b)" };
84- Configurable<bool > useHighDimHistoForEff{" useHighDimHistoForEff" , false , " Flag to create higher dimension histograms in the efficiency processes" };
84+ Configurable<bool > useHighDimHistoForEff{" useHighDimHistoForEff" , false , " Flag to create/use higher dimension histograms in the efficiency processes/correction" };
85+ Configurable<bool > applyDeltaPhiCorrEff{" applyDeltaPhiCorrEff" , false , " Flag to use higher dimension histograms with delta phi correction in the efficiency correction" };
86+ Configurable<bool > doLSpair{" doLSpair" , false , " Flag to evaluate correlations for like-sign pairs" };
87+ Configurable<bool > doULSpair{" doULSpair" , false , " Flag to evaluate correlations for unlike-sign pairs" };
8588 // Configurable<bool> doMcCollisionCheck{"doMcCollisionCheck", false, "Flag for applying the collision check and selection based on MC collision info"};
8689 Configurable<int > selectionFlagDs{" selectionFlagDs" , 7 , " Selection Flag for Ds (avoid the case of flag = 0, no outputMlScore)" };
8790 Configurable<int > nTpcCrossedRaws{" nTpcCrossedRaws" , 70 , " Number of crossed TPC Rows" };
@@ -123,6 +126,10 @@ struct HfTaskCorrelationDsHadrons {
123126
124127 std::shared_ptr<TH1> hEfficiencyD = nullptr ;
125128 std::shared_ptr<TH1> hEfficiencyAssociated = nullptr ;
129+ std::shared_ptr<TH2> hEfficiencyDMult = nullptr ;
130+ std::shared_ptr<TH2> hEfficiencyAssociatedMult = nullptr ;
131+ std::shared_ptr<TH3> hEfficiencyAssociatedDeltaPhiCorr = nullptr ;
132+
126133 const float epsilon = 1 .e-8 ;
127134
128135 HfHelper hfHelper;
@@ -285,17 +292,39 @@ struct HfTaskCorrelationDsHadrons {
285292 ccdb->setLocalObjectValidityChecking ();
286293 ccdb->setCreatedNotAfter (std::chrono::duration_cast<std::chrono::milliseconds>(std::chrono::system_clock::now ().time_since_epoch ()).count ());
287294
288- hEfficiencyD = std::shared_ptr<TH1>(ccdb->getForTimeStamp <TH1F>(promptEffCcdbPath, timestampCcdb));
289- if (hEfficiencyD == nullptr ) {
290- LOGF (fatal, " Could not load efficiency histogram for trigger particles from %s" , promptEffCcdbPath.value .c_str ());
291- }
292- LOGF (info, " Loaded trigger efficiency (prompt D) histogram from %s" , promptEffCcdbPath.value .c_str ());
295+ if (useHighDimHistoForEff) {
296+ hEfficiencyDMult = std::shared_ptr<TH2>(ccdb->getForTimeStamp <TH2F>(promptEffCcdbPath, timestampCcdb));
297+ if (hEfficiencyDMult == nullptr ) {
298+ LOGF (fatal, " Could not load efficiency histogram for trigger particles from %s" , promptEffCcdbPath.value .c_str ());
299+ }
300+ LOGF (info, " Loaded trigger efficiency (prompt D) histogram from %s" , promptEffCcdbPath.value .c_str ());
301+
302+ if (applyDeltaPhiCorrEff) {
303+ hEfficiencyAssociatedDeltaPhiCorr = std::shared_ptr<TH3>(ccdb->getForTimeStamp <TH3F>(associatedEffCcdbPath, timestampCcdb));
304+ if (hEfficiencyAssociatedDeltaPhiCorr == nullptr ) {
305+ LOGF (fatal, " Could not load efficiency histogram for associated particles from %s" , associatedEffCcdbPath.value .c_str ());
306+ }
307+ LOGF (info, " Loaded associated efficiency histogram from %s" , associatedEffCcdbPath.value .c_str ());
308+ } else {
309+ hEfficiencyAssociatedMult = std::shared_ptr<TH2>(ccdb->getForTimeStamp <TH2F>(associatedEffCcdbPath, timestampCcdb));
310+ if (hEfficiencyAssociatedMult == nullptr ) {
311+ LOGF (fatal, " Could not load efficiency histogram for associated particles from %s" , associatedEffCcdbPath.value .c_str ());
312+ }
313+ LOGF (info, " Loaded associated efficiency histogram from %s" , associatedEffCcdbPath.value .c_str ());
314+ }
315+ } else {
316+ hEfficiencyD = std::shared_ptr<TH1>(ccdb->getForTimeStamp <TH1F>(promptEffCcdbPath, timestampCcdb));
317+ if (hEfficiencyD == nullptr ) {
318+ LOGF (fatal, " Could not load efficiency histogram for trigger particles from %s" , promptEffCcdbPath.value .c_str ());
319+ }
320+ LOGF (info, " Loaded trigger efficiency (prompt D) histogram from %s" , promptEffCcdbPath.value .c_str ());
293321
294- hEfficiencyAssociated = std::shared_ptr<TH1>(ccdb->getForTimeStamp <TH1F>(associatedEffCcdbPath, timestampCcdb));
295- if (hEfficiencyAssociated == nullptr ) {
296- LOGF (fatal, " Could not load efficiency histogram for associated particles from %s" , associatedEffCcdbPath.value .c_str ());
322+ hEfficiencyAssociated = std::shared_ptr<TH1>(ccdb->getForTimeStamp <TH1F>(associatedEffCcdbPath, timestampCcdb));
323+ if (hEfficiencyAssociated == nullptr ) {
324+ LOGF (fatal, " Could not load efficiency histogram for associated particles from %s" , associatedEffCcdbPath.value .c_str ());
325+ }
326+ LOGF (info, " Loaded associated efficiency histogram from %s" , associatedEffCcdbPath.value .c_str ());
297327 }
298- LOGF (info, " Loaded associated efficiency histogram from %s" , associatedEffCcdbPath.value .c_str ());
299328 }
300329 }
301330
@@ -321,10 +350,17 @@ struct HfTaskCorrelationDsHadrons {
321350 switch (mode) {
322351 case EfficiencyMode::DsOnly:
323352 if (loadAccXEffFromCCDB) {
324- if (hEfficiencyD->GetBinContent (hEfficiencyD->FindBin (ptD)) <= epsilon) {
325- LOG (fatal) << " A bin content in Ds-meson efficiency histogram is zero!" ;
353+ if (useHighDimHistoForEff) {
354+ if (hEfficiencyDMult->GetBinContent (hEfficiencyDMult->FindBin (ptD, multPvContrib)) <= epsilon) {
355+ LOG (fatal) << " A bin content in Ds-meson efficiency histogram is zero!" ;
356+ }
357+ weight = 1 . / hEfficiencyDMult->GetBinContent (hEfficiencyDMult->FindBin (ptD, multPvContrib));
358+ } else {
359+ if (hEfficiencyD->GetBinContent (hEfficiencyD->FindBin (ptD)) <= epsilon) {
360+ LOG (fatal) << " A bin content in Ds-meson efficiency histogram is zero!" ;
361+ }
362+ weight = 1 . / hEfficiencyD->GetBinContent (hEfficiencyD->FindBin (ptD));
326363 }
327- weight = 1 . / hEfficiencyD->GetBinContent (hEfficiencyD->FindBin (ptD));
328364 } else {
329365 if (efficiencyD->at (o2::analysis::findBin (binsPtEfficiencyD, ptD)) <= epsilon) {
330366 LOG (fatal) << " A bin content in Ds-meson efficiency vector is zero!" ;
@@ -335,10 +371,24 @@ struct HfTaskCorrelationDsHadrons {
335371 case EfficiencyMode::DsHadronPair:
336372 if (loadAccXEffFromCCDB) {
337373 if (ptAssoc && hEfficiencyAssociated) {
338- if (hEfficiencyAssociated->GetBinContent (hEfficiencyAssociated->FindBin (*ptAssoc)) <= epsilon) {
339- LOG (fatal) << " A bin content in associated particle efficiency histogram is zero!" ;
374+ if (useHighDimHistoForEff) {
375+ if (applyDeltaPhiCorrEff) {
376+ if (hEfficiencyAssociatedDeltaPhiCorr->GetBinContent (hEfficiencyAssociatedDeltaPhiCorr->FindBin (*ptAssoc, ptD, deltaPhi)) <= epsilon) {
377+ LOG (fatal) << " A bin content in associated particle efficiency histogram is zero!" ;
378+ }
379+ weight = 1 . / (hEfficiencyDMult->GetBinContent (hEfficiencyDMult->FindBin (ptD, multPvContrib)) * hEfficiencyAssociatedDeltaPhiCorr->GetBinContent (hEfficiencyAssociatedDeltaPhiCorr->FindBin (*ptAssoc, ptD, deltaPhi)));
380+ } else {
381+ if (hEfficiencyAssociatedMult->GetBinContent (hEfficiencyAssociatedMult->FindBin (*ptAssoc, multPvContrib)) <= epsilon) {
382+ LOG (fatal) << " A bin content in associated particle efficiency histogram is zero!" ;
383+ }
384+ weight = 1 . / (hEfficiencyDMult->GetBinContent (hEfficiencyD->FindBin (ptD, multPvContrib)) * hEfficiencyAssociatedMult->GetBinContent (hEfficiencyAssociatedMult->FindBin (*ptAssoc, multPvContrib)));
385+ }
386+ } else {
387+ if (hEfficiencyAssociated->GetBinContent (hEfficiencyAssociated->FindBin (*ptAssoc)) <= epsilon) {
388+ LOG (fatal) << " A bin content in associated particle efficiency histogram is zero!" ;
389+ }
390+ weight = 1 . / (hEfficiencyD->GetBinContent (hEfficiencyD->FindBin (ptD)) * hEfficiencyAssociated->GetBinContent (hEfficiencyAssociated->FindBin (*ptAssoc)));
340391 }
341- weight = 1 . / (hEfficiencyD->GetBinContent (hEfficiencyD->FindBin (ptD)) * hEfficiencyAssociated->GetBinContent (hEfficiencyAssociated->FindBin (*ptAssoc)));
342392 }
343393 } else {
344394 if (ptAssoc) {
@@ -365,13 +415,13 @@ struct HfTaskCorrelationDsHadrons {
365415 float ptD = candidate.ptD ();
366416 float bdtScorePrompt = candidate.mlScorePrompt ();
367417 float bdtScoreBkg = candidate.mlScoreBkg ();
368- int ptBinD = o2::analysis::findBin (binsPtD, ptD);
418+ int ptBinD = o2::analysis::findBin (binsPtD, std::abs ( ptD) );
369419
370420 if (!isSelectedCandidate (ptBinD, bdtScorePrompt, bdtScoreBkg)) {
371421 continue ;
372422 }
373423
374- double efficiencyWeightD = getEfficiencyWeight (ptD);
424+ double efficiencyWeightD = getEfficiencyWeight (std::abs ( ptD) );
375425
376426 registry.fill (HIST (" hMassDsVsPt" ), massD, ptD, efficiencyWeightD);
377427 registry.fill (HIST (" hBdtScorePrompt" ), bdtScorePrompt);
@@ -605,27 +655,123 @@ struct HfTaskCorrelationDsHadrons {
605655 float ptHadron = pairEntry.ptHadron ();
606656 float massD = pairEntry.mD ();
607657 int poolBin = pairEntry.poolBin ();
608- int ptBinD = o2::analysis::findBin (binsPtD, ptD);
658+ int ptBinD = o2::analysis::findBin (binsPtD, std::abs ( ptD) );
609659
610- double efficiencyWeight = getEfficiencyWeight (ptD, ptHadron, EfficiencyMode::DsHadronPair);
660+ double efficiencyWeight = getEfficiencyWeight (std::abs ( ptD), std::abs ( ptHadron) , EfficiencyMode::DsHadronPair);
611661
612662 // in signal region
613663 if (massD > signalRegionInner->at (ptBinD) && massD < signalRegionOuter->at (ptBinD)) {
614- registry.fill (HIST (" hCorrel2DVsPtSignalRegion" ), deltaPhi, deltaEta, ptD, ptHadron, poolBin, efficiencyWeight);
615- registry.fill (HIST (" hDeltaEtaPtIntSignalRegion" ), deltaEta, efficiencyWeight);
616- registry.fill (HIST (" hDeltaPhiPtIntSignalRegion" ), deltaPhi, efficiencyWeight);
664+ if (doLSpair && ((ptD > 0 . && ptHadron > 0 .) || (ptD < 0 . && ptHadron < 0 .))) { // like-sign pairs
665+ registry.fill (HIST (" hCorrel2DVsPtSignalRegion" ), deltaPhi, deltaEta, std::abs (ptD), std::abs (ptHadron), poolBin, efficiencyWeight);
666+ registry.fill (HIST (" hDeltaEtaPtIntSignalRegion" ), deltaEta, efficiencyWeight);
667+ registry.fill (HIST (" hDeltaPhiPtIntSignalRegion" ), deltaPhi, efficiencyWeight);
668+ } else if (doULSpair && ((ptD > 0 . && ptHadron < 0 .) || (ptD < 0 . && ptHadron > 0 .))) { // unlike-sign pairs
669+ registry.fill (HIST (" hCorrel2DVsPtSignalRegion" ), deltaPhi, deltaEta, std::abs (ptD), std::abs (ptHadron), poolBin, efficiencyWeight);
670+ registry.fill (HIST (" hDeltaEtaPtIntSignalRegion" ), deltaEta, efficiencyWeight);
671+ registry.fill (HIST (" hDeltaPhiPtIntSignalRegion" ), deltaPhi, efficiencyWeight);
672+ } else { // default case
673+ registry.fill (HIST (" hCorrel2DVsPtSignalRegion" ), deltaPhi, deltaEta, std::abs (ptD), std::abs (ptHadron), poolBin, efficiencyWeight);
674+ registry.fill (HIST (" hDeltaEtaPtIntSignalRegion" ), deltaEta, efficiencyWeight);
675+ registry.fill (HIST (" hDeltaPhiPtIntSignalRegion" ), deltaPhi, efficiencyWeight);
676+ }
617677 }
618678 // in sideband left region
619679 if (massD > sidebandLeftOuter->at (ptBinD) && massD < sidebandLeftInner->at (ptBinD)) {
620- registry.fill (HIST (" hCorrel2DVsPtSidebandLeft" ), deltaPhi, deltaEta, ptD, ptHadron, poolBin, efficiencyWeight);
621- registry.fill (HIST (" hDeltaEtaPtIntSidebandLeft" ), deltaEta, efficiencyWeight);
622- registry.fill (HIST (" hDeltaPhiPtIntSidebandLeft" ), deltaPhi, efficiencyWeight);
680+ if (doLSpair && ((ptD > 0 . && ptHadron > 0 .) || (ptD < 0 . && ptHadron < 0 .))) { // like-sign pairs
681+ registry.fill (HIST (" hCorrel2DVsPtSidebandLeft" ), deltaPhi, deltaEta, std::abs (ptD), std::abs (ptHadron), poolBin, efficiencyWeight);
682+ registry.fill (HIST (" hDeltaEtaPtIntSidebandLeft" ), deltaEta, efficiencyWeight);
683+ registry.fill (HIST (" hDeltaPhiPtIntSidebandLeft" ), deltaPhi, efficiencyWeight);
684+ } else if (doULSpair && ((ptD > 0 . && ptHadron < 0 .) || (ptD < 0 . && ptHadron > 0 .))) { // unlike-sign pairs
685+ registry.fill (HIST (" hCorrel2DVsPtSidebandLeft" ), deltaPhi, deltaEta, std::abs (ptD), std::abs (ptHadron), poolBin, efficiencyWeight);
686+ registry.fill (HIST (" hDeltaEtaPtIntSidebandLeft" ), deltaEta, efficiencyWeight);
687+ registry.fill (HIST (" hDeltaPhiPtIntSidebandLeft" ), deltaPhi, efficiencyWeight);
688+ } else { // default case
689+ registry.fill (HIST (" hCorrel2DVsPtSidebandLeft" ), deltaPhi, deltaEta, std::abs (ptD), std::abs (ptHadron), poolBin, efficiencyWeight);
690+ registry.fill (HIST (" hDeltaEtaPtIntSidebandLeft" ), deltaEta, efficiencyWeight);
691+ registry.fill (HIST (" hDeltaPhiPtIntSidebandLeft" ), deltaPhi, efficiencyWeight);
692+ }
623693 }
624694 // in sideband right region
625695 if (massD > sidebandRightInner->at (ptBinD) && massD < sidebandRightOuter->at (ptBinD)) {
626- registry.fill (HIST (" hCorrel2DVsPtSidebandRight" ), deltaPhi, deltaEta, ptD, ptHadron, poolBin, efficiencyWeight);
627- registry.fill (HIST (" hDeltaEtaPtIntSidebandRight" ), deltaEta, efficiencyWeight);
628- registry.fill (HIST (" hDeltaPhiPtIntSidebandRight" ), deltaPhi, efficiencyWeight);
696+ if (doLSpair && ((ptD > 0 . && ptHadron > 0 .) || (ptD < 0 . && ptHadron < 0 .))) { // like-sign pairs
697+ registry.fill (HIST (" hCorrel2DVsPtSidebandRight" ), deltaPhi, deltaEta, std::abs (ptD), std::abs (ptHadron), poolBin, efficiencyWeight);
698+ registry.fill (HIST (" hDeltaEtaPtIntSidebandRight" ), deltaEta, efficiencyWeight);
699+ registry.fill (HIST (" hDeltaPhiPtIntSidebandRight" ), deltaPhi, efficiencyWeight);
700+ } else if (doULSpair && ((ptD > 0 . && ptHadron < 0 .) || (ptD < 0 . && ptHadron > 0 .))) { // unlike-sign pairs
701+ registry.fill (HIST (" hCorrel2DVsPtSidebandRight" ), deltaPhi, deltaEta, std::abs (ptD), std::abs (ptHadron), poolBin, efficiencyWeight);
702+ registry.fill (HIST (" hDeltaEtaPtIntSidebandRight" ), deltaEta, efficiencyWeight);
703+ registry.fill (HIST (" hDeltaPhiPtIntSidebandRight" ), deltaPhi, efficiencyWeight);
704+ } else { // default case
705+ registry.fill (HIST (" hCorrel2DVsPtSidebandRight" ), deltaPhi, deltaEta, std::abs (ptD), std::abs (ptHadron), poolBin, efficiencyWeight);
706+ registry.fill (HIST (" hDeltaEtaPtIntSidebandRight" ), deltaEta, efficiencyWeight);
707+ registry.fill (HIST (" hDeltaPhiPtIntSidebandRight" ), deltaPhi, efficiencyWeight);
708+ }
709+ }
710+ }
711+ }
712+ PROCESS_SWITCH (HfTaskCorrelationDsHadrons, processDataME, " Process data ME" , false );
713+
714+ void processDerivedDataME (DsHadronPair const & pairEntries)
715+ {
716+ for (const auto & pairEntry : pairEntries) {
717+ // define variables for widely used quantities
718+ float deltaPhi = pairEntry.deltaPhi ();
719+ float deltaEta = pairEntry.deltaEta ();
720+ float ptD = pairEntry.ptD ();
721+ float ptHadron = pairEntry.ptHadron ();
722+ float massD = pairEntry.mD ();
723+ int poolBin = pairEntry.poolBin ();
724+ int ptBinD = o2::analysis::findBin (binsPtD, std::abs (ptD));
725+
726+ double efficiencyWeight = getEfficiencyWeight (std::abs (ptD), std::abs (ptHadron), EfficiencyMode::DsHadronPair);
727+
728+ // in signal region
729+ if (massD > signalRegionInner->at (ptBinD) && massD < signalRegionOuter->at (ptBinD)) {
730+ if (doLSpair && ((ptD > 0 . && ptHadron > 0 .) || (ptD < 0 . && ptHadron < 0 .))) { // like-sign pairs
731+ registry.fill (HIST (" hCorrel2DVsPtSignalRegion" ), deltaPhi, deltaEta, std::abs (ptD), std::abs (ptHadron), poolBin, efficiencyWeight);
732+ registry.fill (HIST (" hDeltaEtaPtIntSignalRegion" ), deltaEta, efficiencyWeight);
733+ registry.fill (HIST (" hDeltaPhiPtIntSignalRegion" ), deltaPhi, efficiencyWeight);
734+ } else if (doULSpair && ((ptD > 0 . && ptHadron < 0 .) || (ptD < 0 . && ptHadron > 0 .))) { // unlike-sign pairs
735+ registry.fill (HIST (" hCorrel2DVsPtSignalRegion" ), deltaPhi, deltaEta, std::abs (ptD), std::abs (ptHadron), poolBin, efficiencyWeight);
736+ registry.fill (HIST (" hDeltaEtaPtIntSignalRegion" ), deltaEta, efficiencyWeight);
737+ registry.fill (HIST (" hDeltaPhiPtIntSignalRegion" ), deltaPhi, efficiencyWeight);
738+ } else { // default case
739+ registry.fill (HIST (" hCorrel2DVsPtSignalRegion" ), deltaPhi, deltaEta, std::abs (ptD), std::abs (ptHadron), poolBin, efficiencyWeight);
740+ registry.fill (HIST (" hDeltaEtaPtIntSignalRegion" ), deltaEta, efficiencyWeight);
741+ registry.fill (HIST (" hDeltaPhiPtIntSignalRegion" ), deltaPhi, efficiencyWeight);
742+ }
743+ }
744+ // in sideband left region
745+ if (massD > sidebandLeftOuter->at (ptBinD) && massD < sidebandLeftInner->at (ptBinD)) {
746+ if (doLSpair && ((ptD > 0 . && ptHadron > 0 .) || (ptD < 0 . && ptHadron < 0 .))) { // like-sign pairs
747+ registry.fill (HIST (" hCorrel2DVsPtSidebandLeft" ), deltaPhi, deltaEta, std::abs (ptD), std::abs (ptHadron), poolBin, efficiencyWeight);
748+ registry.fill (HIST (" hDeltaEtaPtIntSidebandLeft" ), deltaEta, efficiencyWeight);
749+ registry.fill (HIST (" hDeltaPhiPtIntSidebandLeft" ), deltaPhi, efficiencyWeight);
750+ } else if (doULSpair && ((ptD > 0 . && ptHadron < 0 .) || (ptD < 0 . && ptHadron > 0 .))) { // unlike-sign pairs
751+ registry.fill (HIST (" hCorrel2DVsPtSidebandLeft" ), deltaPhi, deltaEta, std::abs (ptD), std::abs (ptHadron), poolBin, efficiencyWeight);
752+ registry.fill (HIST (" hDeltaEtaPtIntSidebandLeft" ), deltaEta, efficiencyWeight);
753+ registry.fill (HIST (" hDeltaPhiPtIntSidebandLeft" ), deltaPhi, efficiencyWeight);
754+ } else { // default case
755+ registry.fill (HIST (" hCorrel2DVsPtSidebandLeft" ), deltaPhi, deltaEta, std::abs (ptD), std::abs (ptHadron), poolBin, efficiencyWeight);
756+ registry.fill (HIST (" hDeltaEtaPtIntSidebandLeft" ), deltaEta, efficiencyWeight);
757+ registry.fill (HIST (" hDeltaPhiPtIntSidebandLeft" ), deltaPhi, efficiencyWeight);
758+ }
759+ }
760+ // in sideband right region
761+ if (massD > sidebandRightInner->at (ptBinD) && massD < sidebandRightOuter->at (ptBinD)) {
762+ if (doLSpair && ((ptD > 0 . && ptHadron > 0 .) || (ptD < 0 . && ptHadron < 0 .))) { // like-sign pairs
763+ registry.fill (HIST (" hCorrel2DVsPtSidebandRight" ), deltaPhi, deltaEta, std::abs (ptD), std::abs (ptHadron), poolBin, efficiencyWeight);
764+ registry.fill (HIST (" hDeltaEtaPtIntSidebandRight" ), deltaEta, efficiencyWeight);
765+ registry.fill (HIST (" hDeltaPhiPtIntSidebandRight" ), deltaPhi, efficiencyWeight);
766+ } else if (doULSpair && ((ptD > 0 . && ptHadron < 0 .) || (ptD < 0 . && ptHadron > 0 .))) { // unlike-sign pairs
767+ registry.fill (HIST (" hCorrel2DVsPtSidebandRight" ), deltaPhi, deltaEta, std::abs (ptD), std::abs (ptHadron), poolBin, efficiencyWeight);
768+ registry.fill (HIST (" hDeltaEtaPtIntSidebandRight" ), deltaEta, efficiencyWeight);
769+ registry.fill (HIST (" hDeltaPhiPtIntSidebandRight" ), deltaPhi, efficiencyWeight);
770+ } else { // default case
771+ registry.fill (HIST (" hCorrel2DVsPtSidebandRight" ), deltaPhi, deltaEta, std::abs (ptD), std::abs (ptHadron), poolBin, efficiencyWeight);
772+ registry.fill (HIST (" hDeltaEtaPtIntSidebandRight" ), deltaEta, efficiencyWeight);
773+ registry.fill (HIST (" hDeltaPhiPtIntSidebandRight" ), deltaPhi, efficiencyWeight);
774+ }
629775 }
630776 }
631777 }
0 commit comments