Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 #ifndef HLTJetPairDzMatchFilter_h
0002 #define HLTJetPairDzMatchFilter_h
0003 
0004 #include "HLTrigger/HLTcore/interface/HLTFilter.h"
0005 #include "FWCore/Framework/interface/Event.h"
0006 #include "FWCore/Utilities/interface/InputTag.h"
0007 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0008 
0009 /** class HLTJetPairDzMatchFilter
0010  * an HLT filter which picks up a JetCollection (supposedly, of L2 tau jets)
0011  * and passes only events with at least one pair of non-overlapping jets with
0012  * vertices within some dz
0013  */
0014 namespace edm {
0015   class ConfigurationDescriptions;
0016 }
0017 
0018 template <typename T>
0019 class HLTJetPairDzMatchFilter : public HLTFilter {
0020 public:
0021   explicit HLTJetPairDzMatchFilter(const edm::ParameterSet&);
0022   ~HLTJetPairDzMatchFilter() 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::InputTag m_jetTag;
0030   edm::EDGetTokenT<std::vector<T> > m_jetToken;
0031   double m_jetMinPt;
0032   double m_jetMaxEta;
0033   double m_jetMinDR;
0034   double m_jetMaxDZ;
0035   int m_triggerType;
0036 };
0037 
0038 #endif