diff --git a/PWGLF/Utils/rsnOutput.h b/PWGLF/Utils/rsnOutput.h index a0ed0bd4eda..d1e025d4a04 100644 --- a/PWGLF/Utils/rsnOutput.h +++ b/PWGLF/Utils/rsnOutput.h @@ -75,7 +75,7 @@ class Output public: virtual ~Output() = default; - virtual void init(std::vector const& sparseAxes, std::vector const& allAxes, bool /*produceTrue*/ = false, bool /*eventMixing*/ = false, bool /*produceLikesign*/ = false, HistogramRegistry* registry = nullptr) + virtual void init(std::vector const& sparseAxes, std::vector const& allAxes, bool produceTrue = false, bool eventMixing = false, bool produceLikesign = false, HistogramRegistry* registry = nullptr) { mHistogramRegistry = registry; if (mHistogramRegistry == nullptr) @@ -107,7 +107,7 @@ class Output mFillPoint = new double[mCurrentAxisTypes.size()]; LOGF(info, "Number of axis added: %d", mCurrentAxes.size()); - mPairHisto = new HistogramConfigSpec({HistType::kTHnSparseF}, mCurrentAxes); + mPairHisto = new HistogramConfigSpec(HistType::kTHnSparseF, mCurrentAxes); }; template @@ -120,15 +120,15 @@ class Output mHistogramRegistry->get(h)->Fill(mFillPoint); } - virtual void fill(EventType /*t*/, double* /*point*/) + virtual void fill(EventType t, double* point) { LOGF(warning, "Abstract method : 'virtual void rsn::Output::fill(EventType t, double* point)' !!! Please implement it first."); }; - virtual void fill(TrackType /*t*/, double* /*point*/) + virtual void fill(TrackType t, double* point) { LOGF(warning, "Abstract method : 'virtual void rsn::Output::fill(TrackType t, double* point)' !!! Please implement it first."); }; - virtual void fill(PairType /*t*/, double* /*point*/) + virtual void fill(PairType t, double* point) { LOGF(warning, "Abstract method : 'virtual void rsn::Output::fill(PairType t, double* point)' !!! Please implement it first."); };