add ATLAS_CHECK_THREAD_SAFETY to TrkVertexWeightCalculators
- Make
IVertexWeightCalculatorconst (i.e methods areconst) - Make the implementations
const - Then add
ATLAS_CHECK_THREAD_SAFETYto 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