#include <L1MuDTAddressArray.h>
Public Member Functions | |
L1MuDTAddressArray | converted () const |
get converted Addresses More... | |
L1MuDTAddressArray () | |
default constructor More... | |
L1MuDTAddressArray (const L1MuDTAddressArray &) | |
copy constructor More... | |
bool | operator!= (const L1MuDTAddressArray &) const |
unequal operator More... | |
L1MuDTAddressArray & | operator= (const L1MuDTAddressArray &) |
assignment operator More... | |
bool | operator== (const L1MuDTAddressArray &) const |
equal operator More... | |
void | reset () |
reset address array More... | |
void | setStation (int stat, int adr) |
set address of a given station [1-4] More... | |
void | setStations (int adr1, int adr2, int adr3, int adr4) |
set addresses of all four stations More... | |
unsigned short | station (int stat) const |
get address of a given station [1-4] More... | |
int | trackAddressCode () const |
get track address code (for eta track finder) More... | |
virtual | ~L1MuDTAddressArray () |
destructor More... | |
Static Public Member Functions | |
static unsigned short int | convert (unsigned short int adr) |
convert address to corresponding VHDL addresse More... | |
static bool | nextWheel (unsigned short int adr) |
is it a next wheel address? More... | |
static bool | sameWheel (unsigned short int adr) |
is it a same wheel address? More... | |
Private Attributes | |
unsigned short int | m_station [4] |
Friends | |
std::ostream & | operator<< (std::ostream &, const L1MuDTAddressArray &) |
output stream operator for address array More... | |
Array of relative addresses Array of 4 relative addresses (one per station);<BR> the valid range of a relative address is 0 - 11 thus a relative address is a 4 bit word;<BR> address = 15 indicates a negative extrapolation result
* ------------------------ * | 4 5 | 6 7 | * P ------------+----------- * H | 0 1 | 2 3 | * I ------------+----------- * | 8 9 | 10 11 | * ------------+----------- * my Wheel next Wheel *
$Date: 2007/02/27 11:44:00 $ $Revision: 1.2 $ N. Neumeister CERN EP
Definition at line 52 of file L1MuDTAddressArray.h.
L1MuDTAddressArray::L1MuDTAddressArray | ( | ) |
L1MuDTAddressArray::L1MuDTAddressArray | ( | const L1MuDTAddressArray & | addarray | ) |
|
virtual |
|
static |
convert address to corresponding VHDL addresse
Definition at line 261 of file L1MuDTAddressArray.cc.
Referenced by converted().
L1MuDTAddressArray L1MuDTAddressArray::converted | ( | ) | const |
get converted Addresses
Definition at line 228 of file L1MuDTAddressArray.cc.
References convert(), and setStations().
|
static |
is it a next wheel address?
Definition at line 302 of file L1MuDTAddressArray.cc.
bool L1MuDTAddressArray::operator!= | ( | const L1MuDTAddressArray & | addarray | ) | const |
L1MuDTAddressArray & L1MuDTAddressArray::operator= | ( | const L1MuDTAddressArray & | addarray | ) |
bool L1MuDTAddressArray::operator== | ( | const L1MuDTAddressArray & | addarray | ) | const |
void L1MuDTAddressArray::reset | ( | void | ) |
reset address array
Definition at line 118 of file L1MuDTAddressArray.cc.
Referenced by L1MuDTTrackAssembler::reset(), L1MuDTAssignmentUnit::reset(), L1MuDTTrack::reset(), and L1MuDTTrackAssembler::run().
|
static |
is it a same wheel address?
Definition at line 291 of file L1MuDTAddressArray.cc.
void L1MuDTAddressArray::setStation | ( | int | stat, |
int | adr | ||
) |
set address of a given station [1-4]
Definition at line 130 of file L1MuDTAddressArray.cc.
Referenced by L1MuDTTrackAssembler::run().
void L1MuDTAddressArray::setStations | ( | int | adr1, |
int | adr2, | ||
int | adr3, | ||
int | adr4 | ||
) |
set addresses of all four stations
Definition at line 142 of file L1MuDTAddressArray.cc.
Referenced by converted(), L1MuDTTrackAssembler::runAddressAssignment1(), and L1MuDTTrackAssembler::runAddressAssignment2().
|
inline |
get address of a given station [1-4]
Definition at line 84 of file L1MuDTAddressArray.h.
References m_station.
Referenced by L1MuDTTrackAssembler::address(), L1MuDTTrack::address(), L1MuDTAssignmentUnit::getPtMethod(), geometryXMLparser.DTAlignable::index(), geometryXMLparser.CSCAlignable::index(), operator<<(), L1MuDTTrackAssembler::run(), and L1MuDTAssignmentUnit::TSR().
int L1MuDTAddressArray::trackAddressCode | ( | ) | const |
get track address code (for eta track finder)
Definition at line 155 of file L1MuDTAddressArray.cc.
References indexGen::s2.
Referenced by L1MuDTEtaProcessor::receiveAddresses().
|
friend |
output stream operator for address array
|
private |
Definition at line 106 of file L1MuDTAddressArray.h.
Referenced by L1MuDTAddressArray(), operator!=(), operator=(), operator==(), and station().