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