File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
PWGLF/TableProducer/Strangeness/Converters Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff 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};
You can’t perform that action at this time.
0 commit comments