Skip to content

add ATLAS_CHECK_THREAD_SAFETY to TrkVertexWeightCalculators

  • Make IVertexWeightCalculator const (i.e methods are const)
  • 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

Merge request reports