1 #ifndef L1Trigger_Phase2GMT_TPSAlgorithm_h 2 #define L1Trigger_Phase2GMT_TPSAlgorithm_h 23 const unsigned int PROPMAX = ~ap_uint<BITSPROP>(0);
30 ap_int<BITSSTUBETA>
eta;
39 ap_uint<BITSSTUBID>
id;
55 std::vector<PreTrackMatchedMuon>
cleanNeighbor(
const std::vector<PreTrackMatchedMuon>&
muons,
56 const std::vector<PreTrackMatchedMuon>& muonsPrevious,
57 const std::vector<PreTrackMatchedMuon>& muonsNext,
59 std::vector<l1t::TrackerMuon>
convert(
const std::vector<PreTrackMatchedMuon>&
muons,
uint maximum)
const;
62 std::vector<l1t::TrackerMuon>
sort(std::vector<l1t::TrackerMuon>&
muons,
uint maximum)
const;
67 ap_uint<BITSSIGMAETA + 1>
deltaEta(
const ap_int<BITSSTUBETA>&
eta1,
const ap_int<BITSSTUBETA>&
eta2)
const;
68 ap_uint<BITSSIGMACOORD + 1>
deltaCoord(
const ap_int<BITSSTUBCOORD>& phi1,
const ap_int<BITSSTUBCOORD>& phi2)
const;
76 ap_uint<BITSMATCHQUALITY>&
quality)
const;
77 std::vector<PreTrackMatchedMuon>
clean(
const std::vector<PreTrackMatchedMuon>&
muons)
const;
ap_uint< BITSSIGMACOORD > sigma_coord1
const unsigned int PROPMAX
ap_uint< BITSSIGMAETA+1 > deltaEta(const ap_int< BITSSTUBETA > &eta1, const ap_int< BITSSTUBETA > &eta2) const
ap_uint< BITSSIGMACOORD+1 > deltaCoord(const ap_int< BITSSTUBCOORD > &phi1, const ap_int< BITSSTUBCOORD > &phi2) const
const int BITSMATCHQUALITY
ap_int< BITSSTUBCOORD > coord1
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< PreTrackMatchedMuon > cleanNeighbor(const std::vector< PreTrackMatchedMuon > &muons, const std::vector< PreTrackMatchedMuon > &muonsPrevious, const std::vector< PreTrackMatchedMuon > &muonsNext, bool equality) const
std::vector< edm::Ref< MuonStubCollection > > MuonStubRefVector
void SetQualityBits(std::vector< l1t::TrackerMuon > &muons) const
std::vector< PreTrackMatchedMuon > clean(const std::vector< PreTrackMatchedMuon > &muons) const
PreTrackMatchedMuon processTrack(const ConvertedTTTrack &, const l1t::MuonStubRefVector &) const
match_t match(const propagation_t prop, const l1t::MuonStubRef &stub, uint trackID) const
void matchingInfos(const std::vector< match_t > &matchInfo, PreTrackMatchedMuon &muon, ap_uint< BITSMATCHQUALITY > &quality) const
bool outputGT(std::vector< l1t::TrackerMuon > &muons) const
std::vector< PreTrackMatchedMuon > processNonant(const std::vector< ConvertedTTTrack > &convertedTracks, const l1t::MuonStubRefVector &stubs) const
ap_uint< 5 > cleanMuon(const PreTrackMatchedMuon &mu, const PreTrackMatchedMuon &other, bool eq) const
ap_uint< BITSMATCHQUALITY - 2 > quality
ap_uint< BITSSIGMAETA > sigma_eta1
match_t propagateAndMatch(const ConvertedTTTrack &track, const l1t::MuonStubRef &stub, uint trackID) const
std::vector< l1t::TrackerMuon > sort(std::vector< l1t::TrackerMuon > &muons, uint maximum) const
std::vector< l1t::TrackerMuon > convert(const std::vector< PreTrackMatchedMuon > &muons, uint maximum) const
ap_int< BITSSTUBETA > eta
const unsigned int PHIDIVIDER
match_t getBest(const std::vector< match_t > &matches) const
const unsigned int BITSPROP
propagation_t propagate(const ConvertedTTTrack &track, uint layer) const
ap_int< BITSSTUBCOORD > coord2
const unsigned int ETADIVIDER