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::Const>
63 :
public RawDataProxyBase<typename Utils::ContainerAccessHelper<PhaseII::PixelRawDataContainer, accessPolicy>::ContainerType >
80 template <AccessPolicy accessPolicy>
87 template <AccessPolicy accessPolicy=AccessPolicy::Const>
89 accessPolicy>::ContainerType >;
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::PixelRawDataTypeTraits< PhaseII::AccessPolicy::Mutable >::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< typename Utils::ContainerAccessHelper< PhaseII::PixelRawDataContainer, accessPolicy >::ContainerType > BASE
Base class for an RDO proxy.
Utils::ElementProxyBase< T_RawDataContainer, unsigned int > BASE
const auto & dataWord() const
RawDataTypeTraits< typename Utils::ContainerAccessHelper< PixelRawDataContainer, accessPolicy >::ContainerType > PixelRawDataTypeTraits
helper class to define all the proxies for a RDO container.
typename Utils::ContainerAccessHelper< PhaseII::IndexedRanges< ContainerNonConst, std::atomic< PhaseII::DataRange > >, accessPolicy >::ContainerType ContainerCollection
PixelRawDataProxy< accessPolicy > RawDataProxy