File indexing completed on 2024-04-06 12:18:56
0001 #ifndef SUSY_HLT_SingleLepton_H
0002 #define SUSY_HLT_SingleLepton_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/GsfElectron.h"
0015
0016
0017 #include "DataFormats/MuonReco/interface/Muon.h"
0018 #include "DataFormats/MuonReco/interface/MuonFwd.h"
0019
0020
0021 #include "DataFormats/METReco/interface/MET.h"
0022 #include "DataFormats/METReco/interface/METCollection.h"
0023 #include "DataFormats/METReco/interface/PFMET.h"
0024 #include "DataFormats/METReco/interface/PFMETCollection.h"
0025
0026
0027 #include "DataFormats/BTauReco/interface/JetTag.h"
0028 #include "DataFormats/JetReco/interface/PFJet.h"
0029
0030
0031 #include "DataFormats/Common/interface/TriggerResults.h"
0032 #include "DataFormats/HLTReco/interface/TriggerEvent.h"
0033 #include "DataFormats/HLTReco/interface/TriggerEventWithRefs.h"
0034 #include "DataFormats/HLTReco/interface/TriggerObject.h"
0035 #include "HLTrigger/HLTcore/interface/HLTConfigProvider.h"
0036
0037
0038 #include "DataFormats/VertexReco/interface/Vertex.h"
0039 #include "DataFormats/VertexReco/interface/VertexFwd.h"
0040
0041
0042 #include "DataFormats/EgammaCandidates/interface/Conversion.h"
0043 #include "DataFormats/EgammaCandidates/interface/ConversionFwd.h"
0044
0045
0046 #include "DataFormats/BeamSpot/interface/BeamSpot.h"
0047
0048 class SUSY_HLT_SingleLepton : public DQMEDAnalyzer {
0049 public:
0050 SUSY_HLT_SingleLepton(const edm::ParameterSet &ps);
0051 ~SUSY_HLT_SingleLepton() override;
0052
0053 protected:
0054 void dqmBeginRun(const edm::Run &run, const edm::EventSetup &e) override;
0055 void bookHistograms(DQMStore::IBooker &ibooker, const edm::Run &, const edm::EventSetup &) override;
0056 void analyze(const edm::Event &e, const edm::EventSetup &eSetup) override;
0057
0058 private:
0059
0060 edm::InputTag theElectronTag_;
0061 edm::EDGetTokenT<reco::GsfElectronCollection> theElectronCollection_;
0062 edm::InputTag theMuonTag_;
0063 edm::EDGetTokenT<reco::MuonCollection> theMuonCollection_;
0064 edm::InputTag thePfMETTag_;
0065 edm::EDGetTokenT<reco::PFMETCollection> thePfMETCollection_;
0066 edm::InputTag thePfJetTag_;
0067 edm::EDGetTokenT<reco::PFJetCollection> thePfJetCollection_;
0068 edm::InputTag theJetTagTag_;
0069 edm::EDGetTokenT<reco::JetTagCollection> theJetTagCollection_;
0070
0071 edm::InputTag theVertexCollectionTag_;
0072 edm::EDGetTokenT<reco::VertexCollection> theVertexCollection_;
0073 edm::InputTag theConversionCollectionTag_;
0074 edm::EDGetTokenT<reco::ConversionCollection> theConversionCollection_;
0075 edm::InputTag theBeamSpotTag_;
0076 edm::EDGetTokenT<reco::BeamSpot> theBeamSpot_;
0077
0078 edm::InputTag theLeptonFilterTag_;
0079 edm::InputTag theHLTHTTag_;
0080 edm::EDGetTokenT<reco::METCollection> theHLTHT_;
0081 edm::InputTag theHLTMETTag_;
0082 edm::EDGetTokenT<reco::METCollection> theHLTMET_;
0083 edm::InputTag theHLTJetCollectionTag_;
0084 edm::EDGetTokenT<reco::CaloJetCollection> theHLTJetCollection_;
0085 edm::InputTag theHLTJetTagCollectionTag_;
0086 edm::EDGetTokenT<reco::JetTagCollection> theHLTJetTagCollection_;
0087
0088 edm::InputTag theTriggerResultsTag_;
0089 edm::EDGetTokenT<edm::TriggerResults> theTriggerResults_;
0090 edm::InputTag theTrigSummaryTag_;
0091 edm::EDGetTokenT<trigger::TriggerEvent> theTrigSummary_;
0092
0093 HLTConfigProvider fHltConfig_;
0094
0095 std::string HLTProcess_;
0096
0097 std::string triggerPath_;
0098 std::string triggerPathAuxiliary_;
0099 std::string triggerPathLeptonAuxiliary_;
0100
0101 double csvlCut_;
0102 double csvmCut_;
0103 double csvtCut_;
0104
0105 double jetPtCut_;
0106 double jetEtaCut_;
0107 double metCut_;
0108 double htCut_;
0109
0110 double lep_pt_threshold_;
0111 double ht_threshold_;
0112 double met_threshold_;
0113 double csv_threshold_;
0114
0115
0116 MonitorElement *h_triggerLepPt_;
0117 MonitorElement *h_triggerLepEta_;
0118 MonitorElement *h_triggerLepPhi_;
0119 MonitorElement *h_HT_;
0120 MonitorElement *h_MET_;
0121 MonitorElement *h_maxCSV_;
0122 MonitorElement *h_leptonTurnOn_num_;
0123 MonitorElement *h_leptonTurnOn_den_;
0124 MonitorElement *h_pfHTTurnOn_num_;
0125 MonitorElement *h_pfHTTurnOn_den_;
0126 MonitorElement *h_pfMetTurnOn_num_;
0127 MonitorElement *h_pfMetTurnOn_den_;
0128 MonitorElement *h_CSVTurnOn_num_;
0129 MonitorElement *h_CSVTurnOn_den_;
0130 MonitorElement *h_btagTurnOn_num_;
0131 MonitorElement *h_btagTurnOn_den_;
0132 };
0133
0134 #endif