1 #ifndef L1TMuonEndCap_PhiMemoryImage_h 2 #define L1TMuonEndCap_PhiMemoryImage_h 40 void rotl(
unsigned int n);
43 void rotr(
unsigned int n);
63 static const unsigned int _units = 3;
void set_word(unsigned int layer, unsigned int unit, value_type value)
void set_straightness(int s)
bool test_bit(unsigned int layer, unsigned int bit) const
void set_bit(unsigned int layer, unsigned int bit)
static const unsigned int _units
value_type get_word(unsigned int layer, unsigned int unit) const
constexpr std::array< uint8_t, layerIndexSize > layer
void clear_bit(unsigned int layer, unsigned int bit)
value_type _buffer[_layers][_units]
void print(std::ostream &out) const
void rotr(unsigned int n)
void rotl(unsigned int n)
Basic3DVector unit() const
void check_input(unsigned int layer, unsigned int bit) const
unsigned long long uint64_t
PhiMemoryImage & operator=(PhiMemoryImage other)
unsigned int op_and(const PhiMemoryImage &other) const
int get_straightness() const
void swap(PhiMemoryImage &other)
std::ostream & operator<<(std::ostream &o, const PhiMemoryImage &p)
static const unsigned int _layers