Skip to content

Commit 3fa9a86

Browse files
authored
Fix Megalinter error
1 parent bbe6cea commit 3fa9a86

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

PWGLF/Tasks/GlobalEventProperties/studyPnch.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,8 +171,8 @@ struct StudyPnch {
171171
}
172172
if (doprocessEvtLossSigLossMC) {
173173
histos.add("MCEventHist", "MCEventHist", kTH1F, {axisEvent}, false);
174-
auto hstat = histos.get<TH1>(HIST("MCEventHist"));
175-
auto* x = hstat->GetXaxis();
174+
auto hstatevloss = histos.get<TH1>(HIST("MCEventHist"));
175+
auto* x = hstatevloss->GetXaxis();
176176
x->SetBinLabel(1, "All MC events");
177177
x->SetBinLabel(2, "MC events with atleast one reco event");
178178
histos.add("hMultiplicityMCgenAll", "hMultiplicityMCgenAll", kTH1F, {axisMult}, true);

0 commit comments

Comments
 (0)