Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:21:00

0001 #ifndef SUSY_HLT_Muon_BJet_H
0002 #define SUSY_HLT_Muon_BJet_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 // 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 #include "HLTrigger/HLTcore/interface/HLTConfigProvider.h"
0026 
0027 class SUSY_HLT_Muon_BJet : public DQMEDAnalyzer {
0028 public:
0029   SUSY_HLT_Muon_BJet(const edm::ParameterSet &ps);
0030   ~SUSY_HLT_Muon_BJet() override;
0031 
0032 protected:
0033   void dqmBeginRun(edm::Run const &, edm::EventSetup const &) override;
0034   void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override;
0035   void analyze(edm::Event const &e, edm::EventSetup const &eSetup) override;
0036 
0037 private:
0038   // histos booking function
0039   void bookHistos(DQMStore::IBooker &);
0040 
0041   // variables from config file
0042   edm::EDGetTokenT<reco::MuonCollection> theMuonCollection_;
0043   edm::EDGetTokenT<reco::PFJetCollection> thePfJetCollection_;
0044   edm::EDGetTokenT<reco::CaloJetCollection> theCaloJetCollection_;
0045   edm::EDGetTokenT<edm::TriggerResults> triggerResults_;
0046   edm::EDGetTokenT<trigger::TriggerEvent> theTrigSummary_;
0047 
0048   HLTConfigProvider fHltConfig;
0049 
0050   std::string HLTProcess_;
0051   std::string triggerPath_;
0052   edm::InputTag triggerFilterMuon_;
0053   edm::InputTag triggerFilterJet_;
0054   double ptThrJet_;
0055   double etaThrJet_;
0056 
0057   // Histograms
0058   MonitorElement *h_triggerMuPt;
0059   MonitorElement *h_triggerMuEta;
0060   MonitorElement *h_triggerMuPhi;
0061   MonitorElement *h_triggerJetPt;
0062   MonitorElement *h_triggerJetEta;
0063   MonitorElement *h_triggerJetPhi;
0064 };
0065 
0066 #endif