Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 #ifndef HLTExclDiJetFilter_h
0002 #define HLTExclDiJetFilter_h
0003 
0004 /** \class HLTExclDiJetFilter
0005  *
0006  *  \author Dominique J. Mangeol
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 #include "DataFormats/CaloTowers/interface/CaloTowerCollection.h"
0015 
0016 namespace edm {
0017   class ConfigurationDescriptions;
0018 }
0019 
0020 //
0021 // class declaration
0022 //
0023 template <typename T>
0024 class HLTExclDiJetFilter : public HLTFilter {
0025 public:
0026   explicit HLTExclDiJetFilter(const edm::ParameterSet&);
0027   ~HLTExclDiJetFilter() override;
0028   static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
0029   bool hltFilter(edm::Event&,
0030                  const edm::EventSetup&,
0031                  trigger::TriggerFilterObjectWithRefs& filterproduct) const override;
0032 
0033 private:
0034   edm::EDGetTokenT<std::vector<T>> m_theJetToken;
0035   edm::EDGetTokenT<CaloTowerCollection> m_theCaloTowerCollectionToken;
0036   edm::InputTag inputJetTag_;   // input tag identifying jets
0037   edm::InputTag caloTowerTag_;  // input tag identifying caloTower collection
0038   double minPtJet_;
0039   double minHFe_;
0040   bool HF_OR_;
0041   int triggerType_;
0042 };
0043 
0044 #endif  //HLTExclDiJetFilter_h