File indexing completed on 2023-03-17 11:09:31
0001 #ifndef HLTMinDPhiMETFilter_h_
0002 #define HLTMinDPhiMETFilter_h_
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014 #include "HLTrigger/HLTcore/interface/HLTFilter.h"
0015
0016 #include "DataFormats/METReco/interface/CaloMET.h"
0017 #include "DataFormats/METReco/interface/CaloMETFwd.h"
0018 #include "DataFormats/METReco/interface/MET.h"
0019 #include "DataFormats/METReco/interface/METFwd.h"
0020 #include "DataFormats/JetReco/interface/Jet.h"
0021 #include "DataFormats/JetReco/interface/JetCollection.h"
0022
0023 namespace edm {
0024 class ConfigurationDescriptions;
0025 }
0026
0027
0028 class HLTMinDPhiMETFilter : public HLTFilter {
0029 public:
0030 explicit HLTMinDPhiMETFilter(const edm::ParameterSet& iConfig);
0031 ~HLTMinDPhiMETFilter() override;
0032 static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
0033 bool hltFilter(edm::Event& iEvent,
0034 const edm::EventSetup& iSetup,
0035 trigger::TriggerFilterObjectWithRefs& filterproduct) const override;
0036
0037 private:
0038
0039 bool usePt_;
0040
0041
0042
0043
0044 int triggerType_;
0045
0046
0047 int maxNJets_;
0048
0049
0050 double minPt_;
0051
0052
0053 double maxEta_;
0054
0055
0056 double minDPhi_;
0057
0058
0059 edm::InputTag metLabel_;
0060 edm::InputTag calometLabel_;
0061 edm::InputTag jetsLabel_;
0062
0063 edm::EDGetTokenT<reco::METCollection> m_theMETToken;
0064 edm::EDGetTokenT<reco::CaloMETCollection> m_theCaloMETToken;
0065 edm::EDGetTokenT<reco::JetView> m_theJetToken;
0066 };
0067
0068 #endif