Skip to content

Commit a893e86

Browse files
committed
fixup! [O2-7038] DPL Analysis: correction for tpcNClsFindable overflow
1 parent b9e8be0 commit a893e86

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Framework/Core/include/Framework/AnalysisDataModel.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -475,13 +475,13 @@ DECLARE_SOA_DYNAMIC_COLUMN(ITSNSharedCls, itsNSharedCls, //! Number of shared IT
475475
DECLARE_SOA_DYNAMIC_COLUMN(TPCFoundOverFindableCls, tpcFoundOverFindableCls, //! Ratio of found over findable clusters
476476
[](uint8_t tpcNClsFindable, int8_t tpcNClsFindableMinusFound) -> float {
477477
int16_t tpcNClsFound = fixTPCNClsFindable(tpcNClsFindable, tpcNClsFindableMinusFound) - tpcNClsFindableMinusFound;
478-
return (float)tpcNClsFound / (float)tpcNClsFindable;
478+
return (float)tpcNClsFound / (float)fixTPCNClsFindable(tpcNClsFindable, tpcNClsFindableMinusFound);
479479
});
480480

481481
DECLARE_SOA_DYNAMIC_COLUMN(TPCCrossedRowsOverFindableCls, tpcCrossedRowsOverFindableCls, //! Ratio crossed rows over findable clusters
482482
[](uint8_t tpcNClsFindable, int8_t tpcNClsFindableMinusCrossedRows, int8_t tpcNClsFindableMinusFound) -> float {
483483
int16_t tpcNClsCrossedRows = fixTPCNClsFindable(tpcNClsFindable, tpcNClsFindableMinusFound) - tpcNClsFindableMinusCrossedRows;
484-
return (float)tpcNClsCrossedRows / (float)tpcNClsFindable;
484+
return (float)tpcNClsCrossedRows / (float)fixTPCNClsFindable(tpcNClsFindable, tpcNClsFindableMinusFound);
485485
});
486486

487487
DECLARE_SOA_DYNAMIC_COLUMN(TPCFractionSharedCls, tpcFractionSharedCls, //! Fraction of shared TPC clusters

0 commit comments

Comments
 (0)