Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:18:55

0001 #ifndef SUSY_HLT_ElecFakes_H
0002 #define SUSY_HLT_ElecFakes_H
0003 
0004 // event
0005 #include "FWCore/Framework/interface/Event.h"
0006 #include "FWCore/Framework/interface/EventSetup.h"
0007 
0008 // DQM
0009 #include "DQMServices/Core/interface/DQMEDAnalyzer.h"
0010 #include "DQMServices/Core/interface/DQMStore.h"
0011 
0012 // Muon
0013 #include "DataFormats/MuonReco/interface/Muon.h"
0014 #include "DataFormats/MuonReco/interface/MuonFwd.h"
0015 
0016 // MET
0017 #include "DataFormats/METReco/interface/CaloMET.h"
0018 #include "DataFormats/METReco/interface/CaloMETCollection.h"
0019 #include "DataFormats/METReco/interface/PFMET.h"
0020 #include "DataFormats/METReco/interface/PFMETCollection.h"
0021 
0022 // Jets
0023 #include "DataFormats/JetReco/interface/CaloJet.h"
0024 #include "DataFormats/JetReco/interface/PFJet.h"
0025 
0026 // Trigger
0027 #include "DataFormats/Common/interface/TriggerResults.h"
0028 #include "DataFormats/HLTReco/interface/TriggerEvent.h"
0029 #include "DataFormats/HLTReco/interface/TriggerEventWithRefs.h"
0030 #include "DataFormats/HLTReco/interface/TriggerObject.h"
0031 #include "HLTrigger/HLTcore/interface/HLTConfigProvider.h"
0032 
0033 class SUSY_HLT_ElecFakes : public DQMEDAnalyzer {
0034 public:
0035   SUSY_HLT_ElecFakes(const edm::ParameterSet &ps);
0036   ~SUSY_HLT_ElecFakes() override;
0037 
0038 protected:
0039   void dqmBeginRun(edm::Run const &, edm::EventSetup const &) override;
0040   void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override;
0041   void analyze(edm::Event const &e, edm::EventSetup const &eSetup) override;
0042 
0043 private:
0044   // histos booking function
0045   void bookHistos(DQMStore::IBooker &);
0046 
0047   // variables from config file
0048   edm::EDGetTokenT<edm::TriggerResults> triggerResults_;
0049   edm::EDGetTokenT<trigger::TriggerEvent> theTrigSummary_;
0050 
0051   HLTConfigProvider fHltConfig;
0052 
0053   std::string HLTProcess_;
0054   std::string triggerPath_;
0055   edm::InputTag triggerFilter_;
0056   edm::InputTag triggerJetFilter_;
0057 
0058   // Histograms
0059   MonitorElement *h_triggerElPt;
0060   MonitorElement *h_triggerElEta;
0061   MonitorElement *h_triggerElPhi;
0062   MonitorElement *h_triggerJetPt;
0063   MonitorElement *h_triggerJetEta;
0064   MonitorElement *h_triggerJetPhi;
0065   MonitorElement *h_triggerElJetdPhi;
0066 };
0067 
0068 #endif