Several fixes to get the package closer to pass the thread-checker:
- Remove caching of p4 in
TauConstituent.The caching of the 4-momentum is not thread-safe. If this is really needed one needs to be implement this properly.
const_castby storing non-const pointer to
- add const-correct
However, the package still has several
const_casts 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