1 #ifndef L1TMuonEndCap_PhiMemoryImage_h 2 #define L1TMuonEndCap_PhiMemoryImage_h 26 void set_bit(
unsigned int layer,
unsigned int bit);
28 void clear_bit(
unsigned int layer,
unsigned int bit);
30 bool test_bit(
unsigned int layer,
unsigned int bit) const;
34 value_type
get_word(
unsigned int layer,
unsigned int unit) const;
41 void rotl(
unsigned int n);
44 void rotr(
unsigned int n);
56 void check_input(
unsigned int layer,
unsigned int bit)
const;
64 static const unsigned int _units = 3;
unsigned int op_and(const PhiMemoryImage &other) const
void set_word(unsigned int layer, unsigned int unit, value_type value)
void set_straightness(int s)
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
void check_input(unsigned int layer, unsigned int bit) const
void clear_bit(unsigned int layer, unsigned int bit)
void print(std::ostream &out) const
value_type _buffer[_layers][_units]
int get_straightness() const
void rotr(unsigned int n)
void rotl(unsigned int n)
unsigned long long uint64_t
bool test_bit(unsigned int layer, unsigned int bit) const
void swap(PhiMemoryImage &other)
std::ostream & operator<<(std::ostream &o, const PhiMemoryImage &p)
static const unsigned int _layers