Skip to content

Commit 76dff96

Browse files
authored
Fix Megalinter error
1 parent 3fa9a86 commit 76dff96

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

PWGLF/Tasks/GlobalEventProperties/studyPnch.cxx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -172,9 +172,9 @@ struct StudyPnch {
172172
if (doprocessEvtLossSigLossMC) {
173173
histos.add("MCEventHist", "MCEventHist", kTH1F, {axisEvent}, false);
174174
auto hstatevloss = histos.get<TH1>(HIST("MCEventHist"));
175-
auto* x = hstatevloss->GetXaxis();
176-
x->SetBinLabel(1, "All MC events");
177-
x->SetBinLabel(2, "MC events with atleast one reco event");
175+
auto* xevloss = hstatevloss->Getevlossaxis();
176+
xevloss->SetBinLabel(1, "All MC events");
177+
xevloss->SetBinLabel(2, "MC events with atleast one reco event");
178178
histos.add("hMultiplicityMCgenAll", "hMultiplicityMCgenAll", kTH1F, {axisMult}, true);
179179
histos.add("hMultiplicityMCgenSel", "hMultiplicityMCgenSel", kTH1F, {axisMult}, true);
180180
}

0 commit comments

Comments
 (0)