Skip to content

Commit 9852e93

Browse files
committed
[CTP] correct clang format
1 parent 1fd7614 commit 9852e93

1 file changed

Lines changed: 12 additions & 8 deletions

File tree

Modules/CTP/src/RawDataQcTask.cxx

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -256,17 +256,21 @@ void CTPRawDataReaderTask::startOfActivity(const Activity& activity)
256256
mDecoder.setCheckConsistency(1);
257257
mDecoder.setDecodeInps(1);
258258
mPerformConsistencyCheck = true;
259-
// clang-format off
260-
for (std::size_t i = 0; i < shiftBC.size(); i++)
261-
shiftBC[i] = 0; // no shift
259+
for (std::size_t i = 0; i < shiftBC.size(); i++) {
260+
shiftBC[i] = 0; // no shift
261+
}
262262
} else {
263263
mDecoder.setCheckConsistency(0);
264264
for (std::size_t i = 0; i < shiftBC.size(); i++) {
265-
if (i <= 10) shiftBC[i] = 0; // [00-10] without shift
266-
if (i >= 11 && i <= 23) shiftBC[i] = 15; // [11-23] shift by 15 BCs
267-
else if (i >= 24 && i <= 47) shiftBC[i] = 296; // [24-47] shift by 296 BCs
268-
}
269-
// clang-format on
265+
if (i <= 10) {
266+
shiftBC[i] = 0; // [00-10] without shift
267+
}
268+
if (i >= 11 && i <= 23) {
269+
shiftBC[i] = 15; // [11-23] shift by 15 BCs
270+
} else if (i >= 24 && i <= 47) {
271+
shiftBC[i] = 296; // [24-47] shift by 296 BCs
272+
}
273+
}
270274
}
271275

272276
if (mPerformConsistencyCheck) {

0 commit comments

Comments
 (0)