Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 #ifndef HLTrigger_JetMET_HLTAlphaTFilter_h
0002 #define HLTrigger_JetMET_HLTAlphaTFilter_h
0003 
0004 /** \class HLTAlphaTFilter
0005  *
0006  *  \author Bryn Mathias
0007  *  \modified Adam Elwood
0008  */
0009 
0010 #include "HLTrigger/HLTcore/interface/HLTFilter.h"
0011 
0012 #include "DataFormats/HLTReco/interface/TriggerFilterObjectWithRefs.h"
0013 #include "DataFormats/METReco/interface/MET.h"
0014 #include "DataFormats/METReco/interface/METFwd.h"
0015 #include "DataFormats/JetReco/interface/CaloJetCollection.h"
0016 #include "DataFormats/JetReco/interface/PFJetCollection.h"
0017 
0018 namespace edm {
0019   class ConfigurationDescriptions;
0020 }
0021 
0022 //
0023 // class declaration
0024 //
0025 template <typename T>
0026 class HLTAlphaTFilter : public HLTFilter {
0027 public:
0028   explicit HLTAlphaTFilter(const edm::ParameterSet&);
0029   ~HLTAlphaTFilter() override;
0030   static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
0031   bool hltFilter(edm::Event&,
0032                  const edm::EventSetup&,
0033                  trigger::TriggerFilterObjectWithRefs& filterproduct) const override;
0034 
0035 private:
0036   edm::EDGetTokenT<std::vector<T>> m_theRecoJetToken;
0037   edm::EDGetTokenT<std::vector<T>> m_theFastJetToken;
0038 
0039   edm::InputTag inputJetTag_;         // input tag identifying jets
0040   edm::InputTag inputJetTagFastJet_;  // input tag identifying a second collection of jets
0041   std::vector<double> minPtJet_;
0042   std::vector<double> etaJet_;
0043   unsigned int maxNJets_;
0044   double minHt_;
0045   double minAlphaT_;
0046   int triggerType_;
0047   bool dynamicAlphaT_;
0048   bool setDHtZero_;
0049 };
0050 
0051 #endif  // HLTrigger_JetMET_HLTAlphaTFilter_h