Updates to SCT_FrontEnd
A few updates to SCT_FrontEnd
which were discovered during development of ITkStrip
digitization, but are useful in general for SCT
too.
-
Use
SiCellId
rather thanIdentifier
indoClustering
to avoid a conversionIdentifier->SiCellId
when callingfind()
, and also avoid range issues over rows forITkStrips
-
Pass the number of strips on an element in the various method interfaces. Previously, inconsistencies between
strip_max
andm_strip_max
caused aninvalid_write
forITkStrips
and noise being added to non-existent channels (issues not present forSCT
only because all modules have the same number of strips). The solution allows the number of strips to be retrieved just once per element (inprocess
method), and used consistently everywhere.