Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 #ifndef HLTDiJetEtaTopologyFilter_h
0002 #define HLTDiJetEtaTopologyFilter_h
0003 
0004 /** \class HLTDiJetEtaTopologyFilter
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 HLTDiJetEtaTopologyFilter : public HLTFilter {
0024 public:
0025   explicit HLTDiJetEtaTopologyFilter(const edm::ParameterSet&);
0026   ~HLTDiJetEtaTopologyFilter() 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   const edm::InputTag inputJetTag_;  // input tag identifying jets
0034   const edm::EDGetTokenT<std::vector<T>> m_theJetToken;
0035   const double minPtAve_;
0036   const double atLeastOneJetAbovePT_;
0037   const double minPtTag_;
0038   const double minPtProbe_;
0039   const double minDphi_;
0040   const double tagEtaMin_;
0041   const double tagEtaMax_;
0042   const double probeEtaMin_;
0043   const double probeEtaMax_;
0044   const bool applyAbsToTag_;
0045   const bool applyAbsToProbe_;
0046   const bool oppositeEta_;
0047   const int triggerType_;
0048 };
0049 
0050 #endif  //HLTDiJetEtaTopologyFilter_h