15class checkDedx : public Algorithm {
18 checkDedx(const std::string& name, ISvcLocator* pSvcLocator);
20 StatusCode initialize();
24 StatusCode finalize();
27 IDataProviderSvc* m_pCalibDataSvc;
28 ICalibTreeSvc* m_pTreeSvc;
29 // Maybe something to say which kind of data to look up?
50 ISvcLocator* pSvcLocator )
51 : Algorithm ( name, pSvcLocator ), m_pCalibDataSvc(0)
60 MsgStream log(
msgSvc(), name());
61 log << MSG::INFO <<
"Initialize()" << endreq;
66 log<<MSG::INFO <<
"setProperties()" << endreq;
68 sc = service(
"CalibDataSvc", m_pCalibDataSvc,
true);
70 if ( !sc.isSuccess() ) {
72 <<
"Could not get IDataProviderSvc interface of CalibXmlCnvSvc"
77 <<
"Retrieved IDataProviderSvc interface of CalibXmlCnvSvc"
81 sc = service(
"CalibTreeCnvSvc", m_pTreeSvc,
true);
82 if ( !sc.isSuccess() ) {
84 <<
"Could not get ICalibTreeSvc interface of CalibTreeCnvSvc"
92 return StatusCode::SUCCESS;
99 MsgStream log(
msgSvc(), name());
107 std::string fullPath =
"/Calib/EsTimeCal";
114 log << MSG::INFO<<
"execute() fullPath = "<<fullPath<< endreq;
131SmartDataPtr<CalibData::EsTimeCalibData>
test(m_pCalibDataSvc, fullPath);
148 return StatusCode::SUCCESS;
155 MsgStream log(
msgSvc(), name());
157 <<
" checkDedx FINALIZE!! "
160 return StatusCode::SUCCESS;
checkDedx(const std::string &name, ISvcLocator *pSvcLocator)
Instantiation of a static factory to create instances of this algorithm.