7#ifndef BYTESTREAMDATA_ROBDATA_H
8#define BYTESTREAMDATA_ROBDATA_H
28#include "eformat/SourceIdentifier.h"
45template <
typename ROBFragment,
typename Po
interType>
134template <
class ROBFragment,
typename Po
interType>
139template <
class ROBFragment,
typename Po
interType>
143template <
class ROBFragment,
typename Po
interType>
148template <
class ROBFragment,
typename Po
interType>
155template <
class ROBFragment,
typename Po
interType>
160template <
class ROBFragment,
typename Po
interType>
165template <
class ROBFragment,
typename Po
interType>
167 eformat::helper::SourceIdentifier sid(
m_rob->rod_source_id());
168 return sid.subdetector_id();
171template <
class ROBFragment,
typename Po
interType>
174 eformat::helper::SourceIdentifier sid(
m_rob->rod_source_id());
175 return sid.module_id();
178template <
class ROBFragment,
typename Po
interType>
180 return m_rob->rod_ndata();
183template <
class ROBFragment,
typename Po
interType>
188template <
class ROBFragment,
typename Po
interType>
192template <
class ROBFragment,
typename Po
interType>
197template <
class ROBFragment,
typename Po
interType>
203template <
class ROBFragment,
typename Po
interType>
208template <
class ROBFragment,
typename Po
interType>
214template <
class ROBFragment,
typename Po
interType>
220template <
class ROBFragment,
typename Po
interType>
222 return m_it != other.m_it;
const DataType * PointerType
ROBData_T< OFFLINE_FRAGMENTS_NAMESPACE::ROBFragment, OFFLINE_FRAGMENTS_NAMESPACE::PointerType > ROBData
This class defines how to iterate over the ROBData_T, in different formats.
uint32_t operator*()
Dereferencing.
iterator & operator++()
Increment.
iterator(const iterator &other)
Copy Constructor.
bool operator!=(const iterator &other) const
Is not equal.
iterator(const PointerType &it)
The sole constructor was made private.
iterator & operator+=(const unsigned int &pos)
winding.
iterator & operator=(const iterator &other)
Assignment Operator.
template data class to wrap ROB fragment for accessing ROD data
const ROBFragment * m_rob
eformat::SubDetector sub_detector() const
Return the current subdetector type.
ROBData_T()
Default Constructor.
uint32_t no_of_elements() const
Return the number of 32-bit words inside the ROD.
iterator end() const
Instantiates an iterator over 32-bit integers to the last+1 element.
ROBData_T(const ROBFragment *rob)
Builds a "high-level" ROB Data object.
uint16_t module_identifier() const
Return the current module identifier.
ROBData_T(const ROBData_T &other)
Copy Constructor.
const ROBFragment * getROBFragment() const
Return the ROBFragment.
iterator begin() const
Instantiates an iterator over 32-bit integers to the first element.
ROBData_T & operator=(const ROBData_T &other)
Assignment Operator.