00001 #ifndef HIBestVertexProducer_H 00002 #define HIBestVertexProducer_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 HIBestVertexProducer : public edm::EDProducer 00010 { 00011 public: 00012 explicit HIBestVertexProducer(const edm::ParameterSet& ps); 00013 ~HIBestVertexProducer(); 00014 virtual void produce(edm::Event& ev, const edm::EventSetup& es); 00015 00016 private: 00017 void beginJob(); 00018 edm::ParameterSet theConfig; 00019 edm::InputTag theBeamSpotTag; 00020 edm::InputTag theMedianVertexCollection; 00021 edm::InputTag theAdaptiveVertexCollection; 00022 }; 00023 #endif