Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 #ifndef HLTFatJetMassFilter_h
0002 #define HLTFatJetMassFilter_h
0003 
0004 /** \class HLTFatJetMassFilter
0005  *
0006  *  \author Maurizio Pierini
0007  *
0008  */
0009 
0010 #include "DataFormats/HLTReco/interface/TriggerFilterObjectWithRefs.h"
0011 #include "DataFormats/HLTReco/interface/TriggerTypeDefs.h"
0012 #include "HLTrigger/HLTcore/interface/HLTFilter.h"
0013 
0014 namespace edm {
0015   class ConfigurationDescriptions;
0016 }
0017 
0018 //
0019 // class declaration
0020 //
0021 
0022 template <typename jetType>
0023 class HLTFatJetMassFilter : public HLTFilter {
0024 public:
0025   explicit HLTFatJetMassFilter(const edm::ParameterSet&);
0026   ~HLTFatJetMassFilter() 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<jetType>> m_theJetToken;
0034   edm::InputTag inputJetTag_;  // input tag identifying jets
0035   double minMass_;
0036   double fatJetDeltaR_;
0037   double maxDeltaEta_;
0038   double maxJetEta_;
0039   double minJetPt_;
0040   int triggerType_;
0041 };
0042 
0043 #endif  //HLTFatJetMassFilter_h