Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 #ifndef SUSY_HLT_InclusiveHT_H
0002 #define SUSY_HLT_InclusiveHT_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 // MET
0013 #include "DataFormats/METReco/interface/PFMET.h"
0014 #include "DataFormats/METReco/interface/PFMETCollection.h"
0015 
0016 // Jets
0017 #include "DataFormats/JetReco/interface/CaloJet.h"
0018 #include "DataFormats/JetReco/interface/PFJet.h"
0019 
0020 // Trigger
0021 #include "DataFormats/Common/interface/TriggerResults.h"
0022 #include "DataFormats/HLTReco/interface/TriggerEvent.h"
0023 #include "DataFormats/HLTReco/interface/TriggerEventWithRefs.h"
0024 #include "DataFormats/HLTReco/interface/TriggerObject.h"
0025 
0026 class SUSY_HLT_InclusiveHT : public DQMEDAnalyzer {
0027 public:
0028   SUSY_HLT_InclusiveHT(const edm::ParameterSet &ps);
0029   ~SUSY_HLT_InclusiveHT() override;
0030 
0031 protected:
0032   void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override;
0033   void analyze(edm::Event const &e, edm::EventSetup const &eSetup) override;
0034 
0035 private:
0036   // histos booking function
0037   void bookHistos(DQMStore::IBooker &);
0038 
0039   // variables from config file
0040   edm::EDGetTokenT<reco::PFMETCollection> thePfMETCollection_;
0041   edm::EDGetTokenT<reco::PFJetCollection> thePfJetCollection_;
0042   edm::EDGetTokenT<reco::CaloJetCollection> theCaloJetCollection_;
0043   edm::EDGetTokenT<edm::TriggerResults> triggerResults_;
0044   edm::EDGetTokenT<trigger::TriggerEvent> theTrigSummary_;
0045 
0046   std::string triggerPath_;
0047   std::string triggerPathAuxiliaryForHadronic_;
0048   edm::InputTag triggerFilter_;
0049   double ptThrJet_;
0050   double etaThrJet_;
0051 
0052   // Histograms
0053   MonitorElement *h_pfMet;
0054   MonitorElement *h_pfMetPhi;
0055   MonitorElement *h_pfHT;
0056   MonitorElement *h_caloHT;
0057   MonitorElement *h_pfJetPt;
0058   MonitorElement *h_pfJetEta;
0059   MonitorElement *h_pfJetPhi;
0060   MonitorElement *h_caloJetPt;
0061   MonitorElement *h_caloJetEta;
0062   MonitorElement *h_caloJetPhi;
0063   MonitorElement *h_triggerJetPt;
0064   MonitorElement *h_triggerJetEta;
0065   MonitorElement *h_triggerJetPhi;
0066   MonitorElement *h_triggerMetPt;
0067   MonitorElement *h_triggerMetPhi;
0068   MonitorElement *h_triggerHT;
0069   MonitorElement *h_pfMetTurnOn_num;
0070   MonitorElement *h_pfMetTurnOn_den;
0071   MonitorElement *h_pfHTTurnOn_num;
0072   MonitorElement *h_pfHTTurnOn_den;
0073 };
0074 
0075 #endif