Skip to content
Snippets Groups Projects
Commit f10c778b authored by Christian Sander's avatar Christian Sander
Browse files

Added correct retrieval of HistService for HitMap task

parent 129a03c3
No related branches found
No related tags found
No related merge requests found
......@@ -40,6 +40,8 @@ SCT_CalibHitmapTool::SCT_CalibHitmapTool(const std::string& type, const std::str
StatusCode
SCT_CalibHitmapTool::initialize() {
if ( service( "THistSvc", m_thistSvc ).isFailure() ) ATH_MSG_ERROR("Unable to retrieve pointer to THistSvc");
ATH_CHECK(detStore()->retrieve(m_pSCTHelper, "SCT_ID"));
//
m_waferItrBegin = m_pSCTHelper->wafer_begin();
......@@ -54,7 +56,7 @@ SCT_CalibHitmapTool::initialize() {
StatusCode
SCT_CalibHitmapTool::finalize() {
ATH_MSG_VERBOSE("SCT_CalibHitmapSvc::finalize()");
ATH_MSG_VERBOSE("SCT_CalibHitmapTool::finalize()");
return StatusCode::SUCCESS;
}
......
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