17 int sector = in_track.
Sector() - 1;
31 int me1_ch_id = (ptlut_data.
bt_vi[0] == 0 && ptlut_data.
bt_vi[1] != 0) ? ptlut_data.
bt_ci[1]+16 : ptlut_data.
bt_ci[0];
32 int me2_ch_id = ptlut_data.
bt_ci[2];
33 int me3_ch_id = ptlut_data.
bt_ci[3];
34 int me4_ch_id = ptlut_data.
bt_ci[4];
36 int me1_seg_id = (ptlut_data.
bt_vi[0] == 0 && ptlut_data.
bt_vi[1] != 0) ? ptlut_data.
bt_si[1] : ptlut_data.
bt_si[0];
37 int me2_seg_id = ptlut_data.
bt_si[2];
38 int me3_seg_id = ptlut_data.
bt_si[3];
39 int me4_seg_id = ptlut_data.
bt_si[4];
41 auto get_gmt_chamber_me1 = [](
int ch) {
58 auto get_gmt_chamber = [](
int ch) {
93 for (
const auto& in_track : in_tracks) {
94 int bx = in_track.BX();
96 if (gmtMinBX <= bx && bx <= gmtMaxBX) {
void setHwPhi(int bits)
Set compressed relative phi as transmitted by hardware LSB = 2*pi/576 (8 bits)
l1t::EMTFTrackCollection EMTFTrackCollection
void setTFIdentifiers(int processor, tftype trackFinder)
Set the processor ID, track-finder type. From these two, the link is set.
void setTrackSubAddress(bmtfAddress subAddress, int value)
Set a part of the muon candidates track address; specialised for BMTF.
void setHwHF(bool bit)
Set HF (halo / fine eta) bit (EMTF: halo -> 1; BMTF: fine eta -> 1)
void setHwQual(int bits)
Set compressed quality code as transmitted by hardware (4 bits)
void setHwPt(int bits)
Set compressed pT as transmitted by hardware LSB = 0.5 (9 bits)
void setHwEta(int bits)
Set compressed eta as transmitted by hardware LSB = 0.010875 (9 bits)
void setBXRange(int bxFirst, int bxLast)
void setHwSignValid(int bits)
Set whether charge measurement is valid (0 for high pT muons)
int GMT_charge_valid() const
void convert_all(const EMTFTrackCollection &in_tracks, l1t::RegionalMuonCandBxCollection &out_cands) const
void convert(const EMTFTrack &in_track, l1t::RegionalMuonCand &out_cand) const
void push_back(int bx, T object)
void setHwSign(int bits)
Set charge sign bit (charge = (-1)^(sign))