File indexing completed on 2024-04-06 12:18:55
0001 #ifndef SUSY_HLT_Muon_Hadronic_H
0002 #define SUSY_HLT_Muon_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/MuonReco/interface/Muon.h"
0014 #include "DataFormats/MuonReco/interface/MuonFwd.h"
0015
0016
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
0023 #include "DataFormats/JetReco/interface/CaloJet.h"
0024 #include "DataFormats/JetReco/interface/PFJet.h"
0025
0026
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_Muon_Hadronic : public DQMEDAnalyzer {
0034 public:
0035 SUSY_HLT_Muon_Hadronic(const edm::ParameterSet &ps);
0036 ~SUSY_HLT_Muon_Hadronic() 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
0045 void bookHistos(DQMStore::IBooker &);
0046
0047
0048 edm::EDGetTokenT<reco::MuonCollection> theMuonCollection_;
0049 edm::EDGetTokenT<reco::PFMETCollection> thePfMETCollection_;
0050 edm::EDGetTokenT<reco::PFJetCollection> thePfJetCollection_;
0051 edm::EDGetTokenT<reco::CaloJetCollection> theCaloJetCollection_;
0052 edm::EDGetTokenT<edm::TriggerResults> triggerResults_;
0053 edm::EDGetTokenT<trigger::TriggerEvent> theTrigSummary_;
0054
0055 HLTConfigProvider fHltConfig;
0056
0057 std::string HLTProcess_;
0058 std::string triggerPath_;
0059 std::string triggerPathAuxiliaryForMuon_;
0060 std::string triggerPathAuxiliaryForHadronic_;
0061 edm::InputTag triggerFilter_;
0062 double ptMuonOffline_;
0063 double etaMuonOffline_;
0064 double HTOffline_;
0065 double METOffline_;
0066 double ptThrJet_;
0067 double etaThrJet_;
0068
0069
0070 MonitorElement *h_triggerMuPt;
0071 MonitorElement *h_triggerMuEta;
0072 MonitorElement *h_triggerMuPhi;
0073 MonitorElement *h_pfMetTurnOn_num;
0074 MonitorElement *h_pfMetTurnOn_den;
0075 MonitorElement *h_pfHTTurnOn_num;
0076 MonitorElement *h_pfHTTurnOn_den;
0077 MonitorElement *h_MuTurnOn_num;
0078 MonitorElement *h_MuTurnOn_den;
0079 };
0080
0081 struct Lepton {
0082 float pt, phi, eta;
0083 };
0084
0085 #endif