ParticleJetTools: const/mutable fixes
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.