Go to the documentation of this file.
29 #ifndef L1MUDT_ADDRESS_ARRAY_H
30 #define L1MUDT_ADDRESS_ARRAY_H
77 void setStations(
int adr1,
int adr2,
int adr3,
int adr4);
92 static unsigned short int convert(
unsigned short int adr);
95 static bool sameWheel(
unsigned short int adr);
98 static bool nextWheel(
unsigned short int adr);
L1MuDTAddressArray & operator=(const L1MuDTAddressArray &)
assignment operator
bool operator!=(const L1MuDTAddressArray &) 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
friend std::ostream & operator<<(std::ostream &, const L1MuDTAddressArray &)
output stream operator for address array
void reset()
reset address array
static bool nextWheel(unsigned short int adr)
is it a next wheel address?
void setStations(int adr1, int adr2, int adr3, int adr4)
set addresses of all four stations
int trackAddressCode() const
get track address code (for eta track finder)
unsigned short int m_station[4]
void setStation(int stat, int adr)
set address of a given station [1-4]
virtual ~L1MuDTAddressArray()
destructor
L1MuDTAddressArray converted() const
get converted Addresses
bool operator==(const L1MuDTAddressArray &) const
equal operator
L1MuDTAddressArray()
default constructor
static bool sameWheel(unsigned short int adr)
is it a same wheel address?