Several fixes to get the package closer to pass the thread-checker:
PanTauSeed
and TauConstituent
.The caching of the 4-momentum is not thread-safe. If this is really
needed one needs to be implement this properly.PanTauSeed
: avoid const_cast
by storing non-const pointer to TauJet
getFeatures
and getPFO
methodsHowever, the package still has several const_cast
s that are used to modify EDM objects in place. This is likely not thread-safe at all and needs to be looked at by experts. cc @martindl