Skip to content

Commit 8cc487d

Browse files
authored
Merge pull request #8 from alibuild/alibot-cleanup-11017
Please consider the following formatting changes to AliceO2Group#11017
2 parents 707e7df + ab9dc78 commit 8cc487d

File tree

1 file changed

+9
-13
lines changed

1 file changed

+9
-13
lines changed

PWGCF/TwoParticleCorrelations/Tasks/neutronProtonCorrZdc.cxx

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ enum EventCounter { kNoSelection = 0,
3434
kNoCollInTimeRangeStandard = 4,
3535
kMaxCentralitySelection = 5,
3636
kZDCSelection = 6,
37-
kTimeDifferenceZDC = 7};
37+
kTimeDifferenceZDC = 7 };
3838

3939
struct NeutronProtonCorrZdc {
4040
// Histogram registry: an object to hold your histograms
@@ -152,7 +152,7 @@ struct NeutronProtonCorrZdc {
152152
histos.add("CentvsZNCvsZPC", "CentvsZNCvsZPC", kTH3F, {cfgAxisCent, axisZNCSignal, axisZPCSignal});
153153
histos.add("CentvsZNvsZP", "CentvsZNvsZP", kTH3F, {cfgAxisCent, axisZNSignal, axisZPSignal});
154154

155-
if(cfgFillMultiplicityQAHistograms){
155+
if (cfgFillMultiplicityQAHistograms) {
156156
histos.add("MultiplicityHistograms/FV0A", "FV0A", kTH1F, {axisMultiplicityF0A});
157157
histos.add("MultiplicityHistograms/FT0A", "FT0A", kTH1F, {axisMultiplicityF0A});
158158
histos.add("MultiplicityHistograms/FT0C", "FT0C", kTH1F, {axisMultiplicityF0C});
@@ -207,7 +207,6 @@ struct NeutronProtonCorrZdc {
207207
histos.fill(HIST("eventCounter"), EventCounter::kMaxCentralitySelection);
208208

209209
return 1;
210-
211210
}
212211

213212
template <int mult, typename C>
@@ -289,26 +288,25 @@ struct NeutronProtonCorrZdc {
289288
histos.fill(HIST("TimingZPAvsCent"), cent, tZPA);
290289
histos.fill(HIST("TimingZPCvsCent"), cent, tZPC);
291290

292-
//Selection on timing for the ZDC
293-
if(cfgZDCTimingInformationCut){
294-
if (tZNA <= cfgTDCZNmincut || tZNA >= cfgTDCZNmaxcut){
291+
// Selection on timing for the ZDC
292+
if (cfgZDCTimingInformationCut) {
293+
if (tZNA <= cfgTDCZNmincut || tZNA >= cfgTDCZNmaxcut) {
295294
return;
296295
}
297-
if (tZNC <= cfgTDCZNmincut || tZNC >= cfgTDCZNmaxcut){
296+
if (tZNC <= cfgTDCZNmincut || tZNC >= cfgTDCZNmaxcut) {
298297
return;
299298
}
300-
if (tZPA <= cfgTDCZPmincut || tZPA >= cfgTDCZPmaxcut){
299+
if (tZPA <= cfgTDCZPmincut || tZPA >= cfgTDCZPmaxcut) {
301300
return;
302301
}
303-
if (tZPC <= cfgTDCZPmincut || tZPC >= cfgTDCZPmaxcut){
302+
if (tZPC <= cfgTDCZPmincut || tZPC >= cfgTDCZPmaxcut) {
304303
return;
305304
}
306305
}
307306
histos.fill(HIST("eventCounter"), EventCounter::kTimeDifferenceZDC);
308307
histos.fill(HIST("CentralityPercentile"), cent);
309308

310-
311-
if(cfgFillMultiplicityQAHistograms){
309+
if (cfgFillMultiplicityQAHistograms) {
312310
static_for<0, 6>([&](auto i) {
313311
fillMultHistosRun3<i>(collision); // Fill multiplicity histograms
314312
});
@@ -374,8 +372,6 @@ struct NeutronProtonCorrZdc {
374372
histos.fill(HIST("eventCounter"), EventCounter::kZDCSelection);
375373
histos.fill(HIST("CentralityPercentile"), cent);
376374

377-
378-
379375
static_for<0, 1>([&](auto i) {
380376
fillZDCSideCommonHistos<i>(cent, zdcread); // Fill i-side common channels
381377
static_for<0, 3>([&](auto j) {

0 commit comments

Comments
 (0)