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