Go to the documentation of this file.
22 #ifndef L1MUBM_TRACK_ASSEBMLER_H
23 #define L1MUBM_TRACK_ASSEBMLER_H
61 void reset()
override;
int address(int id, int stat) const
get address of a single station of selected track candidate
L1MuBMAddressArray address(int id) const
get address-array of selected track candidate
static const std::string input
static unsigned int priorityEncoder22(const std::bitset< 22 > &input)
22 bit priority encoder
void runEncoderSubUnit1(unsigned &global, unsigned &group, unsigned &priority)
run the first Priority Encoder Sub-Unit
static unsigned long subBitset68(const std::bitset< 68 > &input, int pos, int length)
get sub-bitmap of a 68-bit word
static unsigned int priorityEncoder12(const std::bitset< 12 > &input)
12 bit priority encoder
unsigned short station(int stat) const
get address of a given station [1-4]
void runAddressAssignment2(int global, int group)
run the second Address Assignment Sub-Unit
~L1MuBMTrackAssembler() override
destructor
std::bitset< 4 > m_theBitMaps[2]
void runAddressAssignment1(int global, int group)
run the first Address Assignment Sub-Unit
void run() override
run Track Assembler
const std::bitset< 4 > & trackBitMap(int id) const
return bitmap of found track
std::bitset< 68 > m_thePriorityTable1
std::bitset< 56 > m_thePriorityTable2
static unsigned int priorityEncoder21(const std::bitset< 21 > &input)
21 bit priority encoder
L1MuBMAddressArray m_theAddresses[2]
static unsigned int priorityEncoder4(const std::bitset< 4 > &input)
4 bit priority encoder
unsigned int m_theLastAddressI[12]
static std::bitset< 56 > getCancelationTable(unsigned int)
cancel Out Table
L1MuBMTrackAssembler(const L1MuBMSectorProcessor &)
constructor
void runEncoderSubUnit2(unsigned &global, unsigned &group, unsigned &priority)
run the second Priority Encoder Sub-Unit
bool isEmpty(int id) const
is it a valid Track Class?
TrackClass trackClass(int id) const
return Track Class of found track
void print() const
print result of Track Assembler
static unsigned int addressEncoder12(const std::bitset< 12 > &input)
12 bit address encoder
static unsigned int addressEncoder12s(const std::bitset< 12 > &input)
special 12 bit address encoder
static unsigned long subBitset56(const std::bitset< 56 > &input, int pos, int length)
get sub-bitmap of a 56-bit word
const L1MuBMSectorProcessor & m_sp
unsigned int m_theLastAddress[68]
void reset() override
reset Track Assembler