File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
PWGLF/TableProducer/Strangeness/Converters Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -24,12 +24,15 @@ struct stradautracksextraconverter2 {
2424 void process (aod::DauTrackExtras_001 const & dauTrackExtras_001)
2525 {
2626 for (auto & values : dauTrackExtras_001) {
27+ const int maxFindable = 130 ; // synthetic findable to ensure range is ok
28+ int findableMinusFound = maxFindable-values.tpcClusters ();
29+ int findableMinusCrossedRows = maxFindable-values.tpcCrossedRows ();
2730 dauTrackExtras_002 (values.itsChi2PerNcl (),
2831 values.detectorMap (),
2932 values.itsClusterSizes (),
30- static_cast <uint8_t >(0 ), // findable (unknown in old format)
31- -values. tpcClusters (), // findable minus found: we know found
32- -values. tpcCrossedRows ( )); // findable minus crossed rows: we know crossed rows
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
3336 }
3437 }
3538};
You can’t perform that action at this time.
0 commit comments