Skip to content
Snippets Groups Projects
Commit dddcb717 authored by Scott Snyder's avatar Scott Snyder Committed by Graeme Stewart
Browse files

ntupleService -> ntupleSvc. (TileL2Algs-00-02-06)

	* Tagging TileL2Algs-00-02-06.
	* ntupleService -> ntupleSvc.
parent 4ec91496
No related branches found
No related tags found
No related merge requests found
......@@ -54,15 +54,15 @@ StatusCode TileMuRODToNtuple::initialize() {
m_ntupleLoc = "/NTUPLES/FILE1/TileMuRODTag";
SmartDataPtr<NTuple::Directory> DirPtr(ntupleService(), m_ntupleLoc);
if (!DirPtr) DirPtr = ntupleService()->createDirectory(m_ntupleLoc);
SmartDataPtr<NTuple::Directory> DirPtr(ntupleSvc(), m_ntupleLoc);
if (!DirPtr) DirPtr = ntupleSvc()->createDirectory(m_ntupleLoc);
if (!DirPtr) {
ATH_MSG_ERROR( "Invalid Ntuple Directory: " << m_ntupleLoc );
return StatusCode::FAILURE;
}
m_ntuplePtr = ntupleService()->book(DirPtr.ptr(), m_ntupleID, CLID_ColumnWiseTuple
m_ntuplePtr = ntupleSvc()->book(DirPtr.ptr(), m_ntupleID, CLID_ColumnWiseTuple
, "TileMuRODTag-Ntuple");
if (!m_ntuplePtr) {
......@@ -100,7 +100,7 @@ StatusCode TileMuRODToNtuple::execute() {
}
if (m_close == 1) {
CHECK( ntupleService()->writeRecord(m_ntuplePtr) );
CHECK( ntupleSvc()->writeRecord(m_ntuplePtr) );
}
ATH_MSG_DEBUG( "execute() completed successfully" );
......
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