Skip to content

Commit 80cdfa5

Browse files
committed
Please consider the following formatting changes
1 parent 55aff80 commit 80cdfa5

1 file changed

Lines changed: 6 additions & 7 deletions

File tree

ALICE3/TableProducer/OTF/onTheFlyTracker.cxx

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -982,7 +982,7 @@ struct OnTheFlyTracker {
982982
continue; // extra sure
983983
}
984984
if (cascadeDecaySettings.doXiQA) {
985-
getHist(TH1, histPath + "hXiBuilding")->Fill(static_cast<float>(i+1));
985+
getHist(TH1, histPath + "hXiBuilding")->Fill(static_cast<float>(i + 1));
986986
}
987987
isReco[i] = true;
988988

@@ -993,7 +993,7 @@ struct OnTheFlyTracker {
993993
isReco[i] = true;
994994
xiDaughterTrackParCovsTracked[i] = xiDaughterTrackParCovsPerfect[i];
995995
if (cascadeDecaySettings.doXiQA) {
996-
getHist(TH1, histPath + "hXiBuilding")->Fill(static_cast<float>(i+1));
996+
getHist(TH1, histPath + "hXiBuilding")->Fill(static_cast<float>(i + 1));
997997
}
998998
}
999999

@@ -1452,8 +1452,8 @@ struct OnTheFlyTracker {
14521452
nV0SiliconHits[i] = fastTracker[icfg]->GetNSiliconPoints();
14531453
nV0TPCHits[i] = fastTracker[icfg]->GetNGasPoints();
14541454

1455-
if (nV0SiliconHits[i] >= fastTrackerSettings.minSiliconHits ||
1456-
(nV0SiliconHits[i] >= fastTrackerSettings.minSiliconHitsIfTPCUsed &&
1455+
if (nV0SiliconHits[i] >= fastTrackerSettings.minSiliconHits ||
1456+
(nV0SiliconHits[i] >= fastTrackerSettings.minSiliconHitsIfTPCUsed &&
14571457
nV0TPCHits[i] >= fastTrackerSettings.minTPCClusters)) {
14581458
isV0Reco[i] = true;
14591459
} else {
@@ -1606,7 +1606,7 @@ struct OnTheFlyTracker {
16061606

16071607
if (!fillV0Table) {
16081608
tracksV0Daugs.clear(); // clear the tracks added for this V0 since we won't be filling the table
1609-
return; // don't fill the table if we didn't find a V0 candidate
1609+
return; // don't fill the table if we didn't find a V0 candidate
16101610
}
16111611

16121612
// populate V0s
@@ -1778,8 +1778,7 @@ struct OnTheFlyTracker {
17781778
}
17791779

17801780
const bool isCascadeToDecay = (mcParticle.pdgCode() == kXiMinus) && cascadeDecaySettings.decayXi;
1781-
const bool isV0ToDecay = std::find(v0PDGs.begin(), v0PDGs.end(), mcParticle.pdgCode()) != v0PDGs.end()
1782-
&& v0DecaySettings.decayV0;
1781+
const bool isV0ToDecay = std::find(v0PDGs.begin(), v0PDGs.end(), mcParticle.pdgCode()) != v0PDGs.end() && v0DecaySettings.decayV0;
17831782

17841783
const bool longLivedToBeHandled = std::find(longLivedHandledPDGs.begin(), longLivedHandledPDGs.end(), std::abs(mcParticle.pdgCode())) != longLivedHandledPDGs.end();
17851784
const bool nucleiToBeHandled = std::find(nucleiPDGs.begin(), nucleiPDGs.end(), std::abs(mcParticle.pdgCode())) != nucleiPDGs.end();

0 commit comments

Comments
 (0)