36 if( sc.isFailure() )
return sc;
38 std::string PackedRawDataCnvSvc_Name(
"PackedRawDataCnvSvc");
39 std::string RawDataInputSvc_Name(
"RawDataInputSvc");
40 std::string RawDataCnv_Name(
"RawDataCnv");
46 SmartIF<IService> pCnvSvc(conversionSvc());
47 if (isGaudiThreaded(pCnvSvc->name())){
48 PackedRawDataCnvSvc_Name += getGaudiThreadIDfromName(pCnvSvc->name());
49 RawDataInputSvc_Name += getGaudiThreadIDfromName(pCnvSvc->name());
50 RawDataCnv_Name += getGaudiThreadIDfromName(pCnvSvc->name());
55 MsgStream log(messageService(), RawDataCnv_Name.c_str());
66 sc = serviceLocator()->getService(RawDataInputSvc_Name.c_str(), svc);
67 if(sc != StatusCode::SUCCESS ) {
68 log<<MSG::WARNING <<
" Cant get RawDataInputSvc " <<endreq;
73 if(m_inputSvc == 0 ) {
74 log<<MSG::WARNING <<
" Cant cast to RawDataInputSvc " <<endreq;
75 return StatusCode::FAILURE ;
78 return StatusCode::SUCCESS;
120 std::string RawDataCnv_Name(
"RawDataCnv");
124 SmartIF<IService> pCnvSvc(conversionSvc());
125 if (isGaudiThreaded(pCnvSvc->name())){
126 RawDataCnv_Name += getGaudiThreadIDfromName(pCnvSvc->name());
129 MsgStream log(
msgSvc(), RawDataCnv_Name.c_str());
130 log << MSG::DEBUG <<
"RawDataCnv::createRep()" << endreq;
132 log << MSG::ERROR <<
"Could not downcast Event" << endreq;
133 return StatusCode::FAILURE;
136 return StatusCode::SUCCESS;