Skip to content

Commit 47948c8

Browse files
committed
megalinter
1 parent a6deaeb commit 47948c8

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

ALICE3/TableProducer/OTF/onTheFlyTracker.cxx

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1214,22 +1214,28 @@ struct OnTheFlyTracker {
12141214
std::array{negP[0], negP[1], negP[2]}},
12151215
std::array{o2::constants::physics::MassPionCharged,
12161216
o2::constants::physics::MassPionCharged});
1217-
} else
1217+
} else {
12181218
thisV0.mK0 = -1;
1219+
}
1220+
12191221
if (isLambda) {
12201222
thisV0.mLambda = RecoDecay::m(std::array{std::array{posP[0], posP[1], posP[2]},
12211223
std::array{negP[0], negP[1], negP[2]}},
12221224
std::array{o2::constants::physics::MassPionCharged,
12231225
o2::constants::physics::MassProton});
1224-
} else
1226+
} else {
12251227
thisV0.mLambda = -1;
1228+
}
1229+
12261230
if (isAntiLambda) {
12271231
thisV0.mAntiLambda = RecoDecay::m(std::array{std::array{posP[0], posP[1], posP[2]},
12281232
std::array{negP[0], negP[1], negP[2]}},
12291233
std::array{o2::constants::physics::MassProton,
12301234
o2::constants::physics::MassPionCharged});
1231-
} else
1235+
} else {
12321236
thisV0.mAntiLambda = -1;
1237+
}
1238+
12331239
if (v0DecaySettings.doV0QA) {
12341240
histos.fill(HIST("V0Building/hV0Building"), 4.0f);
12351241

0 commit comments

Comments
 (0)