Skip to content

Commit 44d67f0

Browse files
Fix compilation errors
1 parent 4d9dc9c commit 44d67f0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

PWGLF/TableProducer/Strangeness/strangenesstofpid.cxx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1363,10 +1363,10 @@ struct strangenesstofpid {
13631363
bool isNewTOFFormat = true; // can only happen for new format
13641364

13651365
// auto-determine if using old format
1366-
if (dauTrackTOFPIDs.size() != 0)
1366+
if (dauTrackTOFPIDs.size() != 0) {
13671367
auto firstTOFPID = dauTrackTOFPIDs.rawIteratorAt(0);
1368-
isNewTOFFormat = firstTOFPID.straCollisionId() < 0 ? false : true;
1369-
}
1368+
isNewTOFFormat = firstTOFPID.straCollisionId() < 0 ? false : true;
1369+
}
13701370

13711371
if (!isNewTOFFormat && calculationMethod.value > 0) {
13721372
LOGF(fatal, "Using the old derived data format with the new calculation method is not viable due to lack of needed info! Crashing.");

0 commit comments

Comments
 (0)