50 std::string PackedRawDataCnvSvc_Name(
"PackedRawDataCnvSvc");
51 std::string RawDataInputSvc_Name(
"RawDataInputSvc");
52 std::string RawDataEmcDigiCnv_Name(
"RawDataEmcDigiCnv");
57 SmartIF<IService> pCnvSvc(conversionSvc());
59 if (isGaudiThreaded(pCnvSvc->name())){
60 PackedRawDataCnvSvc_Name += getGaudiThreadIDfromName(pCnvSvc->name());
61 RawDataInputSvc_Name += getGaudiThreadIDfromName(pCnvSvc->name());
62 RawDataEmcDigiCnv_Name += getGaudiThreadIDfromName(pCnvSvc->name());
67 MsgStream log(
msgSvc(), RawDataEmcDigiCnv_Name.c_str());
70 if ( sc.isFailure() ) {
76 StatusCode status = serviceLocator()->service(PackedRawDataCnvSvc_Name.c_str(), isvc,
true);
78 if(m_RawDataAccess == 0 ) {
79 log<<MSG::ERROR<<
" RawDataCnv: Cant cast to RawDataCnvSvc " <<endreq;
80 return StatusCode::FAILURE ;
84 sc = serviceLocator()->getService(RawDataInputSvc_Name.c_str(), svc);
90 if ( m_inputSvc == 0 ) {
91 log<<MSG::WARNING<<
" Cant cast to RawDataInputSvc " <<endreq;
92 return StatusCode::FAILURE ;
97 return StatusCode::SUCCESS;