CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_6_2_7/src/RecoEgamma/EgammaHFProducers/plugins/HFRecoEcalCandidateProducer.h

Go to the documentation of this file.
00001 #ifndef RECOLOCALCALO_HFCLUSTERPRODUCER_HFRECOECALCANDIDATEPRODUCER_H
00002 #define RECOLOCALCALO_HFCLUSTERPRODUCER_HFRECOECALCANDIDATEPRODUCER_H 1// -*- C++ -*-
00003 //
00004 // Package:    EgammaHFProducers
00005 // Class:      HFRecoEcalCandidateProducers
00006 // 
00009 //
00010 // Original Author:  Kevin Klapoetke University of Minnesota
00011 //         Created:  Wed 26 Sept 2007
00012 // $Id:
00013 //
00014 //
00015 
00016 #include "FWCore/Framework/interface/EDProducer.h"
00017 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00018 #include "FWCore/Framework/interface/Event.h"
00019 #include "FWCore/Framework/interface/EventSetup.h"
00020 #include "FWCore/Framework/interface/ESHandle.h"
00021 #include "HFRecoEcalCandidateAlgo.h"
00022 #include "HFValueStruct.h"
00023 
00024 class HFRecoEcalCandidateProducer : public edm::EDProducer {
00025  public:
00026   explicit HFRecoEcalCandidateProducer(edm::ParameterSet const& conf);
00027   virtual void produce(edm::Event& e, edm::EventSetup const& iSetup);
00028  private:
00029   std::vector<double> defaultDB_; 
00030   edm::InputTag hfclusters_,vertices_;
00031   int HFDBversion_;
00032   std::vector<double> HFDBvector_;
00033   bool doPU_; 
00034   double Cut2D_;
00035   double defaultSlope2D_;
00036   reco::HFValueStruct hfvars_;
00037   HFRecoEcalCandidateAlgo algo_;
00038 };
00039 
00040 #endif