49 std::string PackedRawDataCnvSvc_Name(
"PackedRawDataCnvSvc");
50 std::string RawDataInputSvc_Name(
"RawDataInputSvc");
51 std::string RawDataMucDigiCnv_Name(
"RawDataMucDigiCnv");
56 SmartIF<IService> pCnvSvc(conversionSvc());
57 if (isGaudiThreaded(pCnvSvc->name())){
58 PackedRawDataCnvSvc_Name += getGaudiThreadIDfromName(pCnvSvc->name());
59 RawDataInputSvc_Name += getGaudiThreadIDfromName(pCnvSvc->name());
60 RawDataMucDigiCnv_Name += getGaudiThreadIDfromName(pCnvSvc->name());
64 MsgStream log(messageService(), RawDataMucDigiCnv_Name.c_str());
67 if ( sc.isFailure() ) {
73 StatusCode status = serviceLocator()->service(PackedRawDataCnvSvc_Name.c_str(), isvc,
true);
75 if(m_RawDataAccess == 0 ) {
76 log<<MSG::ERROR<<
" MucRawDataCnv: Cant cast to RawDataCnvSvc " <<endreq;
77 return StatusCode::FAILURE ;
81 sc = serviceLocator()->getService(RawDataInputSvc_Name.c_str(), svc);
87 if ( m_inputSvc == 0 ) {
88 log<< MSG::WARNING <<
" Cant cast to RawDataInputSvc " <<endreq;
89 return StatusCode::FAILURE ;
94 return StatusCode::SUCCESS;