4#ifndef PHASEII_PIXELRAWDATACONTAINER_H
5#define PHASEII_PIXELRAWDATACONTAINER_H
22 static constexpr std::uint32_t
MASK_TOT = 0xFF;
47 static std::uint32_t
makeWord(
int tot,
int bcid,
int lvl1a,
int lvl1d) {
61 template <AccessPolicy accessPolicy=AccessPolicy::ReadOnly>
79 template <AccessPolicy accessPolicy>
86 template <AccessPolicy accessPolicy=AccessPolicy::ReadOnly>
macros to associate a CLID to a type
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
declare to which family the container belongs as far as its indexing policy is concerned
PhaseII::PixelRawDataContainerCollectionTypes<>::ContainerCollection PhaseIIPixelRawDataContainer
Base raw data container which provides coordinates of a certain dimension and a data word per RDO (ra...
static constexpr int unpack(std::uint32_t mask, unsigned int shift, unsigned int word)
static constexpr std::uint32_t pack(std::uint32_t mask, unsigned int shift, int input)
const std::uint32_t & dataWord(unsigned int index) const
The container for pixel RDOs The base class is the InDetRawDataContainer with a coordinate dimension ...
static constexpr std::uint32_t MASK_LVL1A
static constexpr std::uint32_t MASK_LVL1D
static constexpr unsigned int SHIFT_TOT
static std::uint32_t makeWord(int tot, int bcid, int lvl1a, int lvl1d)
static constexpr unsigned int SHIFT_LVL1D
static int getToT(std::uint32_t dataWord)
std::vector< std::uint64_t > & errors()
static constexpr unsigned int SHIFT_BCID
static int getLVL1A(std::uint32_t dataWord)
static constexpr std::uint32_t MASK_TOT
static int getLVL1ID(std::uint32_t dataWord)
static constexpr std::uint32_t MASK_BCID
static constexpr unsigned int SHIFT_LVL1A
static int getBCID(std::uint32_t dataWord)
const std::vector< std::uint64_t > & errors() const
std::vector< std::uint64_t > m_errors
A proxy for a pixel RDO which adds convenience methods to interpret the data word to the base proxy.
RawDataProxyBase< PhaseII::PixelRawDataContainer, accessPolicy > BASE
Base class for an RDO proxy.
const auto & dataWord() const
typename ContainerProxyBase< PhaseII::PixelRawDataContainer, unsigned int, accessPolicy >::template ElementProxyBase< accessPolicy > BASE
RawDataCollectionTypes< PixelRawDataContainer, accessPolicy > PixelRawDataContainerCollectionTypes
helper class to define all the proxies for a RDO container.
PhaseII::IndexedRanges< PixelRawDataContainer, std::atomic< PhaseII::DataRange > > ContainerCollection
PixelRawDataProxy< accessPolicy > RawDataProxy