00001 #ifndef RecoTracker_TkSeedGenerator_SeedGeneratorFromRegionHitsEDProducer_H 00002 #define RecoTracker_TkSeedGenerator_SeedGeneratorFromRegionHitsEDProducer_H 00003 00004 #include "FWCore/Framework/interface/EDProducer.h" 00005 #include "FWCore/ParameterSet/interface/ParameterSet.h" 00006 00007 namespace edm { class Event; class EventSetup; } 00008 00009 class SeedGeneratorFromRegionHits; 00010 class TrackingRegionProducer; 00011 00012 class SeedGeneratorFromRegionHitsEDProducer : public edm::EDProducer { 00013 public: 00014 00015 SeedGeneratorFromRegionHitsEDProducer(const edm::ParameterSet& cfg); 00016 ~SeedGeneratorFromRegionHitsEDProducer(); 00017 00018 virtual void beginRun(edm::Run &run, const edm::EventSetup& es); 00019 virtual void endRun(edm::Run &run, const edm::EventSetup& es); 00020 00021 virtual void produce(edm::Event& ev, const edm::EventSetup& es); 00022 00023 private: 00024 edm::ParameterSet theConfig; 00025 SeedGeneratorFromRegionHits * theGenerator; 00026 TrackingRegionProducer* theRegionProducer; 00027 }; 00028 00029 #endif