add ATLAS_CHECK_THREAD_SAFETY to TrkVertexWeightCalculators
requested to merge ATLAS-EGamma/athena:TrkVertexWeightCalculators_const_ATLAS_CHECK_THREAD_SAFETY into master
- Make
IVertexWeightCalculator
const (i.e methods areconst
) - Make the implementations
const
- Then add
ATLAS_CHECK_THREAD_SAFETY
to the implementations. - Also add the new style logging
- And removed some quite old conventions (parts of these tools seem to be not really have been touched for quite some time)
The NN implementation was not thread safe.
The problematic line was
m_NN = m_networkToHistoTool->fromHistoToTrainedNetwork(m_NNhistos);
Now this is done at the end of initialize ...
Edited by Christos Anastopoulos