Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 #ifndef HLTDiJetAveEtaFilter_h
0002 #define HLTDiJetAveEtaFilter_h
0003 
0004 /** \class HLTDiJetAveEtaFilter
0005  *
0006  *  \author Tomasz Fruboes
0007  *    based on HLTDiJetAveFilter
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 HLTDiJetAveEtaFilter : public HLTFilter {
0024 public:
0025   explicit HLTDiJetAveEtaFilter(const edm::ParameterSet&);
0026   ~HLTDiJetAveEtaFilter() 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::EDGetTokenT<std::vector<T>> m_theJetToken;
0034   edm::InputTag inputJetTag_;  // input tag identifying jets
0035   double minPtJet_;
0036   double minPtAve_;
0037   //double minPtJet3_;
0038   double minDphi_;
0039   double tagEtaMin_;
0040   double tagEtaMax_;
0041   double probeEtaMin_;
0042   double probeEtaMax_;
0043   int triggerType_;
0044 };
0045 
0046 #endif  //HLTDiJetAveEtaFilter_h