Skip to content

Commit ac7e357

Browse files
committed
Please consider the following formatting changes
1 parent be6bfaa commit ac7e357

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

PWGCF/Flow/Tasks/flowZdcTask.cxx

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -239,8 +239,10 @@ struct FlowZdcTask {
239239
auto* xAxis = hstat->GetXaxis();
240240
xAxis->SetBinLabel(1, "All events");
241241
xAxis->SetBinLabel(2, "SelEigth");
242-
xAxis->SetBinLabel(3, "NoSameBunchPileup");; // reject collisions in case of pileup with another collision in the same foundBC
243-
xAxis->SetBinLabel(4, "GoodZvtxFT0vsPV");; // small difference between z-vertex from PV and from FT0
242+
xAxis->SetBinLabel(3, "NoSameBunchPileup");
243+
; // reject collisions in case of pileup with another collision in the same foundBC
244+
xAxis->SetBinLabel(4, "GoodZvtxFT0vsPV");
245+
; // small difference between z-vertex from PV and from FT0
244246
xAxis->SetBinLabel(5, "NoCollInTimeRangeStrict");
245247
xAxis->SetBinLabel(6, "NoCollInTimeRangeStandard");
246248
xAxis->SetBinLabel(7, "NoCollInRofStrict");
@@ -253,7 +255,7 @@ struct FlowZdcTask {
253255
xAxis->SetBinLabel(14, "has ZDC?");
254256
xAxis->SetBinLabel(15, "has T0?");
255257
xAxis->SetBinLabel(16, "Within TDC cut?");
256-
xAxis->SetBinLabel(17, "Within ZEM cut?");
258+
xAxis->SetBinLabel(17, "Within ZEM cut?");
257259

258260
histos.add("GlobalMult_vs_FT0C", "GlobalMult_vs_FT0C", kTH2F, {axisMult, axisFT0CMult});
259261
histos.add("VtxZHist", "VtxZHist", kTH1D, {axisVtxZ});
@@ -296,7 +298,7 @@ struct FlowZdcTask {
296298
histos.add("hZPvsMult", "ZP Energy vs Multiplicity", kTH2F, {axisMultiplicity, axisZP});
297299
}
298300

299-
if (doprocessQA){
301+
if (doprocessQA) {
300302
histos.add("T0Ccent", ";;Entries", kTH1F, {axisCent});
301303

302304
histos.add("ZNVsFT0A", ";T0A (#times 1/100);ZNA+ZNC;", kTH2F, {{{nBinsAmpFT0, 0., maxAmpFT0}, {nBinsZDC, -0.5, maxZn}}});
@@ -339,7 +341,6 @@ struct FlowZdcTask {
339341
histos.add("ZNVsNch", ";#it{N}_{ch} (|#eta|<0.8);ZNA+ZNC;", kTH2F, {{{nBinsNch, minNch, maxNch}, {nBinsZDC, minNch, maxZn}}});
340342
histos.add("ZNDifVsNch", ";#it{N}_{ch} (|#eta|<0.8);ZNA-ZNC;", kTH2F, {{{nBinsNch, minNch, maxNch}, {100, -50., 50.}}});
341343
}
342-
343344
}
344345
template <typename EventCuts>
345346
bool isEventSelected(EventCuts const& col)
@@ -563,10 +564,9 @@ struct FlowZdcTask {
563564
histos.fill(HIST("ZNDifVsNch"), glbTracks, znA - znC);
564565
if (glbTracks >= minNchSel) {
565566
histos.fill(HIST("NchVsMeanPt"), glbTracks, meanpt / glbTracks);
566-
}
567+
}
567568
}
568569

569-
570570
void processQVector(AodCollisions::iterator const& collision, aod::BCsWithTimestamps const&, AodTracks const& tracks, BCsRun3 const& /*bcs*/, aod::Zdcs const& /*zdcsData*/, aod::ZDCMults const& /*zdcMults*/)
571571
{
572572
if (!isEventSelected(collision)) {
@@ -800,4 +800,5 @@ WorkflowSpec defineDataProcessing(ConfigContext const& cfgc)
800800
{
801801
return WorkflowSpec{
802802
adaptAnalysisTask<FlowZdcTask>(cfgc)};
803-
}
803+
}
804+

0 commit comments

Comments
 (0)