File indexing completed on 2024-04-06 12:18:30
0001 #ifndef HLTMhtProducer_h_
0002 #define HLTMhtProducer_h_
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015 #include "FWCore/Framework/interface/stream/EDProducer.h"
0016 #include "FWCore/Framework/interface/Event.h"
0017 #include "FWCore/Framework/interface/EventSetup.h"
0018 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0019
0020 #include "DataFormats/Common/interface/View.h"
0021 #include "DataFormats/Candidate/interface/CandidateFwd.h"
0022 #include "DataFormats/ParticleFlowCandidate/interface/PFCandidate.h"
0023 #include "DataFormats/ParticleFlowCandidate/interface/PFCandidateFwd.h"
0024
0025 namespace edm {
0026 class ConfigurationDescriptions;
0027 }
0028
0029
0030 class HLTMhtProducer : public edm::stream::EDProducer<> {
0031 public:
0032 explicit HLTMhtProducer(const edm::ParameterSet& iConfig);
0033 ~HLTMhtProducer() override;
0034 static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
0035 void produce(edm::Event& iEvent, const edm::EventSetup& iSetup) override;
0036
0037 private:
0038
0039 bool usePt_;
0040
0041
0042
0043 bool excludePFMuons_;
0044
0045
0046 int minNJet_;
0047
0048
0049 double minPtJet_;
0050
0051
0052 double maxEtaJet_;
0053
0054
0055 edm::InputTag jetsLabel_;
0056 edm::InputTag pfCandidatesLabel_;
0057
0058 edm::EDGetTokenT<reco::CandidateView> m_theJetToken;
0059 edm::EDGetTokenT<reco::PFCandidateCollection> m_thePFCandidateToken;
0060 };
0061
0062 #endif