File indexing completed on 2024-04-06 12:18:30
0001 #ifndef HLTPFJetIDProducer_h_
0002 #define HLTPFJetIDProducer_h_
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014 #include "FWCore/Framework/interface/stream/EDProducer.h"
0015 #include "FWCore/Framework/interface/Event.h"
0016 #include "FWCore/Framework/interface/EventSetup.h"
0017 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0018
0019 #include "DataFormats/JetReco/interface/PFJet.h"
0020 #include "DataFormats/JetReco/interface/PFJetCollection.h"
0021
0022 namespace edm {
0023 class ConfigurationDescriptions;
0024 }
0025
0026
0027 class HLTPFJetIDProducer : public edm::stream::EDProducer<> {
0028 public:
0029 explicit HLTPFJetIDProducer(const edm::ParameterSet& iConfig);
0030 ~HLTPFJetIDProducer() override;
0031 static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
0032 void produce(edm::Event& iEvent, const edm::EventSetup& iSetup) override;
0033
0034 private:
0035 double minPt_;
0036 double maxEta_;
0037 double CHF_;
0038 double NHF_;
0039 double CEF_;
0040 double NEF_;
0041 double maxCF_;
0042 int NCH_;
0043 int NTOT_;
0044 edm::InputTag inputTag_;
0045
0046 edm::EDGetTokenT<reco::PFJetCollection> m_thePFJetToken;
0047 };
0048
0049 #endif