Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:49:44

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