Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 #ifndef HLTEgammaEtFilter_h
0002 #define HLTEgammaEtFilter_h
0003 
0004 /** \class HLTEgammaEtFilter
0005  *
0006  *  \author Monica Vazquez Acosta (CERN)
0007  *
0008  */
0009 
0010 #include "HLTrigger/HLTcore/interface/HLTFilter.h"
0011 
0012 #include "DataFormats/HLTReco/interface/TriggerFilterObjectWithRefs.h"
0013 
0014 namespace edm {
0015   class ConfigurationDescriptions;
0016 }
0017 
0018 //
0019 // class declaration
0020 //
0021 
0022 class HLTEgammaEtFilter : public HLTFilter {
0023 public:
0024   explicit HLTEgammaEtFilter(const edm::ParameterSet&);
0025   ~HLTEgammaEtFilter() override;
0026   bool hltFilter(edm::Event&,
0027                  const edm::EventSetup&,
0028                  trigger::TriggerFilterObjectWithRefs& filterproduct) const override;
0029   static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
0030 
0031 private:
0032   edm::InputTag inputTag_;  // input tag identifying product contains egammas
0033   edm::EDGetTokenT<trigger::TriggerFilterObjectWithRefs> inputToken_;
0034   double etcutEB_;  // Barrel Et threshold in GeV
0035   double etcutEE_;  // Endcap Et threshold in GeV
0036   int ncandcut_;    // number of egammas required
0037 
0038   edm::InputTag l1EGTag_;
0039 };
0040 
0041 #endif  //HLTEgammaEtFilter_h