CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_6_1_2_SLHC4_patch1/src/RecoEgamma/EgammaHFProducers/plugins/HFEMClusterProducer.h

Go to the documentation of this file.
00001 #ifndef EgammaElectronProducers_HFEMClusterProducer_h
00002 #define EgammaElectronProducers_HFEMClusterProducer_h
00003 //Package:    EgammaHFProdcers
00004 // Class  :    HFClusterProducer
00005 // Original Author:  Kevin Klapoetke (minnesota)
00006 //        
00007 // $Id: HFClusterProducer.h,v 1.2 2007/09/19 Kevin Klapoetke
00008 //
00009 #include "HFClusterAlgo.h"
00010 #include "FWCore/Framework/interface/EDProducer.h"
00011 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00012 #include "FWCore/Framework/interface/EventSetup.h"
00013 #include "FWCore/Framework/interface/Event.h"
00014 
00015 class HFEMClusterProducer : public edm::EDProducer {
00016 public:
00017   explicit HFEMClusterProducer(edm::ParameterSet const& conf);
00018   virtual void produce(edm::Event& e, edm::EventSetup const& iSetup);
00019   virtual void beginRun(edm::Run&, edm::EventSetup const&){ algo_.resetForRun(); }
00020 private:
00021   edm::InputTag hfreco_;
00022   HFClusterAlgo algo_;
00023 };
00024 #endif