Skip to content
Snippets Groups Projects
Commit 58f86ded authored by scott snyder's avatar scott snyder Committed by scott snyder
Browse files

D3PDMakerCoreComps: Fix for getting DVLInfo.

May need to explicitly call dvlinfo() on the DV class to get
the DVLInfo object registered.
parent e8df3bb2
No related branches found
No related tags found
No related merge requests found
/* /*
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 $ // $Id: SGDataVectorGetterTool.cxx 790090 2016-12-16 05:31:29Z ssnyder $
...@@ -79,6 +79,13 @@ StatusCode SGDataVectorGetterTool::initialize() ...@@ -79,6 +79,13 @@ StatusCode SGDataVectorGetterTool::initialize()
meth.Execute(); meth.Execute();
m_info = getInfo (typeinfo()); 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) { if (!m_info) {
REPORT_MESSAGE (MSG::ERROR) REPORT_MESSAGE (MSG::ERROR)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment