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 00018 #include "FWCore/ParameterSet/interface/ParameterSet.h" 00019 00020 #include "DataFormats/Common/interface/Ref.h" 00021 #include "DataFormats/JetReco/interface/Jet.h" 00022 00023 class SeedGeneratorFromRegionHits; 00024 00025 class EgammaHLTRegionalPixelSeedGeneratorProducers : public edm::EDProducer 00026 { 00027 public: 00028 00029 explicit EgammaHLTRegionalPixelSeedGeneratorProducers(const edm::ParameterSet& conf); 00030 00031 virtual ~EgammaHLTRegionalPixelSeedGeneratorProducers(); 00032 00033 virtual void produce(edm::Event& e, const edm::EventSetup& c); 00034 00035 virtual void beginRun(edm::Run &run, const edm::EventSetup& es); 00036 virtual void endRun(edm::Run &run, const edm::EventSetup& es); 00037 00038 00039 private: 00040 edm::ParameterSet conf_; 00041 SeedGeneratorFromRegionHits *combinatorialSeedGenerator; 00042 double ptmin_; 00043 double vertexz_; 00044 double originradius_; 00045 double halflength_; 00046 double originz_; 00047 double deltaEta_; 00048 double deltaPhi_; 00049 edm::InputTag candTag_; 00050 edm::InputTag candTagEle_; 00051 bool useZvertex_; 00052 edm::InputTag BSProducer_; 00053 }; 00054 00055 #endif