File indexing completed on 2023-03-17 11:12:39
0001 #ifndef L1TMuonEndCap_BestTrackSelection_h
0002 #define L1TMuonEndCap_BestTrackSelection_h
0003
0004 #include "L1Trigger/L1TMuonEndCap/interface/Common.h"
0005
0006 class BestTrackSelection {
0007 public:
0008 void configure(int verbose,
0009 int endcap,
0010 int sector,
0011 int bx,
0012 int bxWindow,
0013 int maxRoadsPerZone,
0014 int maxTracks,
0015 bool useSecondEarliest,
0016 bool bugSameSectorPt0);
0017
0018 void process(const std::deque<EMTFTrackCollection>& extended_best_track_cands,
0019 EMTFTrackCollection& best_tracks) const;
0020
0021 void cancel_one_bx(const std::deque<EMTFTrackCollection>& extended_best_track_cands,
0022 EMTFTrackCollection& best_tracks) const;
0023
0024 void cancel_multi_bx(const std::deque<EMTFTrackCollection>& extended_best_track_cands,
0025 EMTFTrackCollection& best_tracks) const;
0026
0027 private:
0028 int verbose_, endcap_, sector_, bx_;
0029
0030 int bxWindow_;
0031 int maxRoadsPerZone_, maxTracks_;
0032 bool useSecondEarliest_;
0033 bool bugSameSectorPt0_;
0034 };
0035
0036 #endif