38 std::string PackedRawDataCnvSvc_Name(
"PackedRawDataCnvSvc");
39 std::string RawDataInputSvc_Name(
"RawDataInputSvc");
40 std::string RawDataLumiDigiCnv_Name(
"RawDataLumiDigiCnv");
45 SmartIF<IService> pCnvSvc(conversionSvc());
46 if (isGaudiThreaded(pCnvSvc->name())){
47 PackedRawDataCnvSvc_Name += getGaudiThreadIDfromName(pCnvSvc->name());
48 RawDataInputSvc_Name += getGaudiThreadIDfromName(pCnvSvc->name());
49 RawDataLumiDigiCnv_Name += getGaudiThreadIDfromName(pCnvSvc->name());
54 if(StatusCode::SUCCESS!=sc)
59 MsgStream log(messageService(), RawDataLumiDigiCnv_Name.c_str());
63 StatusCode status = serviceLocator()->service(PackedRawDataCnvSvc_Name.c_str(), isvc,
true);
66 if(m_RawDataAccess == 0 ) {
67 log<<MSG::ERROR<<
" RawDataLumiCnv: Cant cast to RawDataCnvSvc " <<endreq;
68 return StatusCode::FAILURE ;
72 log << MSG::INFO <<
"RawDataCnvSvc retrieved "<< endreq;
75 sc = serviceLocator()->getService(RawDataInputSvc_Name.c_str(), svc);
76 if(sc != StatusCode::SUCCESS ) {
77 log<<MSG::WARNING <<
" Cant get RawDataInputSvc " <<endreq;
82 if(m_inputSvc == 0 ) {
83 log<<MSG::WARNING<<
" Cant cast to RawDataInputSvc " <<endreq;
84 return StatusCode::FAILURE ;
87 return StatusCode::SUCCESS;