1#include "HltAlgorithms/IEFAlgorithm.h"
2#include "GaudiKernel/Bootstrap.h"
3#include "GaudiKernel/MsgStream.h"
4#include "GaudiKernel/IJobOptionsSvc.h"
5#include "GaudiKernel/ISvcLocator.h"
6#include "GaudiKernel/IService.h"
7#include "GaudiKernel/IMessageSvc.h"
10 Algorithm(name, pSvcLocator){
15 IJobOptionsSvc* jobSvc;
16 Gaudi::svcLocator()->service(
"JobOptionsSvc", jobSvc);
17 jobSvc->setMyProperties(
"EFAlgorithm", &
m_propMgr);
25 MsgStream log(
msgSvc(), name());
26 log << MSG::INFO <<
"in initialize()" << endreq;
31 if( sc.isFailure() ) {
32 log << MSG::FATAL << name() <<
": Unable to locate Service HltStoreSvc" << endreq;
37 if ( sc.isFailure() ) {
38 log << MSG::ERROR <<
"m_HltStoreSvc->get(EFResult) wrong" << endreq;
43 if (sc == StatusCode::SUCCESS) {
44 log << MSG::INFO <<
"Raw Data Service Sucessfully at " <<
m_rawDigiSvc <<
" for " << name() << endreq;
47 log << MSG::ERROR <<
"Raw Data Service Failed !! " << endreq;
48 return StatusCode::FAILURE;
51 log << MSG::DEBUG <<
"finish initialize()" << endreq;
52 return StatusCode::SUCCESS;
bool get(const std::string &name, T &value)
IEFAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
virtual StatusCode initialize()
IRawDataProviderSvc * m_rawDigiSvc
HltStoreSvc * m_HltStoreSvc