From 00a79846af0cd84d3520a7cd38622c4e30bfcfd0 Mon Sep 17 00:00:00 2001 From: ALICE Action Bot Date: Fri, 2 Oct 2026 16:46:06 +0000 Subject: [PATCH] Please consider the following formatting changes --- PWGEM/PhotonMeson/Utils/NMHistograms.h | 26 ++++++++++++-------------- 1 file changed, 12 insertions(+), 14 deletions(-) diff --git a/PWGEM/PhotonMeson/Utils/NMHistograms.h b/PWGEM/PhotonMeson/Utils/NMHistograms.h index 855479a8045..7dd25530f11 100644 --- a/PWGEM/PhotonMeson/Utils/NMHistograms.h +++ b/PWGEM/PhotonMeson/Utils/NMHistograms.h @@ -18,8 +18,8 @@ #include "PWGEM/PhotonMeson/Utils/MCUtilities.h" -#include #include +#include #include #include #include @@ -34,12 +34,12 @@ namespace o2::aod::pwgem::photonmeson::utils::nmhistogram { using namespace o2::constants::math; -inline void addNMHistograms(o2::framework::HistogramRegistry* fRegistry, bool isMC, - bool sparseFullAxes = false, - std::vector const& occBins = {0, 500, 1000, 2000, 3000, 5000, 10000}, - std::vector const& epBins = {-PIHalf, -PIQuarter, 0, PIQuarter, PIHalf}, - std::vector const& vtxBins = {-10, -8, -6, -4, -2, 0, 2, 4, 6, 8, 10}, - const char* pairname = "#gamma#gamma") +inline void addNMHistograms(o2::framework::HistogramRegistry* fRegistry, bool isMC, + bool sparseFullAxes = false, + std::vector const& occBins = {0, 500, 1000, 2000, 3000, 5000, 10000}, + std::vector const& epBins = {-PIHalf, -PIQuarter, 0, PIQuarter, PIHalf}, + std::vector const& vtxBins = {-10, -8, -6, -4, -2, 0, 2, 4, 6, 8, 10}, + const char* pairname = "#gamma#gamma") { // !!Don't change pt,eta,y binning. These binnings have to be consistent with binned data at skimming.!! std::vector ptbins; @@ -59,7 +59,7 @@ inline void addNMHistograms(o2::framework::HistogramRegistry* fRegistry, bool is const o2::framework::AxisSpec axis_pt{ptbins, Form("p_{T,%s} (GeV/c)", pairname)}; const o2::framework::AxisSpec axis_mass{400, 0, 0.8, Form("m_{%s} (GeV/c^{2})", pairname)}; const o2::framework::AxisSpec axis_occ{occBins, "occupancy"}; - const o2::framework::AxisSpec axis_ep {epBins, "#Psi_{2} (rad)"}; + const o2::framework::AxisSpec axis_ep{epBins, "#Psi_{2} (rad)"}; const o2::framework::AxisSpec axis_vtx{vtxBins, "Z_{vtx} (cm)"}; if (isMC) { @@ -86,17 +86,15 @@ inline void addNMHistograms(o2::framework::HistogramRegistry* fRegistry, bool is } else { if (sparseFullAxes) { fRegistry->add("Pair/same/hs", "diphoton", - o2::framework::HistType::kTHnSparseD, - {axis_mass, axis_pt, axis_ep, axis_occ, axis_vtx}, true); + o2::framework::HistType::kTHnSparseD, + {axis_mass, axis_pt, axis_ep, axis_occ, axis_vtx}, true); } else { fRegistry->add("Pair/same/hs", "diphoton", - o2::framework::HistType::kTHnSparseD, - {axis_mass, axis_pt}, true); + o2::framework::HistType::kTHnSparseD, + {axis_mass, axis_pt}, true); } fRegistry->addClone("Pair/same/", "Pair/mix/"); } - - } template