Skip to content

Commit e06c91a

Browse files
committed
Please consider the following formatting changes
1 parent 158e54c commit e06c91a

File tree

1 file changed

+17
-9
lines changed

1 file changed

+17
-9
lines changed

PWGCF/Flow/Tasks/FlowZDCtask.cxx

Lines changed: 17 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ struct FlowZDCtask {
186186
{AxisSpec{100, 0, 100, "Centrality [%]"}, AxisSpec{100, 0, 500, "ZP Energy"}});
187187
histos.add("revsimag", "revsimag", kTH2F, {axisREQ, axisIMQ}); // for q vector recentering
188188
histos.add("hYield", "Nch vs pT", kTH2F, {axisMultiplicity, axisPt});
189-
histos.add("eventSelectionSteps","eventSelectionSteps", kTH1D, {axisEvent});
189+
histos.add("eventSelectionSteps", "eventSelectionSteps", kTH1D, {axisEvent});
190190

191191
if (doprocessZdcCollAssoc) { // Check if the process function for ZDCCollAssoc is enabled
192192
histos.add("ZNAcoll", "ZNAcoll; ZNA amplitude; Entries", {HistType::kTH1F, {{nBinsAmp, -0.5, maxZn}}});
@@ -235,16 +235,20 @@ struct FlowZDCtask {
235235
{
236236
histos.fill(HIST("eventSelectionSteps"), 1);
237237

238-
if (!collision.sel8()) return;
238+
if (!collision.sel8())
239+
return;
239240
histos.fill(HIST("eventSelectionSteps"), 2);
240241

241-
if (!collision.selection_bit(o2::aod::evsel::kNoSameBunchPileup)) return;
242+
if (!collision.selection_bit(o2::aod::evsel::kNoSameBunchPileup))
243+
return;
242244
histos.fill(HIST("eventSelectionSteps"), 3);
243245

244-
if (!collision.selection_bit(o2::aod::evsel::kIsGoodZvtxFT0vsPV)) return;
246+
if (!collision.selection_bit(o2::aod::evsel::kIsGoodZvtxFT0vsPV))
247+
return;
245248
histos.fill(HIST("eventSelectionSteps"), 4);
246249

247-
if (!collision.selection_bit(o2::aod::evsel::kIsVertexITSTPC)) return;
250+
if (!collision.selection_bit(o2::aod::evsel::kIsVertexITSTPC))
251+
return;
248252
histos.fill(HIST("eventSelectionSteps"), 5);
249253

250254
histos.fill(HIST("eventSelectionSteps"), 6);
@@ -302,10 +306,14 @@ struct FlowZDCtask {
302306
aod::Zdcs const& /*zdcs*/,
303307
aod::FT0s const& /*ft0s*/)
304308
{
305-
if (!collision.sel8()) return;
306-
if (!collision.selection_bit(o2::aod::evsel::kNoSameBunchPileup)) return;
307-
if (!collision.selection_bit(o2::aod::evsel::kIsGoodZvtxFT0vsPV)) return;
308-
if (!collision.selection_bit(o2::aod::evsel::kIsVertexITSTPC)) return;
309+
if (!collision.sel8())
310+
return;
311+
if (!collision.selection_bit(o2::aod::evsel::kNoSameBunchPileup))
312+
return;
313+
if (!collision.selection_bit(o2::aod::evsel::kIsGoodZvtxFT0vsPV))
314+
return;
315+
if (!collision.selection_bit(o2::aod::evsel::kIsVertexITSTPC))
316+
return;
309317
int nTot = tracks.size();
310318
double sumCosPsiDiff = 0.0; // initialize Sum of cosPsiDiff for averaging
311319
double sumSinPsiDiff = 0.0; // initialize Sum of cosPsiDiff for averaging

0 commit comments

Comments
 (0)