More const-correct Linked{From,To}
- remove
Linked{From,To}
constructor which requires anIDataProviderSvc
and which fetches (implicitly!) anLHCb::LinksByKey
from the TES. Instead, require the caller to provide theLinksByKey
explicitly. As a result,Linked{To,From}
can now be seen solely as templated extensions ofLinksByKey
which provide appropriately typed ranges of linked objects. This is a necessary (but not sufficient) step in order to get code which uses MC association to explicitly state their data flow dependencies (which will enable future simplifications to the read-back configuration). In addition, remove the need to specify the 2nd (and 3rd) template arguments toLinked{From,To}
and instead make sure the compiler can and will deduce them implicitly. - add const where appropriate
- change return type of Linked{From,To}::range from a vector to a (lazy) range
- adapt code using Linked{From,To}, including several interfaces which are now more const-correct.
requires Lbcom!647 (merged), Boole!441 (merged), Rec!3254 (merged), Analysis!941 (merged), MooreAnalysis!101 (merged) and Alignment!339 (merged)
Edited by Gerhard Raven