29 #ifndef L1MUBM_ADDRESS_ARRAY_H
30 #define L1MUBM_ADDRESS_ARRAY_H
79 void setStations(
int adr1,
int adr2,
int adr3,
int adr4);
94 static unsigned short int convert(
unsigned short int adr);
97 static bool sameWheel(
unsigned short int adr);
100 static bool nextWheel(
unsigned short int adr);
friend std::ostream & operator<<(std::ostream &, const L1MuBMAddressArray &)
output stream operator for address array
int trackAddressCode() const
get track address code (for eta track finder)
bool operator!=(const L1MuBMAddressArray &) const
unequal operator
unsigned short station(int stat) const
get address of a given station [1-4]
static unsigned short int convert(unsigned short int adr)
convert address to corresponding VHDL addresse
L1MuBMAddressArray converted() const
get converted Addresses
static bool nextWheel(unsigned short int adr)
is it a next wheel address?
L1MuBMAddressArray()
default constructor
void setStations(int adr1, int adr2, int adr3, int adr4)
set addresses of all four stations
static bool sameWheel(unsigned short int adr)
is it a same wheel address?
L1MuBMAddressArray & operator=(const L1MuBMAddressArray &)
assignment operator
bool operator==(const L1MuBMAddressArray &) const
equal operator
void reset()
reset address array
void setStation(int stat, int adr)
set address of a given station [1-4]
virtual ~L1MuBMAddressArray()
destructor
unsigned short int m_station[4]