00001 #ifndef MuonSeedGenerator_MuonOverlapSeedFromRecHits_h 00002 #define MuonSeedGenerator_MuonOverlapSeedFromRecHits_h 00003 00004 #include "RecoMuon/TrackingTools/interface/MuonSeedFromRecHits.h" 00005 00006 class MuonOverlapSeedFromRecHits : public MuonSeedFromRecHits 00007 { 00008 public: 00009 00010 MuonOverlapSeedFromRecHits(); 00011 virtual ~MuonOverlapSeedFromRecHits() {} 00012 00013 std::vector<TrajectorySeed> seeds() const; 00014 00015 bool makeSeed(MuonTransientTrackingRecHit::ConstMuonRecHitPointer barrelHit, 00016 MuonTransientTrackingRecHit::ConstMuonRecHitPointer endcapHit, 00017 MuonTransientTrackingRecHit::ConstMuonRecHitPointer bestSegment, 00018 TrajectorySeed & result) const; 00019 00020 private: 00021 ConstMuonRecHitPointer bestHit( 00022 const MuonRecHitContainer & barrelHits, 00023 const MuonRecHitContainer & endcapHits) const; 00024 00025 }; 00026 00027 #endif 00028