CMS 3D CMS Logo

L1MuonSeedsMerger.h
Go to the documentation of this file.
1 #ifndef RecoMuon_TrackerSeedGenerator_L1MuonSeedsMerger_H
2 #define RecoMuon_TrackerSeedGenerator_L1MuonSeedsMerger_H
3 
6 #include <vector>
7 
8 namespace edm {
9  class ParameterSet;
10 }
11 
13 public:
14  typedef std::pair<const reco::Track*, SeedingHitSet> TrackAndHits;
15  typedef std::vector<TrackAndHits> TracksAndHits;
17  virtual ~L1MuonSeedsMerger() {}
18  virtual void resolve(TracksAndHits&) const;
19 
20 private:
21  enum Action { goAhead, killFirst, killSecond, mergeTwo };
22  struct Less {
23  bool operator()(const TrackAndHits&, const TrackAndHits&) const;
24  };
25  const TrackAndHits* merge(const TrackAndHits*, const TrackAndHits*) const;
26  Action compare(const TrackAndHits*, const TrackAndHits*) const;
27 
28 private:
31 };
32 #endif
bool compare(const P &i, const P &j)
virtual ~L1MuonSeedsMerger()
std::vector< TrackAndHits > TracksAndHits
std::pair< const reco::Track *, SeedingHitSet > TrackAndHits
bool merge(LuminosityBlockRange &lh, LuminosityBlockRange &rh)
HLT enums.