diff --git a/PWGHF/Utils/utilsEvSelHf.h b/PWGHF/Utils/utilsEvSelHf.h index 03399b8c1cf..293d522cc6e 100644 --- a/PWGHF/Utils/utilsEvSelHf.h +++ b/PWGHF/Utils/utilsEvSelHf.h @@ -94,14 +94,14 @@ struct HfEventSelection : o2::framework::ConfigurableGroup { // histogram names static constexpr char nameHistCollisions[] = "hCollisions"; - static constexpr char nameHistCollisionsCent[] = "hCollisionsCent"; + static constexpr char nameHistSelCollisionsCent[] = "hSelCollisionsCent"; static constexpr char nameHistPosZBeforeEvSel[] = "hPosZBeforeEvSel"; static constexpr char nameHistPosZAfterEvSel[] = "hPosZAfterEvSel"; static constexpr char nameHistPosXAfterEvSel[] = "hPosXAfterEvSel"; static constexpr char nameHistPosYAfterEvSel[] = "hPosYAfterEvSel"; static constexpr char nameHistNumPvContributorsAfterSel[] = "hNumPvContributorsAfterSel"; - std::shared_ptr hCollisions, hCollisionsCent, hPosZBeforeEvSel, hPosZAfterEvSel, hPosXAfterEvSel, hPosYAfterEvSel, hNumPvContributorsAfterSel; + std::shared_ptr hCollisions, hSelCollisionsCent, hPosZBeforeEvSel, hPosZAfterEvSel, hPosXAfterEvSel, hPosYAfterEvSel, hNumPvContributorsAfterSel; // util to retrieve trigger mask in case of software triggers Zorro zorro; @@ -112,7 +112,7 @@ struct HfEventSelection : o2::framework::ConfigurableGroup { void addHistograms(o2::framework::HistogramRegistry& registry) { hCollisions = registry.add(nameHistCollisions, "HF event counter;;# of accepted collisions", {o2::framework::HistType::kTH1D, {axisEvents}}); - hCollisionsCent = registry.add(nameHistCollisionsCent, "HF event counter;T0M;# of accepted collisions", {o2::framework::HistType::kTH1D, {{100, 0., 100.}}}); + hSelCollisionsCent = registry.add(nameHistSelCollisionsCent, "HF event counter;T0M;# of accepted collisions", {o2::framework::HistType::kTH1D, {{100, 0., 100.}}}); hPosZBeforeEvSel = registry.add(nameHistPosZBeforeEvSel, "all events;#it{z}_{prim. vtx.} (cm);entries", {o2::framework::HistType::kTH1D, {{400, -20., 20.}}}); hPosZAfterEvSel = registry.add(nameHistPosZAfterEvSel, "selected events;#it{z}_{prim. vtx.} (cm);entries", {o2::framework::HistType::kTH1D, {{400, -20., 20.}}}); hPosXAfterEvSel = registry.add(nameHistPosXAfterEvSel, "selected events;#it{x}_{prim. vtx.} (cm);entries", {o2::framework::HistType::kTH1D, {{200, -0.5, 0.5}}}); @@ -239,7 +239,7 @@ struct HfEventSelection : o2::framework::ConfigurableGroup { hPosYAfterEvSel->Fill(collision.posY()); hPosZAfterEvSel->Fill(posZ); hNumPvContributorsAfterSel->Fill(collision.numContrib()); - hCollisionsCent->Fill(centrality); + hSelCollisionsCent->Fill(centrality); } };