Skip to content

Commit d60d177

Browse files
authored
Merge pull request #28 from alibuild/alibot-cleanup-10418
Please consider the following formatting changes to AliceO2Group#10418
2 parents 0262d36 + 657122e commit d60d177

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

PWGLF/DataModel/LFResonanceTables.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -344,13 +344,13 @@ struct PidNSigma {
344344
{
345345
uint8_t TPCencoded = encodeNSigma(TPCnSigma);
346346
uint8_t TOFencoded = hasTOF ? encodeNSigma(TOFnSigma) : 0x0F; // If TOF is not available, set all 4 bits to 1
347-
flag = (TPCencoded << 4) | TOFencoded; // Upper 4 bits = TPC, Lower 4 bits = TOF
347+
flag = (TPCencoded << 4) | TOFencoded; // Upper 4 bits = TPC, Lower 4 bits = TOF
348348
}
349349

350350
/// @brief Encode 0.2 sigma interval to 0~10 range
351351
static uint8_t encodeNSigma(float nSigma)
352352
{
353-
float encoded = std::abs((nSigma - 1.5) / 0.2); // Convert to 0~10 range
353+
float encoded = std::abs((nSigma - 1.5) / 0.2); // Convert to 0~10 range
354354
encoded = std::min(std::max(encoded, 0.f), 10.f); // Clamp to 0~10 range
355355
return (uint8_t)round(encoded);
356356
}

0 commit comments

Comments
 (0)