38 if ( trigData->getTrigChannel(9) != 1 ) {
40 return StatusCode::SUCCESS;
43 SmartDataPtr<Event::EventHeader> eventHeader(eventSvc(),
"/Event/EventHeader");
44 uint32_t evtNo = eventHeader->eventNumber();
45 uint32_t
runNo = eventHeader->runNumber();
49 uint32_t rdmEvtNo = 0xFFFFFFFF;
53 thePos = m_freader->raw_stream()->tellg();
55 data = m_freader->nextEvent();
62 if ( m_fcount < m_rdmFiles.size() ) {
64 rdmEvtNo = 0xFFFFFFFF;
68 fatal() <<
"can not find event " << evtNo <<
" in random trigger data files" << endmsg;
69 return StatusCode::FAILURE;
80 fatal() <<
"bad runNo in random trigger data" << endmsg;
81 return StatusCode::FAILURE;
84 }
while ( rdmEvtNo != evtNo );
86 m_idxhandler->addPos(
data[8+
data[5]], thePos);
88 return StatusCode::SUCCESS;