diff --git a/PhysicsAnalysis/D3PDMaker/D3PDMakerCoreComps/src/SGDataVectorGetterTool.cxx b/PhysicsAnalysis/D3PDMaker/D3PDMakerCoreComps/src/SGDataVectorGetterTool.cxx index 4c139236a1ee6654bcecf73cd3c3e4e5f3966ffd..a46243e5e976e42ed2691a40bedb0cd14361aaa5 100644 --- a/PhysicsAnalysis/D3PDMaker/D3PDMakerCoreComps/src/SGDataVectorGetterTool.cxx +++ b/PhysicsAnalysis/D3PDMaker/D3PDMakerCoreComps/src/SGDataVectorGetterTool.cxx @@ -1,5 +1,5 @@ /* - Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration + Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration */ // $Id: SGDataVectorGetterTool.cxx 790090 2016-12-16 05:31:29Z ssnyder $ @@ -79,6 +79,13 @@ StatusCode SGDataVectorGetterTool::initialize() meth.Execute(); m_info = getInfo (typeinfo()); } + if (!m_info) { + TClass* cls = gROOT->GetClass (m_typename.c_str()); + TMethodCall meth (cls, "dvlinfo", ""); + if (meth.IsValid()) + meth.Execute(); + m_info = getInfo (typeinfo()); + } if (!m_info) { REPORT_MESSAGE (MSG::ERROR)