diff --git a/PWGLF/TableProducer/LFStrangeTreeCreator.cxx b/PWGLF/TableProducer/LFStrangeTreeCreator.cxx index e347acf2e9b..b41880571ae 100644 --- a/PWGLF/TableProducer/LFStrangeTreeCreator.cxx +++ b/PWGLF/TableProducer/LFStrangeTreeCreator.cxx @@ -221,12 +221,12 @@ struct LFStrangeTreeCreator { histos.add("zVtx", ";#it{z}_{vtx} (cm);Entries", HistType::kTH1F, {zVtxAxis}); // v0 QA - histos.add("massLambda", ";#it{M}(p + #pi^{-}) (GeV/#it{c}^{2});Entries", {HistType::kTH1F, {massLambdaAxis}}); - histos.add("cosPa", ";cosPa;Entries", {HistType::kTH1F}, {cosPaAxis}); - histos.add("radius", ";radius;Entries", {HistType::kTH1F}, {radiusAxis}); - histos.add("dcaV0daugh", ";dcaV0daugh;Entries", {HistType::kTH1F}, {dcaV0daughAxis}); - histos.add("dcaPosPv", ";dcaPosPv;Entries", {HistType::kTH1F}, {dcaDaughPvAxis}); - histos.add("dcaNegPv", ";dcaNegPv;Entries", {HistType::kTH1F}, {dcaDaughPvAxis}); + histos.add("massLambda", ";#it{M}(p + #pi^{-}) (GeV/#it{c}^{2});Entries", HistType::kTH1F, {massLambdaAxis}); + histos.add("cosPa", ";cosPa;Entries", HistType::kTH1F, {cosPaAxis}); + histos.add("radius", ";radius;Entries", HistType::kTH1F, {radiusAxis}); + histos.add("dcaV0daugh", ";dcaV0daugh;Entries", HistType::kTH1F, {dcaV0daughAxis}); + histos.add("dcaPosPv", ";dcaPosPv;Entries", HistType::kTH1F, {dcaDaughPvAxis}); + histos.add("dcaNegPv", ";dcaNegPv;Entries", HistType::kTH1F, {dcaDaughPvAxis}); } void processData(soa::Join::iterator const& collision, TracksFull const& tracks, aod::V0Datas const& V0s, aod::BCsWithTimestamps const&) diff --git a/PWGLF/Tasks/QC/lfITSTPCMatchingQA.cxx b/PWGLF/Tasks/QC/lfITSTPCMatchingQA.cxx index 0d91e4918b1..1052b73e8f0 100644 --- a/PWGLF/Tasks/QC/lfITSTPCMatchingQA.cxx +++ b/PWGLF/Tasks/QC/lfITSTPCMatchingQA.cxx @@ -141,7 +141,7 @@ struct lfmatchingqa { void init(o2::framework::InitContext&) { histos.add("zVtx", ";#it{z}_{vtx} (cm);Entries", HistType::kTH1F, {zVtxAxis}); - histos.add("tpcSignal", ";#it{p}_{TPC} (GeV/#it{c});TPC signal (a.u.)", {HistType::kTH2F}, {momAxisFine, tpcAxisFine}); + histos.add("tpcSignal", ";#it{p}_{TPC} (GeV/#it{c});TPC signal (a.u.)", HistType::kTH2F, {momAxisFine, tpcAxisFine}); // use a THnSparse for all the information auto thnPi = histos.add("thnPi", ";#it{p}_{TPC} (GeV/#it{c}); #it{p}_{GLO} (GeV/#it{c}); #it{p}_{TPC} - #it{p}_{glo} (GeV/#it{c}); DCA_{xy} (cm); x cos(#lambda); TPC signal (a.u.); n#sigma_{TPC} (pi); PID hypothesis; MC PDG code; MC Gen P (GeV/c)", diff --git a/PWGLF/Utils/rsnOutput.h b/PWGLF/Utils/rsnOutput.h index 140a938944c..e2fd9845bea 100644 --- a/PWGLF/Utils/rsnOutput.h +++ b/PWGLF/Utils/rsnOutput.h @@ -17,8 +17,12 @@ /// /// \author Veronika Barbasova -#ifndef PWGLF_RSNOUTPUT_H_ -#define PWGLF_RSNOUTPUT_H_ +#ifndef PWGLF_UTILS_RSNOUTPUT_H_ +#define PWGLF_UTILS_RSNOUTPUT_H_ + +#include +#include +#include #include "Framework/HistogramRegistry.h" #include "Framework/Logger.h" @@ -100,7 +104,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 @@ -243,4 +247,4 @@ class OutputSparse : public Output } // namespace rsn } // namespace o2::analysis -#endif \ No newline at end of file +#endif // PWGLF_UTILS_RSNOUTPUT_H_