Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 #ifndef SUSY_HLT_VBF_Mu_H
0002 #define SUSY_HLT_VBF_Mu_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/CaloMET.h"
0014 #include "DataFormats/METReco/interface/CaloMETCollection.h"
0015 #include "DataFormats/METReco/interface/PFMET.h"
0016 #include "DataFormats/METReco/interface/PFMETCollection.h"
0017 
0018 // Muon
0019 #include "DataFormats/MuonReco/interface/Muon.h"
0020 #include "DataFormats/MuonReco/interface/MuonFwd.h"
0021 
0022 // Jets
0023 #include "DataFormats/JetReco/interface/CaloJet.h"
0024 #include "DataFormats/JetReco/interface/PFJet.h"
0025 
0026 // Trigger
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_VBF_Mu : public DQMEDAnalyzer {
0034 public:
0035   SUSY_HLT_VBF_Mu(const edm::ParameterSet &ps);
0036   ~SUSY_HLT_VBF_Mu() 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   // histos booking function
0045   void bookHistos(DQMStore::IBooker &);
0046 
0047   // variables from config file
0048   edm::EDGetTokenT<reco::MuonCollection> theMuonCollection_;
0049   edm::EDGetTokenT<reco::PFJetCollection> thePfJetCollection_;
0050   edm::EDGetTokenT<reco::CaloJetCollection> theCaloJetCollection_;
0051   edm::EDGetTokenT<edm::TriggerResults> triggerResults_;
0052   edm::EDGetTokenT<trigger::TriggerEvent> theTrigSummary_;
0053   edm::EDGetTokenT<reco::PFMETCollection> thePfMETCollection_;
0054   edm::EDGetTokenT<reco::CaloMETCollection> theCaloMETCollection_;
0055   HLTConfigProvider fHltConfig;
0056 
0057   std::string HLTProcess_;
0058   std::string triggerPath_;
0059   edm::InputTag triggerMetFilter_;
0060   edm::InputTag triggerDiJetFilter_;
0061   edm::InputTag triggerHTFilter_;
0062   edm::InputTag triggerMuFilter_;
0063   edm::InputTag triggerCaloMETFilter_;
0064   double ptThrJet_;
0065   double etaThrJet_;
0066   double ptThrJetTrig_;
0067   double etaThrJetTrig_;
0068   double metCut_;
0069   double deltaetaVBFJets;
0070   double dijet;
0071   double dijetOff;
0072   double pfmetOnlinethreshold;
0073   double muonOnlinethreshold;
0074   double htOnlinethreshold;
0075   double mjjOnlinethreshold;
0076   // Histograms
0077   MonitorElement *h_triggerMuPt;
0078   MonitorElement *h_triggerMuEta;
0079   MonitorElement *h_triggerMuPhi;
0080   MonitorElement *h_triggerCaloMet;
0081   MonitorElement *h_triggerMet;
0082   MonitorElement *h_triggerMetPhi;
0083   MonitorElement *h_Met;
0084   MonitorElement *h_ht;
0085   MonitorElement *h_DiJetMass;
0086   MonitorElement *h_den_muonpt;
0087   MonitorElement *h_num_muonpt;
0088   MonitorElement *h_den_muoneta;
0089   MonitorElement *h_num_muoneta;
0090   MonitorElement *h_den_mjj;
0091   MonitorElement *h_num_mjj;
0092   MonitorElement *h_den_ht;
0093   MonitorElement *h_num_ht;
0094   MonitorElement *h_den_met;
0095   MonitorElement *h_num_met;
0096 };
0097 
0098 #endif