00001 #ifndef SpecialSeedGenerators_GenericPairGenerator_h 00002 #define SpecialSeedGenerators_GenericPairGenerator_h 00003 //FWK 00004 #include "FWCore/ParameterSet/interface/ParameterSet.h" 00005 #include "FWCore/Framework/interface/Event.h" 00006 #include "FWCore/Framework/interface/EventSetup.h" 00007 00008 #include "RecoTracker/TkTrackingRegions/interface/OrderedHitsGenerator.h" 00009 #include "RecoTracker/TkTrackingRegions/interface/TrackingRegion.h" 00010 #include "RecoTracker/TkHitPairs/interface/OrderedHitPairs.h" 00011 #include "RecoTracker/TkSeedingLayers/interface/SeedingLayerSetsBuilder.h" 00012 #include "RecoTracker/TkSeedingLayers/interface/OrderedSeedingHits.h" 00013 00014 class GenericPairGenerator : public OrderedHitsGenerator { 00015 public: 00016 GenericPairGenerator(const edm::ParameterSet& conf); 00017 virtual ~GenericPairGenerator(){}; 00018 virtual const OrderedSeedingHits& run(const TrackingRegion& region, 00019 const edm::Event & ev, 00020 const edm::EventSetup& es); 00021 void clear() { hitPairs.clear();} 00022 private: 00023 ctfseeding::SeedingLayerSets init(const edm::EventSetup& es); 00024 //edm::ParameterSet conf_; 00025 SeedingLayerSetsBuilder theLsb; 00026 OrderedHitPairs hitPairs; 00027 }; 00028 00029 00030 #endif