![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
ATLAS Offline Software
|
Go to the documentation of this file.
10 #include "GaudiKernel/MsgStream.h"
34 if(StatusCode::SUCCESS != serviceLocator()->getService(
"ROBDataProviderSvc",
svc)){
36 return StatusCode::FAILURE;
40 ATH_MSG_ERROR(
" LArDigitContByteStreamCnv: Can't cast to ByteStreamInputSvc " );
41 return StatusCode::FAILURE;
46 NTupleFilePtr file1(
ntupleSvc(),
"/NTUPLES/FILE1");
49 return StatusCode::FAILURE;
53 nt=
ntupleSvc()->book(
"/NTUPLES/FILE1/BCIDS",CLID_ColumnWiseTuple,
"BCIDs");
57 return StatusCode::FAILURE;
66 return StatusCode::SUCCESS;
75 unsigned RODCounter=0;
79 ATH_MSG_FATAL(
"RawEvent retrieved by TBCheckBCIDs is a null pointer!" );
80 return StatusCode::FAILURE;
84 const size_t MAX_ROBFRAGMENTS = 2048*1024;
88 size_t robcount =
re->children(robF,MAX_ROBFRAGMENTS);
89 if (robcount == MAX_ROBFRAGMENTS)
92 return StatusCode::FAILURE;
101 for (
size_t irob=0; irob<robcount; ++irob)
112 return StatusCode::FAILURE;
115 ATH_MSG_VERBOSE( MSG::hex <<
"\t\tFull source ID: " << rob.source_id()<<MSG::dec );
116 ATH_MSG_VERBOSE(
"This ROD-Fragment consists of " << rob.rod_fragment_size_word() <<
" words" );
121 ATH_MSG_DEBUG(
"RODID 0x" << MSG::hex << rob.rod_source_id() <<
" BCID 0x"
122 << rob.rod_bc_id() << MSG::dec );
127 return StatusCode::SUCCESS;
131 {
return StatusCode::SUCCESS;}
NTuple::Item< long > m_EventID
OFFLINE_FRAGMENTS_NAMESPACE::FullEventFragment RawEvent
data type for reading raw event
#define ATH_MSG_VERBOSE(x)
Interface class for managing ROB for both online and offline.
const DataType * PointerType
::StatusCode StatusCode
StatusCode definition for legacy code.
NTuple::Array< long > m_RODID
AthROOTErrorHandlerSvc * svc
virtual const RawEvent * getEvent()=0
Retrieve the whole event.
NTuple::Item< long > m_LVL1ID
TBCheckBCIDs(const std::string &name, ISvcLocator *pSvcLocator)
NTuple::Tuple * m_ntuplePtr
NTuple::Item< long > m_RODIndex
#define ATH_MSG_WARNING(x)
const boost::regex re(r_e)
NTuple::Array< long > m_BCID
IROBDataProviderSvc * m_rdpSvc