Skip to content

Commit a472ee2

Browse files
author
Mattia Faggin
committed
Fixing coding indentation (AliceO2Group#2)
1 parent e04d5cc commit a472ee2

1 file changed

Lines changed: 8 additions & 14 deletions

File tree

Analysis/Tasks/PWGHF/HFXicCandidateSelector.cxx

Lines changed: 8 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -196,14 +196,11 @@ struct HFXicCandidateSelector {
196196
nPDG = TMath::Abs(nPDG);
197197
if (nPDG == 2212) {
198198
nSigma = track.tpcNSigmaPr();
199-
}
200-
else if (nPDG == 321) {
199+
} else if (nPDG == 321) {
201200
nSigma = track.tpcNSigmaKa();
202-
}
203-
else if (nPDG == 211) {
201+
} else if (nPDG == 211) {
204202
nSigma = track.tpcNSigmaPi();
205-
}
206-
else{
203+
} else {
207204
return false;
208205
}
209206

@@ -221,16 +218,13 @@ struct HFXicCandidateSelector {
221218
{
222219
double nSigma = 99.; //arbitarily large value
223220
nPDG = TMath::Abs(nPDG);
224-
if (nPDG == 2212){
221+
if (nPDG == 2212) {
225222
nSigma = track.tofNSigmaPr();
226-
}
227-
else if (nPDG == 321){
223+
} else if (nPDG == 321) {
228224
nSigma = track.tofNSigmaKa();
229-
}
230-
else if (nPDG == 211){
225+
} else if (nPDG == 211) {
231226
nSigma = track.tofNSigmaPi();
232-
}
233-
else{
227+
} else {
234228
return false;
235229
}
236230

@@ -428,7 +422,7 @@ struct HFXicCandidateSelector {
428422
if (std::abs(prot1) == 1 && std::abs(pion2) == 1) {
429423
pidXicPKPi = 1;
430424
}
431-
if (std::abs(pion1) == 1 && std::abs(prot2) == 1){
425+
if (std::abs(pion1) == 1 && std::abs(prot2) == 1) {
432426
pidXicPiKP = 1;
433427
}
434428
}

0 commit comments

Comments
 (0)