Skip to content

PanTauAlgs: thread-safety fixes

Frank Winklmeier requested to merge fwinkl/athena:pantau into master

Several fixes to get the package closer to pass the thread-checker:

  • Remove caching of p4 in 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
  • add const-correct getFeatures and getPFO methods

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

Merge request reports