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 {class ParameterSet;}
9 
11 public:
12  typedef std::pair<const reco::Track*, SeedingHitSet > TrackAndHits;
13  typedef std::vector<TrackAndHits> TracksAndHits;
15  virtual ~L1MuonSeedsMerger(){}
16  virtual void resolve(TracksAndHits &) const;
17 private:
18  enum Action { goAhead, killFirst, killSecond, mergeTwo };
19  struct Less { bool operator()(const TrackAndHits&, const TrackAndHits&) const; };
20  const TrackAndHits* merge(const TrackAndHits*,const TrackAndHits*) const;
21  Action compare(const TrackAndHits*, const TrackAndHits*) const;
22 private:
25 };
26 #endif
bool compare(const P &i, const P &j)
std::pair< const reco::Track *, SeedingHitSet > TrackAndHits
virtual ~L1MuonSeedsMerger()
std::vector< TrackAndHits > TracksAndHits
bool merge(LuminosityBlockRange &lh, LuminosityBlockRange &rh)
HLT enums.