Skip to content

Commit f0d7e53

Browse files
authored
fixed megalinter issue
1 parent cf13382 commit f0d7e53

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

PWGLF/Tasks/Resonances/lambda1520analysisinpp.cxx

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -256,16 +256,15 @@ struct Lambda1520analysisinpp {
256256
AxisSpec idxMCAxis = {26, -0.5f, 25.5f, "Index"};
257257

258258
histos.add("CollCutCounts", "No. of event after cuts", kTH1I, {{10, 0, 10}});
259-
std::shared_ptr<TH1> hCutFlow = histos.get<TH1>(HIST("CollCutCounts"));
260-
hCutFlow->GetXaxis()->SetBinLabel(1, "All Events");
261-
hCutFlow->GetXaxis()->SetBinLabel(2, "|Vz| < cut");
262-
hCutFlow->GetXaxis()->SetBinLabel(3, "kIsTriggerTVX");
263-
hCutFlow->GetXaxis()->SetBinLabel(4, "kNoTimeFrameBorder");
264-
hCutFlow->GetXaxis()->SetBinLabel(5, "kNoITSROFrameBorder");
265-
hCutFlow->GetXaxis()->SetBinLabel(6, "rctChecker");
266-
hCutFlow->GetXaxis()->SetBinLabel(7, "sel8");
267-
hCutFlow->GetXaxis()->SetBinLabel(8, "IsINELgt0");
268-
hCutFlow->GetXaxis()->SetBinLabel(9, "All Passed Events");
259+
histos.get<TH1>(HIST("CollCutCounts"))->GetXaxis()->SetBinLabel(1, "All Events");
260+
histos.get<TH1>(HIST("CollCutCounts"))->GetXaxis()->SetBinLabel(2, "|Vz| < cut");
261+
histos.get<TH1>(HIST("CollCutCounts"))->GetXaxis()->SetBinLabel(3, "kIsTriggerTVX");
262+
histos.get<TH1>(HIST("CollCutCounts"))->GetXaxis()->SetBinLabel(4, "kNoTimeFrameBorder");
263+
histos.get<TH1>(HIST("CollCutCounts"))->GetXaxis()->SetBinLabel(5, "kNoITSROFrameBorder");
264+
histos.get<TH1>(HIST("CollCutCounts"))->GetXaxis()->SetBinLabel(6, "rctChecker");
265+
histos.get<TH1>(HIST("CollCutCounts"))->GetXaxis()->SetBinLabel(7, "sel8");
266+
histos.get<TH1>(HIST("CollCutCounts"))->GetXaxis()->SetBinLabel(8, "IsINELgt0");
267+
histos.get<TH1>(HIST("CollCutCounts"))->GetXaxis()->SetBinLabel(9, "All Passed Events");
269268

270269
histos.add("Event/posZ", "; vtx_{z} (cm); Entries", HistType::kTH1F, {{250, -12.5, 12.5}});
271270
histos.add("Event/centFT0M", "; FT0M Percentile; Entries", HistType::kTH1F, {{110, 0, 110}});

0 commit comments

Comments
 (0)