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 
6 
8 public:
9  typedef EMTFHitCollection::const_iterator hit_ptr_t;
10  typedef std::pair<int, hit_ptr_t> hit_sort_pair_t; // key=ph_diff, value=hit
11 
12  void configure(
13  int verbose, int endcap, int sector, int bx,
14  bool fixZonePhi, bool useNewZones,
15  bool bugSt2PhDiff, bool bugME11Dupes
16  );
17 
18  void process(
19  const std::deque<EMTFHitCollection>& extended_conv_hits,
20  const emtf::zone_array<EMTFRoadCollection>& zone_roads,
22  ) const;
23 
25  int zone, int station,
26  const EMTFRoadCollection& roads,
27  const EMTFHitCollection& conv_hits,
28  std::vector<hit_sort_pair_t>& phi_differences
29  ) const;
30 
31  void insert_hits(
32  hit_ptr_t conv_hit_ptr, const EMTFHitCollection& conv_hits,
34  ) const;
35 
36 private:
38 
41 };
42 
43 #endif
l1t::EMTFRoadCollection EMTFRoadCollection
Definition: Common.h:26
std::pair< int, hit_ptr_t > hit_sort_pair_t
void insert_hits(hit_ptr_t conv_hit_ptr, const EMTFHitCollection &conv_hits, EMTFTrack &track) const
std::array< T, NUM_ZONES > zone_array
Definition: Common.h:76
l1t::EMTFHitCollection EMTFHitCollection
Definition: Common.h:24
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 process(const std::deque< EMTFHitCollection > &extended_conv_hits, const emtf::zone_array< EMTFRoadCollection > &zone_roads, emtf::zone_array< EMTFTrackCollection > &zone_tracks) const
void configure(int verbose, int endcap, int sector, int bx, bool fixZonePhi, bool useNewZones, bool bugSt2PhDiff, bool bugME11Dupes)