1111
1212// / \file taskCorrelationDplusHadrons.cxx
1313// / \author Shyam Kumar <shyam.kumar@cern.ch>
14-
14+ #include < memory> // std::shared_ptr
15+ #include < string>
16+ #include < vector>
1517#include " CCDB/BasicCCDBManager.h"
1618#include " Framework/AnalysisTask.h"
1719#include " Framework/HistogramRegistry.h"
@@ -162,6 +164,7 @@ struct HfTaskCorrelationDplusHadrons {
162164 registry.add (" hBdtScorePrompt" , " D+ BDT prompt score" , {HistType::kTH1F , {axisBdtScore}});
163165 registry.add (" hBdtScoreBkg" , " D+ BDT bkg score" , {HistType::kTH1F , {axisBdtScore}});
164166 registry.add (" hMassDplusVsPt" , " D+ candidates massVsPt" , {HistType::kTH2F , {{axisMassD}, {axisPtD}}});
167+ registry.add (" hMassDplusVsPtWoEff" , " D+ candidates massVsPt without efficiency" , {HistType::kTH2F , {{axisMassD}, {axisPtD}}});
165168 if (fillHistoData) {
166169 registry.add (" hDeltaEtaPtIntSignalRegion" , stringDHadron + stringSignal + stringDeltaEta + " entries" , {HistType::kTH1F , {axisDeltaEta}});
167170 registry.add (" hDeltaPhiPtIntSignalRegion" , stringDHadron + stringSignal + stringDeltaPhi + " entries" , {HistType::kTH1F , {axisDeltaPhi}});
@@ -313,6 +316,7 @@ struct HfTaskCorrelationDplusHadrons {
313316 }
314317 }
315318 registry.fill (HIST (" hMassDplusVsPt" ), massD, ptD, efficiencyWeightD);
319+ registry.fill (HIST (" hMassDplusVsPtWoEff" ), massD, ptD);
316320 registry.fill (HIST (" hBdtScorePrompt" ), bdtScorePrompt);
317321 registry.fill (HIST (" hBdtScoreBkg" ), bdtScoreBkg);
318322 }
@@ -410,6 +414,7 @@ struct HfTaskCorrelationDplusHadrons {
410414 efficiencyWeightD = 1 . / mEfficiencyPrompt ->GetBinContent (mEfficiencyPrompt ->FindBin (ptD));
411415 }
412416 registry.fill (HIST (" hMassDplusVsPt" ), massD, ptD, efficiencyWeightD);
417+ registry.fill (HIST (" hMassDplusVsPtWoEff" ), massD, ptD);
413418 registry.fill (HIST (" hMassPromptDplusVsPt" ), massD, ptD, efficiencyWeightD);
414419 registry.fill (HIST (" hBdtScorePrompt" ), bdtScorePrompt);
415420 registry.fill (HIST (" hBdtScoreBkg" ), bdtScoreBkg);
@@ -419,6 +424,7 @@ struct HfTaskCorrelationDplusHadrons {
419424 efficiencyWeightD = 1 . / mEfficiencyFD ->GetBinContent (mEfficiencyFD ->FindBin (ptD));
420425 }
421426 registry.fill (HIST (" hMassDplusVsPt" ), massD, ptD, efficiencyWeightD);
427+ registry.fill (HIST (" hMassDplusVsPtWoEff" ), massD, ptD);
422428 registry.fill (HIST (" hMassNonPromptDplusVsPt" ), massD, ptD, efficiencyWeightD);
423429 registry.fill (HIST (" hBdtScorePrompt" ), bdtScorePrompt);
424430 registry.fill (HIST (" hBdtScoreBkg" ), bdtScoreBkg);
0 commit comments