28 for (
unsigned int ibx = bx; ibx < bx + hit_persist; ++ibx) {
34 return (
data_[layer][channel] >> bx) & 1;
42 unsigned layers_hit = 0;
unsigned & operator()(const unsigned layer, const unsigned channel)
bool oneShotAtBX(const unsigned layer, const unsigned channel, const unsigned bx) const
constexpr std::array< uint8_t, layerIndexSize > layer
unsigned numberOfLayersAtBX(const unsigned bx) const
std::vector< std::vector< unsigned > > data_
unsigned bitsInPulse() const
bool isOneShotHighAtBX(const unsigned layer, const unsigned channel, const unsigned bx) const
void initialize(unsigned numberOfChannels)
void extend(const unsigned layer, const unsigned channel, const unsigned bx, const unsigned hit_persist)
unsigned numberOfChannels_