Skip to content

Commit 7e92e8a

Browse files
committed
Linter fix
1 parent 85013e3 commit 7e92e8a

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

PWGLF/Tasks/Strangeness/strangeCascTrack.cxx

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -163,32 +163,37 @@ struct StrangeCascTrack {
163163
if (!selCuts.cutDoINEL || collision.multNTracksPVeta1() > 0) {
164164
if (fillHists)
165165
histos.fill(HIST("Rec-Events/EvFilter"), 0.5);
166-
} else
166+
} else {
167167
passedAllSels = false;
168+
}
168169
//* pvz cut
169170
if (std::abs(collision.posZ()) < selCuts.cutZVertex) {
170171
if (fillHists)
171172
histos.fill(HIST("Rec-Events/EvFilter"), 1.5);
172-
} else
173+
} else {
173174
passedAllSels = false;
175+
}
174176
//* sel8 cut
175177
if (!selCuts.cutDoSel8 || collision.sel8()) {
176178
if (fillHists)
177179
histos.fill(HIST("Rec-Events/EvFilter"), 2.5);
178-
} else
180+
} else {
179181
passedAllSels = false;
182+
}
180183
//* pileup cut
181184
if (!selCuts.cutDoNoPileup || collision.selection_bit(o2::aod::evsel::kNoSameBunchPileup)) {
182185
if (fillHists)
183186
histos.fill(HIST("Rec-Events/EvFilter"), 3.5);
184-
} else
187+
} else {
185188
passedAllSels = false;
189+
}
186190
//* good ft0 z-vertex vs pv cut
187191
if (!selCuts.cutDoGoodFT0 || collision.selection_bit(o2::aod::evsel::kIsGoodZvtxFT0vsPV)) {
188192
if (fillHists)
189193
histos.fill(HIST("Rec-Events/EvFilter"), 4.5);
190-
} else
194+
} else {
191195
passedAllSels = false;
196+
}
192197
//* all cuts
193198
if (passedAllSels) {
194199
if (fillHists)

0 commit comments

Comments
 (0)