00001 #ifndef RecoTracker_TkSeedGenerator_SeedGeneratorFromProtoTracksEDProducer_H 00002 #define RecoTracker_TkSeedGenerator_SeedGeneratorFromProtoTracksEDProducer_H 00003 00004 #include "FWCore/Framework/interface/EDProducer.h" 00005 #include "FWCore/Utilities/interface/InputTag.h" 00006 #include "FWCore/ParameterSet/interface/ParameterSet.h" 00007 00008 namespace edm { class Event; class EventSetup; } 00009 00010 00011 class SeedGeneratorFromProtoTracksEDProducer : public edm::EDProducer { 00012 public: 00013 SeedGeneratorFromProtoTracksEDProducer(const edm::ParameterSet& cfg); 00014 virtual ~SeedGeneratorFromProtoTracksEDProducer(){} 00015 virtual void produce(edm::Event& ev, const edm::EventSetup& es) override; 00016 private: 00017 edm::ParameterSet theConfig; 00018 edm::InputTag theInputCollectionTag; 00019 edm::InputTag theInputVertexCollectionTag; 00020 double originHalfLength; 00021 double originRadius; 00022 bool useProtoTrackKinematics; 00023 bool useEventsWithNoVertex; 00024 std::string builderName; 00025 }; 00026 #endif