1 #ifndef L1Trigger_Phase2GMT_TPSAlgorithm_h 2 #define L1Trigger_Phase2GMT_TPSAlgorithm_h 28 ap_int<BITSSTUBETA>
eta;
37 ap_uint<BITSSTUBID>
id;
53 std::vector<PreTrackMatchedMuon>
cleanNeighbor(
const std::vector<PreTrackMatchedMuon>&
muons,
54 const std::vector<PreTrackMatchedMuon>& muonsPrevious,
55 const std::vector<PreTrackMatchedMuon>& muonsNext,
57 std::vector<l1t::TrackerMuon>
convert(std::vector<PreTrackMatchedMuon>&
muons,
uint maximum);
60 std::vector<l1t::TrackerMuon>
sort(std::vector<l1t::TrackerMuon>&
muons,
uint maximum);
65 ap_uint<BITSSIGMAETA + 1>
deltaEta(
const ap_int<BITSSTUBETA>&
eta1,
const ap_int<BITSSTUBETA>&
eta2);
66 ap_uint<BITSSIGMACOORD + 1>
deltaCoord(
const ap_int<BITSSTUBCOORD>& phi1,
const ap_int<BITSSTUBCOORD>& phi2);
73 std::vector<PreTrackMatchedMuon>
clean(std::vector<PreTrackMatchedMuon>&
muons);
ap_uint< BITSSIGMACOORD > sigma_coord1
const int BITSMATCHQUALITY
ap_int< BITSSTUBCOORD > coord1
match_t propagateAndMatch(const ConvertedTTTrack &track, const l1t::MuonStubRef &stub, uint trackID)
propagation_t propagate(const ConvertedTTTrack &track, uint layer)
muons
the two sets of parameters below are mutually exclusive, depending if RECO or ALCARECO is used the us...
ap_uint< BITSSIGMAETA > sigma_eta2
ap_uint< BITSSIGMACOORD > sigma_coord2
std::vector< edm::Ref< MuonStubCollection > > MuonStubRefVector
bool outputGT(std::vector< l1t::TrackerMuon > &muons)
ap_uint< BITSSIGMAETA+1 > deltaEta(const ap_int< BITSSTUBETA > &eta1, const ap_int< BITSSTUBETA > &eta2)
void matchingInfos(std::vector< match_t > matchInfo, PreTrackMatchedMuon &muon, ap_uint< BITSMATCHQUALITY > &quality)
void SetQualityBits(std::vector< l1t::TrackerMuon > &muons)
match_t getBest(const std::vector< match_t > matches)
ap_uint< 5 > cleanMuon(const PreTrackMatchedMuon &mu, const PreTrackMatchedMuon &other, bool eq)
std::vector< PreTrackMatchedMuon > processNonant(const std::vector< ConvertedTTTrack > &convertedTracks, const l1t::MuonStubRefVector &stubs)
ap_uint< BITSMATCHQUALITY - 2 > quality
ap_uint< BITSSIGMAETA > sigma_eta1
ap_uint< BITSSIGMACOORD+1 > deltaCoord(const ap_int< BITSSTUBCOORD > &phi1, const ap_int< BITSSTUBCOORD > &phi2)
std::vector< l1t::TrackerMuon > convert(std::vector< PreTrackMatchedMuon > &muons, uint maximum)
std::vector< PreTrackMatchedMuon > cleanNeighbor(const std::vector< PreTrackMatchedMuon > &muons, const std::vector< PreTrackMatchedMuon > &muonsPrevious, const std::vector< PreTrackMatchedMuon > &muonsNext, bool equality)
ap_int< BITSSTUBETA > eta
const unsigned int PHIDIVIDER
std::vector< PreTrackMatchedMuon > clean(std::vector< PreTrackMatchedMuon > &muons)
PreTrackMatchedMuon processTrack(const ConvertedTTTrack &, const l1t::MuonStubRefVector &)
std::vector< l1t::TrackerMuon > sort(std::vector< l1t::TrackerMuon > &muons, uint maximum)
TPSAlgorithm(const edm::ParameterSet &iConfig)
match_t match(const propagation_t prop, const l1t::MuonStubRef &stub, uint trackID)
ap_int< BITSSTUBCOORD > coord2
const unsigned int ETADIVIDER