Skip to content

Commit 708ece5

Browse files
authored
Update stradautracksextraconverter2.cxx
1 parent 727e96d commit 708ece5

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

PWGLF/TableProducer/Strangeness/Converters/stradautracksextraconverter2.cxx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,15 @@ struct stradautracksextraconverter2 {
2424
void process(aod::DauTrackExtras_001 const& dauTrackExtras_001)
2525
{
2626
for (auto& values : dauTrackExtras_001) {
27-
const int maxFindable = 159;
28-
int findableMinusFound = maxFindable-values.tpcClusters();
29-
int findableMinusCrossedRows = maxFindable-values.tpcCrossedRows();
27+
const int maxFindable = 130; // synthetic findable to ensure range is ok
28+
int findableMinusFound = maxFindable - values.tpcClusters();
29+
int findableMinusCrossedRows = maxFindable - values.tpcCrossedRows();
3030
dauTrackExtras_002(values.itsChi2PerNcl(),
3131
values.detectorMap(),
3232
values.itsClusterSizes(),
33-
static_cast<uint8_t>(maxFindable), // findable set to max to ensure proper range
34-
static_cast<int8_t>(findableMinusFound), // calculated based on max
35-
static_cast<int8_t>(findableMinusCrossedRows)); // calculated based on max
33+
static_cast<uint8_t>(maxFindable), // findable (unknown in old format)
34+
static_cast<int8_t>(findableMinusFound), // findable minus found: we know found
35+
static_cast<int8_t>(findableMinusCrossedRows)); // findable minus crossed rows: we know crossed rows
3636
}
3737
}
3838
};

0 commit comments

Comments
 (0)