ATLAS Offline Software
Functions
ByteStreamDataTest Namespace Reference

Functions

void ROBDataT (OFFLINE_FRAGMENTS_NAMESPACE::ROBFragment *robFrag)
 

Function Documentation

◆ ROBDataT()

void ByteStreamDataTest::ROBDataT ( OFFLINE_FRAGMENTS_NAMESPACE::ROBFragment robFrag)

Definition at line 14 of file ROBData_t.cxx.

14  {
15 
16  typedef ROBData::iterator IT;
17 
18  ROBData* robData = new ROBData(robFrag);
19  ROBData robData2 = *robData;
20 
21  for (IT it = robData->begin(), it_e = robData->end(); it != it_e; ++it) {
22  [[maybe_unused]] uint32_t i = (*it);
23  ++i;
24  }
25 
26  robData->sub_detector();
27  robData->module_identifier();
28  robData2.sub_detector();
29 
30  delete robData; robData = 0;
31  return;
32  }
xAOD::uint32_t
setEventNumber uint32_t
Definition: EventInfo_v1.cxx:127
ROBData
ROBData_T< OFFLINE_FRAGMENTS_NAMESPACE::ROBFragment, OFFLINE_FRAGMENTS_NAMESPACE::PointerType > ROBData
Definition: ROBData.h:225
ROBData_T
templete data class to wrap ROB fragment for accessing ROD data
Definition: ROBData.h:46
skel.it
it
Definition: skel.GENtoEVGEN.py:396
ROBData_T::module_identifier
uint16_t module_identifier() const
Return the current module identifier.
Definition: ROBData.h:172
ROBData_T::end
iterator end(void) const
Instantiates an iterator over 32-bit integers to the last+1 element.
Definition: ROBData.h:161
ROBData_T::begin
iterator begin(void) const
Instantiates an iterator over 32-bit integers to the first element.
Definition: ROBData.h:156
lumiFormat.i
int i
Definition: lumiFormat.py:85
ROBData_T::iterator
This class defines how to iterate over the ROBData_T, in different formats.
Definition: ROBData.h:88
ROBData_T::sub_detector
eformat::SubDetector sub_detector() const
Return the current subdetector type.
Definition: ROBData.h:166