Create strong type for LHCbID in SOACollection.
Create a strong type for the LHCbID
in the SOACollection
. Currently the LHCbID
is converted into an int
when being stored in an SOACollection
field, from the underlying type of unsigned int
. This can lead to wrong behaviour/results if this conversion is not done properly or if standard operations such as +
are applied to it. The compiler may not flag it, making it hard to spot.
A strong type with a field dedicated for LHCbIDs
in the SOACollection
, e.g. lhcbids_field
, would solve this issue.
Connected to this discussion: !3226 (comment 4782466)