Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 #ifndef HLTElectronEtFilter_h
0002 #define HLTElectronEtFilter_h
0003 
0004 /** \class HLTElectronEtFilter
0005  *
0006  *  \author Alessio Ghezzi
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 HLTElectronEtFilter : public HLTFilter {
0023 public:
0024   explicit HLTElectronEtFilter(const edm::ParameterSet&);
0025   ~HLTElectronEtFilter() 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 candTag_;  // input tag identifying product that contains filtered electrons
0033   edm::EDGetTokenT<trigger::TriggerFilterObjectWithRefs> candToken_;
0034 
0035   double EtEB_;  // threshold for regular cut (x < thr) - ECAL barrel
0036   double EtEE_;  // threshold for regular cut (x < thr) - ECAL endcap
0037 
0038   edm::InputTag l1EGTag_;
0039   int ncandcut_;
0040 };
0041 
0042 #endif  //HLTElectronEtFilter_h