Go to the documentation of this file. 1 #ifndef L1TMuonEndCap_PhiMemoryImage_h
2 #define L1TMuonEndCap_PhiMemoryImage_h
25 void set_bit(
unsigned int layer,
unsigned int bit);
27 void clear_bit(
unsigned int layer,
unsigned int bit);
29 bool test_bit(
unsigned int layer,
unsigned int bit)
const;
40 void rotl(
unsigned int n);
43 void rotr(
unsigned int n);
55 void check_input(
unsigned int layer,
unsigned int bit)
const;
63 static const unsigned int _units = 3;
void set_bit(unsigned int layer, unsigned int bit)
void set_word(unsigned int layer, unsigned int unit, value_type value)
std::ostream & operator<<(std::ostream &o, const PhiMemoryImage &p)
value_type _buffer[_layers][_units]
static const unsigned int _units
void swap(PhiMemoryImage &other)
void print(std::ostream &out) const
void set_straightness(int s)
void check_input(unsigned int layer, unsigned int bit) const
bool test_bit(unsigned int layer, unsigned int bit) const
void clear_bit(unsigned int layer, unsigned int bit)
value_type get_word(unsigned int layer, unsigned int unit) const
PhiMemoryImage & operator=(PhiMemoryImage other)
Basic3DVector unit() const
int get_straightness() const
void rotl(unsigned int n)
unsigned long long uint64_t
unsigned int op_and(const PhiMemoryImage &other) const
void rotr(unsigned int n)
static const unsigned int _layers