Skip to content

Commit 4d017ab

Browse files
author
Ionut Cristian Arsene
committed
adding a histogram subgroup for the filterPP task
1 parent 8e3ab8e commit 4d017ab

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

PWGDQ/Core/HistogramsLibrary.cxx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -916,6 +916,12 @@ void o2::aod::dqhistograms::DefineHistograms(HistogramManager* hm, const char* h
916916
}
917917

918918
if (!groupStr.CompareTo("pair")) {
919+
if (subGroupStr.Contains("cepf")) {
920+
hm->AddHistogram(histClass, "Mass", "", false, 300, 0.0, 12.0, VarManager::kMass);
921+
hm->AddHistogram(histClass, "Mass_Pt", "", false, 300, 0.0, 12.0, VarManager::kMass, 10, 0.0, 20.0, VarManager::kPt);
922+
hm->AddHistogram(histClass, "Mass_Y", "", false, 300, 0.0, 12.0, VarManager::kMass, 100, -5.0, 5.0, VarManager::kRap);
923+
hm->AddHistogram(histClass, "Y_Pt", "", false, 100, -5.0, 5.0, VarManager::kRap, 20, 0.0, 20.0, VarManager::kPt);
924+
}
919925
if (subGroupStr.Contains("mult_pvcontrib")) {
920926
hm->AddHistogram(histClass, "Mass_VtxNcontribReal", "Mass vs VtxNcontribReal", false, 200, 2.0, 5.0, VarManager::kMass, 200, 0, 200.0, VarManager::kVtxNcontribReal);
921927
}

PWGDQ/Tasks/filterPPwithAssociation.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -717,7 +717,7 @@ struct DQFilterPPTask {
717717
histNames += value;
718718
histNames += ";";
719719
}
720-
DefineHistograms(fHistMan, histNames.Data());
720+
DefineHistograms(fHistMan, histNames.Data(), "cepf");
721721
VarManager::SetUseVars(fHistMan->GetUsedVars());
722722
fOutputList.setObject(fHistMan->GetMainHistogramList());
723723
}

0 commit comments

Comments
 (0)