File indexing completed on 2024-04-06 12:18:55
0001 #ifndef SUSY_HLT_DoubleEle_Hadronic_H
0002 #define SUSY_HLT_DoubleEle_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/JetReco/interface/CaloJet.h"
0021 #include "DataFormats/JetReco/interface/PFJet.h"
0022
0023
0024 #include "DataFormats/Common/interface/TriggerResults.h"
0025 #include "DataFormats/HLTReco/interface/TriggerEvent.h"
0026 #include "DataFormats/HLTReco/interface/TriggerEventWithRefs.h"
0027 #include "DataFormats/HLTReco/interface/TriggerObject.h"
0028 #include "HLTrigger/HLTcore/interface/HLTConfigProvider.h"
0029
0030 class SUSY_HLT_DoubleEle_Hadronic : public DQMEDAnalyzer {
0031 public:
0032 SUSY_HLT_DoubleEle_Hadronic(const edm::ParameterSet &ps);
0033 ~SUSY_HLT_DoubleEle_Hadronic() override;
0034
0035 protected:
0036 void dqmBeginRun(edm::Run const &, edm::EventSetup const &) override;
0037 void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override;
0038 void analyze(edm::Event const &e, edm::EventSetup const &eSetup) override;
0039
0040 private:
0041
0042 void bookHistos(DQMStore::IBooker &);
0043
0044
0045 edm::EDGetTokenT<reco::GsfElectronCollection> theElectronCollection_;
0046 edm::EDGetTokenT<reco::PFJetCollection> thePfJetCollection_;
0047 edm::EDGetTokenT<reco::CaloJetCollection> theCaloJetCollection_;
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 std::string triggerPathAuxiliaryForElectron_;
0056 std::string triggerPathAuxiliaryForHadronic_;
0057 edm::InputTag triggerFilter_;
0058 double ptThrJet_;
0059 double etaThrJet_;
0060
0061
0062 MonitorElement *h_triggerElePt;
0063 MonitorElement *h_triggerEleEta;
0064 MonitorElement *h_triggerElePhi;
0065 MonitorElement *h_triggerDoubleEleMass;
0066 MonitorElement *h_pfHTTurnOn_num;
0067 MonitorElement *h_pfHTTurnOn_den;
0068 MonitorElement *h_EleTurnOn_num;
0069 MonitorElement *h_EleTurnOn_den;
0070 };
0071
0072 #endif