Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 #ifndef HLTElectronPFMTFilter_h
0002 #define HLTElectronPFMTFilter_h
0003 
0004 #include "HLTrigger/HLTcore/interface/HLTFilter.h"
0005 #include "DataFormats/HLTReco/interface/TriggerFilterObjectWithRefs.h"
0006 #include "FWCore/ParameterSet/interface/ConfigurationDescriptions.h"
0007 #include "FWCore/ParameterSet/interface/ParameterSetDescription.h"
0008 #include "FWCore/Utilities/interface/InputTag.h"
0009 #include "FWCore/Framework/interface/EventSetup.h"
0010 #include "FWCore/Framework/interface/ESHandle.h"
0011 #include "DataFormats/Common/interface/Handle.h"
0012 #include "FWCore/MessageLogger/interface/MessageLogger.h"
0013 #include "DataFormats/EgammaReco/interface/SuperCluster.h"
0014 #include "DataFormats/EgammaReco/interface/SuperClusterFwd.h"
0015 #include "DataFormats/RecoCandidate/interface/RecoEcalCandidate.h"
0016 #include "DataFormats/RecoCandidate/interface/RecoEcalCandidateFwd.h"
0017 #include "DataFormats/EgammaCandidates/interface/Electron.h"
0018 #include "DataFormats/EgammaCandidates/interface/ElectronFwd.h"
0019 #include "DataFormats/METReco/interface/MET.h"
0020 #include "DataFormats/METReco/interface/METCollection.h"
0021 #include "FWCore/ServiceRegistry/interface/Service.h"
0022 #include "CommonTools/UtilAlgos/interface/TFileService.h"
0023 #include "DataFormats/HLTReco/interface/TriggerTypeDefs.h"
0024 #include "FWCore/Framework/interface/MakerMacros.h"
0025 
0026 #include <vector>
0027 #include "TLorentzVector.h"
0028 #include "TVector3.h"
0029 
0030 //
0031 // class declaration
0032 //
0033 template <typename T>
0034 class HLTElectronPFMTFilter : public HLTFilter {
0035 public:
0036   explicit HLTElectronPFMTFilter(const edm::ParameterSet&);
0037   ~HLTElectronPFMTFilter() override;
0038   static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
0039   bool hltFilter(edm::Event&,
0040                  const edm::EventSetup&,
0041                  trigger::TriggerFilterObjectWithRefs& filterproduct) const override;
0042 
0043 private:
0044   edm::InputTag inputMetTag_;  // input tag identifying jets
0045   edm::EDGetTokenT<reco::METCollection> inputMetToken_;
0046   double minMht_;
0047 
0048   edm::InputTag inputEleTag_;  // input tag identifying egammas
0049   edm::EDGetTokenT<trigger::TriggerFilterObjectWithRefs> inputEleToken_;
0050   double lowerMTCut_;
0051   double upperMTCut_;
0052   int minN_;
0053   edm::InputTag l1EGTag_;
0054 };
0055 
0056 #endif  //HLTElectronPFMTFilter_h