58 std::string PackedRawDataCnvSvc_Name(
"PackedRawDataCnvSvc");
59 std::string RawDataInputSvc_Name(
"RawDataInputSvc");
60 std::string RawDataMdcDigiCnv_Name(
"RawDataMdcDigiCnv");
65 SmartIF<IService> pCnvSvc(conversionSvc());
66 if (isGaudiThreaded(pCnvSvc->name())){
67 PackedRawDataCnvSvc_Name += getGaudiThreadIDfromName(pCnvSvc->name());
68 RawDataInputSvc_Name += getGaudiThreadIDfromName(pCnvSvc->name());
69 RawDataMdcDigiCnv_Name += getGaudiThreadIDfromName(pCnvSvc->name());
75 if ( sc.isFailure() ) {
79 MsgStream log(messageService(), RawDataMdcDigiCnv_Name.c_str());
83 StatusCode status = serviceLocator()->service(PackedRawDataCnvSvc_Name.c_str(), isvc,
true);
85 if(m_RawDataAccess == 0 ) {
86 log<<MSG::ERROR<<
" RawDataMdcCnv: Cant cast to RawDataCnvSvc " <<endreq;
87 return StatusCode::FAILURE ;
91 sc = serviceLocator()->getService(RawDataInputSvc_Name.c_str(), svc);
97 if(m_inputSvc == 0 ) {
98 log<<MSG::WARNING<<
" Cant cast to RawDataInputSvc " <<endreq;
99 return StatusCode::FAILURE ;
104 m_cnv->init(m_inputSvc->config(
"MDCID_FIX"));
106 return StatusCode::SUCCESS;
147 MsgStream log(messageService(),
"RawDataMdcDigiCnv");
151 log <<
" get RawEvent failed !" << endreq;
152 return StatusCode::FAILURE;
157 log <<
"no MdcDigiCol found" << endreq;
158 return StatusCode::FAILURE;
175 return m_cnv->convert(digiCol, re);