14 #ifndef L1MUDT_TRACK_H 15 #define L1MUDT_TRACK_H 60 void reset()
override;
159 void setTSphi(
const std::vector<const L1MuDTTrackSegPhi*>& tsList);
162 void setTSeta(
const std::vector<const L1MuDTTrackSegEta*>& tsList);
174 void print()
const override;
181 unsigned short int rank_f = 0;
182 unsigned short int rank_s = 0;
187 return rank_f > rank_s;
unsigned short station(int stat) const
get address of a given station [1-4]
void setFineEtaBit()
set fine eta bit
void print() const override
print parameters of muon candidate
std::vector< L1MuDTTrackSegEta > m_tsetaList
L1MuDTAddressArray m_addArray
~L1MuDTTrack() override
destructor
std::string name() const
get name of object
void setPt(int pt)
set pt-code of muon candidate
unsigned int eta() const
get eta-code (6 bits)
unsigned pt_packed() const
return pt packed as in hardware
unsigned int pt() const
get pt-code (5 bits)
int numberOfTSeta() const
return number of eta track segments used to form the muon candidate
const L1MuDTTrackSegEta & getStartTSeta() const
return start eta track segment of muon candidate
unsigned int quality() const
return quality
static bool rank(const L1MuDTTrack *first, const L1MuDTTrack *second)
define a rank for muon candidates
L1MuDTAddressArray address() const
get address-array for this muon candidate
void setTSeta(const std::vector< const L1MuDTTrackSegEta *> &tsList)
set eta track segments used to form the muon candidate
int numberOfTSphi() const
return number of phi track segments used to form the muon candidate
const L1MuDTTrackSegPhi & getEndTSphi() const
return end phi track segment of muon candidate
bool fineEtaBit() const
get fine eta bit
const L1MuDTTrackSegEta & getEndTSeta() const
return end eta track segment of muon candidate
void setTC(TrackClass tc)
set track-class of muon candidate
friend std::ostream & operator<<(std::ostream &, const L1MuDTTrack &)
output stream operator
unsigned phi_packed() const
return phi packed as in hardware
void setChargeValue(int charge)
Set Charge Value: -1, 1.
void setAddresses(const L1MuDTAddressArray &addr)
set relative addresses of muon candidate
void enable()
enable muon candidate
L1MuDTTrack & operator=(const L1MuDTTrack &)
assignment operator
void setEta(int eta)
set eta-code of muon candidate
U second(std::pair< T, U > const &p)
void reset() override
reset muon candidate
unsigned int phi() const
get phi-code (8 bits)
void setTSphi(const std::vector< const L1MuDTTrackSegPhi *> &tsList)
set phi track segments used to form the muon candidate
const std::vector< L1MuDTTrackSegPhi > & getTSphi() const
return all phi track segments of the muon candidate
const std::vector< L1MuDTTrackSegEta > & getTSeta() const
return all eta track segments of the muon candidate
void setQuality(unsigned int quality)
set quality of muon candidate
unsigned eta_packed() const
return eta packed as in hardware
void setType(unsigned type)
Set Type: 0 DT, 1 bRPC, 2 CSC, 3 fRPC.
std::vector< L1MuDTTrackSegPhi > m_tsphiList
int chargeValue() const
get charge
void disable()
disable muon candidate
bool isFineHalo() const
is it fine (DT) / halo (CSC) ?
void setPtPacked(unsigned pt)
Set Pt: 0..31.
L1MuDTTrack()
default constructor
bool operator!=(const L1MuDTTrack &) const
unequal operator
int charge() const
get charge (1 bit)
void setPhiPacked(unsigned phi)
Set Phi: 0..143.
bool empty() const override
is it an empty muon candidate?
void setQualityPacked(unsigned qual)
Set Quality: 0..7.
const L1MuDTTrackSegPhi & getStartTSphi() const
return start phi track segment of muon candidate
int address(int stat) const
get relative address of a given station
const L1MuDTSecProcId & spid() const
return Sector Processor in which the muon candidate was found
bool operator==(const L1MuDTTrack &) const
equal operator
void setChargeValid(bool valid)
Set Charge Valid.
TrackClass tc() const
get track-class
void setFineHalo(bool fh)
Set Fine / Halo.
void setPhi(int phi)
set phi-code of muon candidate
void setName(std::string name)
set name of object
void setCharge(int charge)
set charge of muon candidate