Skip to content

ParticleJetTools: const/mutable fixes

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

Instead of using mutable m_barcodeOffset, make setBarCodeFromMetaDataCheck non-const. Then it is clear for the user that this method is not thread-safe. To avoid thread-checker warnings at the call site (which is already protected by std::once_flag), use an explicit const_cast and annotate the code as thread-safe.

Merge request reports