Skip to content

Commit 48d450f

Browse files
authored
Merge pull request AliceO2Group#9 from alibuild/alibot-cleanup-2805
Please consider the following formatting changes to AliceO2Group#2805
2 parents 6fb35f0 + 81a4d43 commit 48d450f

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

PWGLF/Tasks/spectraTOF.cxx

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ struct tofSpectra {
179179
customTrackCuts.SetMinNCrossedRowsOverFindableClustersTPC(minNCrossedRowsOverFindableClustersTPC.value);
180180
customTrackCuts.SetMaxDcaXYPtDep([](float pt) { return 10000.f; }); // No DCAxy cut will be used, this is done via the member function of the task
181181
customTrackCuts.SetMaxDcaZ(maxDcaZ.value);
182-
//customTrackCuts.SetMakeTHnSparseChoice(makeTHnSparseChoice.value);
182+
// customTrackCuts.SetMakeTHnSparseChoice(makeTHnSparseChoice.value);
183183
customTrackCuts.print();
184184
}
185185
// Histograms
@@ -419,7 +419,7 @@ struct tofSpectra {
419419
histos.add(hdeltatof[i].data(), pTCharge[i], kTH2D, {ptAxis, deltaTOFAxis});
420420
histos.add(hdeltatpc[i].data(), pTCharge[i], kTH2D, {ptAxis, deltaTPCAxis});
421421
}
422-
} else if (multiplicityEstimator != kNoMultiplicity && makeTHnSparseChoice.value) { // RD
422+
} else if (multiplicityEstimator != kNoMultiplicity && makeTHnSparseChoice.value) { // RD
423423
histos.add(hnsigmatof[i].data(), pTCharge[i], kTHnSparseD, {ptAxis, nsigmaTOFAxis, multAxis, dcaXyAxis, dcaZAxis}); // RD
424424
histos.add(hnsigmatpc[i].data(), pTCharge[i], kTHnSparseD, {ptAxis, nsigmaTPCAxis, multAxis, dcaXyAxis, dcaZAxis}); // RD
425425

@@ -546,12 +546,12 @@ struct tofSpectra {
546546
} else {
547547
histos.fill(HIST(hnsigmatpc[id + Np]), track.pt(), nsigmaTPC);
548548
}
549-
} else if (multiplicityEstimator != kNoMultiplicity && makeTHnSparseChoice.value) { // RD
550-
if (track.sign() > 0) { // RD
551-
histos.fill(HIST(hnsigmatpc[id]), track.pt(), nsigmaTOF, multiplicity, track.dcaXY(), track.dcaZ()); // RD
552-
} else { // RD
553-
histos.fill(HIST(hnsigmatpc[id + Np]), track.pt(), nsigmaTOF, multiplicity, track.dcaZ()); // RD
554-
} // RD
549+
} else if (multiplicityEstimator != kNoMultiplicity && makeTHnSparseChoice.value) { // RD
550+
if (track.sign() > 0) { // RD
551+
histos.fill(HIST(hnsigmatpc[id]), track.pt(), nsigmaTOF, multiplicity, track.dcaXY(), track.dcaZ()); // RD
552+
} else { // RD
553+
histos.fill(HIST(hnsigmatpc[id + Np]), track.pt(), nsigmaTOF, multiplicity, track.dcaZ()); // RD
554+
} // RD
555555
} else {
556556
if (track.sign() > 0) {
557557
histos.fill(HIST(hnsigmatpc[id]), track.pt(), nsigmaTPC, multiplicity);
@@ -666,12 +666,12 @@ struct tofSpectra {
666666
} else {
667667
histos.fill(HIST(hnsigmatof[id + Np]), track.pt(), nsigmaTOF);
668668
}
669-
} else if (multiplicityEstimator != kNoMultiplicity && makeTHnSparseChoice.value) { // RD
670-
if (track.sign() > 0) { // RD
669+
} else if (multiplicityEstimator != kNoMultiplicity && makeTHnSparseChoice.value) { // RD
670+
if (track.sign() > 0) { // RD
671671
histos.fill(HIST(hnsigmatof[id]), track.pt(), nsigmaTOF, multiplicity, track.dcaXY(), track.dcaZ()); // RD
672-
} else { // RD
672+
} else { // RD
673673
histos.fill(HIST(hnsigmatof[id + Np]), track.pt(), nsigmaTOF, multiplicity, track.dcaXY(), track.dcaZ()); // RD
674-
} // RD
674+
} // RD
675675
} else {
676676
if (track.sign() > 0) {
677677
histos.fill(HIST(hnsigmatof[id]), track.pt(), nsigmaTOF, multiplicity);

0 commit comments

Comments
 (0)