5 : Algorithm( name, pSvcLocator ) {
11 MsgStream log(
msgSvc(), name() );
12 log << MSG::INFO <<
"Initialize()" << endmsg;
16 sc = service(
"MdcTunningSvc", m_mdc,
true );
17 if ( !sc.isSuccess() )
19 log << MSG::ERROR <<
"Could not get ICalibRootSvc interface of CalibRootCnvSvc" << endmsg;
25 return StatusCode::SUCCESS;
30 MsgStream log(
msgSvc(), name() );
31 for (
int i = 0; i < 43; i++ )
33 for (
int j = 0; j < 20; j++ )
35 double aa = m_mdc->get_docaEff( i, j );
36 double bb = m_mdc->get_thetaEff( i, j );
37 double cc = m_mdc->get_cellEff( i, j );
38 std::cout <<
"i: " << i <<
" j: " << j << std::endl;
39 std::cout <<
" get_docaEff: " << aa <<
" thetaEff:" << bb <<
" cellEff:" << cc
44 return StatusCode::SUCCESS;
test_read(const std::string &name, ISvcLocator *pSvcLocator)