Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:18:30

0001 #ifndef HLTMonoJetFilter_h
0002 #define HLTMonoJetFilter_h
0003 
0004 /** \class HLTMonoJetFilter
0005  *
0006  *  \author Srimanobhas Phat
0007  *
0008  */
0009 
0010 #include "DataFormats/HLTReco/interface/TriggerTypeDefs.h"
0011 #include "HLTrigger/HLTcore/interface/HLTFilter.h"
0012 #include "DataFormats/HLTReco/interface/TriggerFilterObjectWithRefs.h"
0013 
0014 namespace edm {
0015   class ConfigurationDescriptions;
0016 }
0017 
0018 //
0019 // class declaration
0020 //
0021 
0022 template <typename T>
0023 class HLTMonoJetFilter : public HLTFilter {
0024 public:
0025   explicit HLTMonoJetFilter(const edm::ParameterSet&);
0026   ~HLTMonoJetFilter() override;
0027   static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
0028   bool hltFilter(edm::Event&,
0029                  const edm::EventSetup&,
0030                  trigger::TriggerFilterObjectWithRefs& filterproduct) const override;
0031 
0032 private:
0033   edm::InputTag inputJetTag_;  // input tag identifying jets
0034   edm::EDGetTokenT<std::vector<T>> m_theObjectToken;
0035   double maxPtSecondJet_;
0036   double maxDeltaPhi_;
0037   int triggerType_;
0038 };
0039 
0040 #endif  //HLTMonoJetFilter_h