18 #ifndef L1MUBM_ASSIGNMENT_UNIT_H
19 #define L1MUBM_ASSIGNMENT_UNIT_H
102 int phiDiff(
int stat1,
int stat2)
const;
109 std::vector<const L1MuBMTrackSegPhi*>
m_TSphi;
L1MuBMLUTHandler::PtAssMethod getPtMethod() const
determine pt assignment method
L1MuBMAssignmentUnit(L1MuBMSectorProcessor &sp, int id)
constructor
void QuaAU()
assign quality
int getPtAddress(L1MuBMLUTHandler::PtAssMethod, int bendcharge=0) const
calculate bend angle
L1MuBMLUTHandler * thePtaLUTs
pt-assignment look-up tables
void TSR()
Track Segment Router.
std::vector< const L1MuBMTrackSegPhi * > m_TSphi
L1MuBMLUTHandler::PtAssMethod getPt1Method(L1MuBMLUTHandler::PtAssMethod) const
static int convertSector(int)
convert sector Id to 8 bit code (= sector center)
L1MuBMLUTHandler * thePhiLUTs
phi-assignment look-up tables
static unsigned short nbit_phib
of bits used for pt-assignment
static void setPrecision()
set precision of phi and phib
~L1MuBMAssignmentUnit()
destructor
void PtAU(const L1TMuonBarrelParams &)
assign pt and charge
void PhiAU(const L1TMuonBarrelParams &)
assign phi
int getPt1Address(L1MuBMLUTHandler::PtAssMethod) const
void run(const L1TMuonBarrelParams &mbtfParams)
run Assignment Unit
L1MuBMAddressArray m_addArray
void reset()
reset Assignment Unit
const L1MuBMTrackSegPhi * getTSphi(int station) const
get track segment from a given station
static int getCharge(L1MuBMLUTHandler::PtAssMethod)
determine charge
int getPt2Address(L1MuBMLUTHandler::PtAssMethod) const
L1MuBMLUTHandler::PtAssMethod getPt2Method(L1MuBMLUTHandler::PtAssMethod) const
int phiDiff(int stat1, int stat2) const
build difference of two phi values
L1MuBMSectorProcessor & m_sp
static unsigned short nbit_phi
of bits used for pt-assignment
L1MuBMLUTHandler::PtAssMethod m_ptAssMethod