File indexing completed on 2024-04-06 12:18:55
0001 #ifndef SUSY_HLT_MuEle_Hadronic_H
0002 #define SUSY_HLT_MuEle_Hadronic_H
0003
0004
0005 #include "FWCore/Framework/interface/Event.h"
0006 #include "FWCore/Framework/interface/EventSetup.h"
0007
0008
0009 #include "DQMServices/Core/interface/DQMEDAnalyzer.h"
0010 #include "DQMServices/Core/interface/DQMStore.h"
0011
0012
0013 #include "DataFormats/EgammaCandidates/interface/Electron.h"
0014 #include "DataFormats/EgammaCandidates/interface/ElectronFwd.h"
0015
0016 #include "DataFormats/EgammaCandidates/interface/GsfElectron.h"
0017 #include "DataFormats/EgammaCandidates/interface/GsfElectronFwd.h"
0018
0019
0020 #include "DataFormats/MuonReco/interface/Muon.h"
0021 #include "DataFormats/MuonReco/interface/MuonFwd.h"
0022
0023
0024 #include "DataFormats/JetReco/interface/CaloJet.h"
0025 #include "DataFormats/JetReco/interface/PFJet.h"
0026
0027
0028 #include "DataFormats/Common/interface/TriggerResults.h"
0029 #include "DataFormats/HLTReco/interface/TriggerEvent.h"
0030 #include "DataFormats/HLTReco/interface/TriggerEventWithRefs.h"
0031 #include "DataFormats/HLTReco/interface/TriggerObject.h"
0032 #include "HLTrigger/HLTcore/interface/HLTConfigProvider.h"
0033
0034 class SUSY_HLT_MuEle_Hadronic : public DQMEDAnalyzer {
0035 public:
0036 SUSY_HLT_MuEle_Hadronic(const edm::ParameterSet &ps);
0037 ~SUSY_HLT_MuEle_Hadronic() override;
0038
0039 protected:
0040 void dqmBeginRun(edm::Run const &, edm::EventSetup const &) override;
0041 void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override;
0042 void analyze(edm::Event const &e, edm::EventSetup const &eSetup) override;
0043
0044 private:
0045
0046 void bookHistos(DQMStore::IBooker &);
0047
0048
0049 edm::EDGetTokenT<reco::MuonCollection> theMuonCollection_;
0050 edm::EDGetTokenT<reco::GsfElectronCollection> theElectronCollection_;
0051 edm::EDGetTokenT<reco::PFJetCollection> thePfJetCollection_;
0052 edm::EDGetTokenT<reco::CaloJetCollection> theCaloJetCollection_;
0053 edm::EDGetTokenT<edm::TriggerResults> triggerResults_;
0054 edm::EDGetTokenT<trigger::TriggerEvent> theTrigSummary_;
0055
0056 HLTConfigProvider fHltConfig;
0057
0058 std::string HLTProcess_;
0059 std::string triggerPath_;
0060 std::string triggerPathAuxiliaryForMuEle_;
0061 std::string triggerPathAuxiliaryForHadronic_;
0062 edm::InputTag triggerFilter_;
0063 double ptThrJet_;
0064 double etaThrJet_;
0065
0066
0067 MonitorElement *h_triggerMuPt;
0068 MonitorElement *h_triggerMuEta;
0069 MonitorElement *h_triggerMuPhi;
0070 MonitorElement *h_triggerElePt;
0071 MonitorElement *h_triggerEleEta;
0072 MonitorElement *h_triggerElePhi;
0073 MonitorElement *h_triggerMuEleMass;
0074 MonitorElement *h_pfHTTurnOn_num;
0075 MonitorElement *h_pfHTTurnOn_den;
0076 MonitorElement *h_MuTurnOn_num;
0077 MonitorElement *h_MuTurnOn_den;
0078 MonitorElement *h_EleTurnOn_num;
0079 MonitorElement *h_EleTurnOn_den;
0080 };
0081
0082 #endif