00001 #ifndef HLTCaloJetIDProducer_h 00002 #define HLTCaloJetIDProducer_h 00003 00004 #include "FWCore/Framework/interface/EDProducer.h" 00005 #include "FWCore/ParameterSet/interface/ParameterSet.h" 00006 #include "FWCore/Framework/interface/Event.h" 00007 #include "FWCore/Framework/interface/EventSetup.h" 00008 #include "RecoJets/JetProducers/interface/JetIDHelper.h" 00009 00010 class HLTCaloJetIDProducer : public edm::EDProducer { 00011 public: 00012 explicit HLTCaloJetIDProducer(const edm::ParameterSet&); 00013 ~HLTCaloJetIDProducer(); 00014 virtual void beginJob() ; 00015 virtual void produce(edm::Event &, const edm::EventSetup&); 00016 private: 00017 edm::InputTag jetsInput_; 00018 double min_EMF_; // minimum EMF 00019 double max_EMF_; // maximum EMF 00020 int min_N90_; // mininum N90 00021 int min_N90hits_; // mininum Nhit90 00022 00023 reco::helper::JetIDHelper jetID_; 00024 00025 }; 00026 00027 #endif