CMS 3D CMS Logo

PrimitiveMatching.h
Go to the documentation of this file.
1 #ifndef L1TMuonEndCap_PrimitiveMatching_h
2 #define L1TMuonEndCap_PrimitiveMatching_h
3 
5 
7 public:
8  typedef EMTFHitCollection::const_iterator hit_ptr_t;
9  typedef std::pair<int, hit_ptr_t> hit_sort_pair_t; // key=ph_diff, value=hit
10 
11  void configure(int verbose,
12  int endcap,
13  int sector,
14  int bx,
15  bool fixZonePhi,
16  bool useNewZones,
17  bool bugSt2PhDiff,
18  bool bugME11Dupes);
19 
20  void process(const std::deque<EMTFHitCollection>& extended_conv_hits,
21  const emtf::zone_array<EMTFRoadCollection>& zone_roads,
22  emtf::zone_array<EMTFTrackCollection>& zone_tracks) const;
23 
24  void process_single_zone_station(int zone,
25  int station,
26  const EMTFRoadCollection& roads,
27  const EMTFHitCollection& conv_hits,
28  std::vector<hit_sort_pair_t>& phi_differences) const;
29 
30  void insert_hits(hit_ptr_t conv_hit_ptr, const EMTFHitCollection& conv_hits, EMTFTrack& track) const;
31 
32 private:
34 
37 };
38 
39 #endif
void process(const std::deque< EMTFHitCollection > &extended_conv_hits, const emtf::zone_array< EMTFRoadCollection > &zone_roads, emtf::zone_array< EMTFTrackCollection > &zone_tracks) const
bool verbose
std::pair< int, hit_ptr_t > hit_sort_pair_t
l1t::EMTFHitCollection EMTFHitCollection
Definition: Common.h:23
l1t::EMTFRoadCollection EMTFRoadCollection
Definition: Common.h:25
std::array< T, NUM_ZONES > zone_array
Definition: Common.h:65
EMTFHitCollection::const_iterator hit_ptr_t
void process_single_zone_station(int zone, int station, const EMTFRoadCollection &roads, const EMTFHitCollection &conv_hits, std::vector< hit_sort_pair_t > &phi_differences) const
void insert_hits(hit_ptr_t conv_hit_ptr, const EMTFHitCollection &conv_hits, EMTFTrack &track) const
void configure(int verbose, int endcap, int sector, int bx, bool fixZonePhi, bool useNewZones, bool bugSt2PhDiff, bool bugME11Dupes)