Skip to content

Commit 2efa62c

Browse files
NucleiTask - Fix MEGAlinter error
1 parent cccfd9b commit 2efa62c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

PWGLF/Tasks/Nuspex/LFNucleiBATask.cxx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444
#include <TF1.h>
4545

4646
#include <gsl/span>
47+
#include <memory>
4748
#include <string>
4849

4950
using namespace o2;
@@ -1145,7 +1146,7 @@ struct LFNucleiBATask {
11451146
histos.add<TH2>("tracks/helium/dca/before/hDCAxyVsPtHeliumTrueSec", "DCAxy vs Pt (He); #it{p}_{T} (GeV/#it{c}); DCAxy (cm)", HistType::kTH2F, {{ptZHeAxis}, {dcaxyAxis}});
11461147
histos.add<TH2>("tracks/helium/dca/before/hDCAxyVsPtHeliumTrueMaterial", "DCAxy vs Pt (He); #it{p}_{T} (GeV/#it{c}); DCAxy (cm)", HistType::kTH2F, {{ptZHeAxis}, {dcaxyAxis}});
11471148

1148-
histos.add<TH2>("tracks/helium/dca/before/hMomTrueMaterial", "MC mothers;mother index;mother PDG", HistType::kTH2I, {{kMaxNumMom + 2, -0.5, (double)kMaxNumMom + 1.5}, {kNumMotherlist + 2, -1.5, (double)kNumMotherlist + 0.5}});
1149+
histos.add<TH2>("tracks/helium/dca/before/hMomTrueMaterial", "MC mothers;mother index;mother PDG", HistType::kTH2I, {{kMaxNumMom + 2, -0.5, static_cast<double>(kMaxNumMom) + 1.5}, {kNumMotherlist + 2, -1.5, static_cast<double>(kNumMotherlist) + 0.5}});
11491150

11501151
// Fix for getting TH2 pointer
11511152
std::shared_ptr<TH2> hTemp = histos.get<TH2>(HIST("tracks/helium/dca/before/hMomTrueMaterial"));

0 commit comments

Comments
 (0)