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
PrimitiveMatching::fixZonePhi_
bool fixZonePhi_
Definition: PrimitiveMatching.h:35
PrimitiveMatching::hit_sort_pair_t
std::pair< int, hit_ptr_t > hit_sort_pair_t
Definition: PrimitiveMatching.h:9
PrimitiveMatching
Definition: PrimitiveMatching.h:6
HLT_FULL_cff.track
track
Definition: HLT_FULL_cff.py:11776
relativeConstraints.station
station
Definition: relativeConstraints.py:67
EMTFRoadCollection
l1t::EMTFRoadCollection EMTFRoadCollection
Definition: Common.h:25
l1GtPatternGenerator_cfi.bx
bx
Definition: l1GtPatternGenerator_cfi.py:18
PrimitiveMatching::verbose_
int verbose_
Definition: PrimitiveMatching.h:33
PrimitiveMatching::bugME11Dupes_
bool bugME11Dupes_
Definition: PrimitiveMatching.h:36
makeMuonMisalignmentScenario.endcap
endcap
Definition: makeMuonMisalignmentScenario.py:320
PrimitiveMatching::hit_ptr_t
EMTFHitCollection::const_iterator hit_ptr_t
Definition: PrimitiveMatching.h:8
EMTFHitCollection
l1t::EMTFHitCollection EMTFHitCollection
Definition: Common.h:23
verbose
static constexpr int verbose
Definition: HLTExoticaSubAnalysis.cc:25
l1t::EMTFTrack
Definition: EMTFTrack.h:42
PrimitiveMatching::useNewZones_
bool useNewZones_
Definition: PrimitiveMatching.h:35
PrimitiveMatching::bugSt2PhDiff_
bool bugSt2PhDiff_
Definition: PrimitiveMatching.h:36
Common.h
PrimitiveMatching::endcap_
int endcap_
Definition: PrimitiveMatching.h:33
PrimitiveMatching::sector_
int sector_
Definition: PrimitiveMatching.h:33
PrimitiveMatching::process_single_zone_station
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
Definition: PrimitiveMatching.cc:219
PrimitiveMatching::configure
void configure(int verbose, int endcap, int sector, int bx, bool fixZonePhi, bool useNewZones, bool bugSt2PhDiff, bool bugME11Dupes)
Definition: PrimitiveMatching.cc:12
emtf::zone_array
std::array< T, NUM_ZONES > zone_array
Definition: Common.h:65
PrimitiveMatching::insert_hits
void insert_hits(hit_ptr_t conv_hit_ptr, const EMTFHitCollection &conv_hits, EMTFTrack &track) const
Definition: PrimitiveMatching.cc:434
PrimitiveMatching::process
void process(const std::deque< EMTFHitCollection > &extended_conv_hits, const emtf::zone_array< EMTFRoadCollection > &zone_roads, emtf::zone_array< EMTFTrackCollection > &zone_tracks) const
Definition: PrimitiveMatching.cc:31
PrimitiveMatching::bx_
int bx_
Definition: PrimitiveMatching.h:33