We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4d9dc9c commit 44d67f0Copy full SHA for 44d67f0
1 file changed
PWGLF/TableProducer/Strangeness/strangenesstofpid.cxx
@@ -1363,10 +1363,10 @@ struct strangenesstofpid {
1363
bool isNewTOFFormat = true; // can only happen for new format
1364
1365
// auto-determine if using old format
1366
- if (dauTrackTOFPIDs.size() != 0)
+ if (dauTrackTOFPIDs.size() != 0) {
1367
auto firstTOFPID = dauTrackTOFPIDs.rawIteratorAt(0);
1368
- isNewTOFFormat = firstTOFPID.straCollisionId() < 0 ? false : true;
1369
- }
+ isNewTOFFormat = firstTOFPID.straCollisionId() < 0 ? false : true;
+ }
1370
1371
if (!isNewTOFFormat && calculationMethod.value > 0) {
1372
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