00001 #ifndef EgammaHLTRegionalPixelSeedGeneratorProducers_h 00002 #define EgammaHLTRegionalPixelSeedGeneratorProducers_h 00003 00004 // 00005 // Package: RecoEgamma/EgammaHLTProducers 00006 // Class: EgammaHLTRegionalPixelSeedGeneratorProducers 00007 // 00008 // Description: Calls RoadSeachSeedFinderAlgorithm 00009 // to find TrackingSeeds. 00010 00011 00012 #include "FWCore/Framework/interface/EDProducer.h" 00013 #include "FWCore/Framework/interface/Event.h" 00014 #include "DataFormats/Common/interface/Handle.h" 00015 #include "FWCore/Framework/interface/EventSetup.h" 00016 #include "FWCore/Utilities/interface/InputTag.h" 00017 #include "DataFormats/Common/interface/EDProduct.h" 00018 00019 #include "FWCore/ParameterSet/interface/ParameterSet.h" 00020 00021 #include "DataFormats/Common/interface/Ref.h" 00022 #include "DataFormats/JetReco/interface/Jet.h" 00023 00024 class SeedGeneratorFromRegionHits; 00025 00026 class EgammaHLTRegionalPixelSeedGeneratorProducers : public edm::EDProducer 00027 { 00028 public: 00029 00030 explicit EgammaHLTRegionalPixelSeedGeneratorProducers(const edm::ParameterSet& conf); 00031 00032 virtual ~EgammaHLTRegionalPixelSeedGeneratorProducers(); 00033 00034 virtual void produce(edm::Event& e, const edm::EventSetup& c); 00035 00036 virtual void beginRun(edm::Run &run, const edm::EventSetup& es); 00037 virtual void endRun(edm::Run &run, const edm::EventSetup& es); 00038 00039 00040 private: 00041 edm::ParameterSet conf_; 00042 SeedGeneratorFromRegionHits *combinatorialSeedGenerator; 00043 double ptmin_; 00044 double vertexz_; 00045 double originradius_; 00046 double halflength_; 00047 double originz_; 00048 double deltaEta_; 00049 double deltaPhi_; 00050 edm::InputTag candTag_; 00051 edm::InputTag candTagEle_; 00052 bool useZvertex_; 00053 edm::InputTag BSProducer_; 00054 }; 00055 00056 #endif