Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 #ifndef HLTEgammaDoubleEtFilter_h
0002 #define HLTEgammaDoubleEtFilter_h
0003 
0004 /** \class HLTEgammaDoubleEtFilter
0005  *
0006  *  \author Monica Vazquez Acosta (CERN)
0007  *
0008  */
0009 
0010 #include "HLTrigger/HLTcore/interface/HLTFilter.h"
0011 #include "DataFormats/Candidate/interface/Candidate.h"
0012 #include "DataFormats/Common/interface/Ref.h"
0013 #include "DataFormats/Common/interface/RefProd.h"
0014 #include "DataFormats/Common/interface/RefToBase.h"
0015 
0016 #include "DataFormats/HLTReco/interface/TriggerFilterObjectWithRefs.h"
0017 
0018 namespace edm {
0019   class ConfigurationDescriptions;
0020 }
0021 
0022 //
0023 // class decleration
0024 //
0025 
0026 class HLTEgammaDoubleEtFilter : public HLTFilter {
0027 public:
0028   explicit HLTEgammaDoubleEtFilter(const edm::ParameterSet&);
0029   ~HLTEgammaDoubleEtFilter() override;
0030   bool hltFilter(edm::Event&,
0031                  const edm::EventSetup&,
0032                  trigger::TriggerFilterObjectWithRefs& filterproduct) const override;
0033   static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
0034 
0035 private:
0036   edm::InputTag candTag_;  // input tag identifying product contains filtered candidates
0037   edm::EDGetTokenT<trigger::TriggerFilterObjectWithRefs> candToken_;
0038   double etcut1_;  // Et threshold in GeV
0039   double etcut2_;  // Et threshold in GeV
0040   int npaircut_;   // number of egammas required
0041 
0042   edm::InputTag l1EGTag_;
0043 };
0044 
0045 #endif  //HLTEgammaDoubleEtFilter_h