#include <B2GDoubleLeptonHLTValidation.h>
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Static Public Member Functions inherited from DQMEDAnalyzer | |
static void | globalEndJob (DQMEDAnalyzerGlobalCache const *) |
static void | globalEndLuminosityBlockProduce (edm::LuminosityBlock &lumi, edm::EventSetup const &setup, LuminosityBlockContext const *context) |
static void | globalEndRunProduce (edm::Run &run, edm::EventSetup const &setup, RunContext const *context) |
static std::unique_ptr< DQMEDAnalyzerGlobalCache > | initializeGlobalCache (edm::ParameterSet const &) |
Private Member Functions | |
void | analyze (const edm::Event &, const edm::EventSetup &) override |
void | bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override |
std::string | monitorPath (const std::string &label) const |
void | triggerBinLabels (const std::vector< std::string > &labels) |
set configurable labels for trigger monitoring histograms More... | |
Private Attributes | |
edm::Ptr< reco::GsfElectron > | elec_ |
double | etaElectrons_ |
double | etaMuons_ |
MonitorElement * | hDenLeptonEta |
MonitorElement * | hDenLeptonPt |
MonitorElement * | hDenTriggerMon |
MonitorElement * | hNumLeptonEta |
MonitorElement * | hNumLeptonPt |
MonitorElement * | hNumTriggerMon |
bool | isAll_ = false |
double | isoElectrons_ |
double | isoMuons_ |
bool | isSel_ = false |
unsigned int | minElectrons_ |
unsigned int | minLeptons_ |
unsigned int | minMuons_ |
edm::Ptr< reco::Muon > | mu_ |
double | ptElectrons_ |
double | ptMuons_ |
std::string | sDir_ |
std::string | sElectrons_ |
std::string | sMuons_ |
std::string | sTrigger_ |
edm::EDGetTokenT< edm::View< reco::GsfElectron > > | tokElectrons_ |
edm::EDGetTokenT< edm::View< reco::Muon > > | tokMuons_ |
edm::EDGetTokenT< edm::TriggerResults > | tokTrigger_ |
std::vector< std::string > | vsPaths_ |
HLTriggerOffline/B2G/interface/B2GDoubleLeptonHLTValidation.h
Description: compute efficiencies of trigger paths on offline reco selection with respect to pt and eta
Implementation: harvesting
HLTriggerOffline/B2G/src/B2GDoubleLeptonHLTValidation.cc
Description: compute efficiencies of trigger paths on offline reco selection with respect to subleading lepton pt and eta
Implementation: harvesting
Definition at line 49 of file B2GDoubleLeptonHLTValidation.h.
|
explicit |
Definition at line 121 of file B2GDoubleLeptonHLTValidation.h.
References HLT_2018_cff::InputTag, sElectrons_, sMuons_, sTrigger_, tokElectrons_, tokMuons_, and tokTrigger_.
|
override |
Definition at line 146 of file B2GDoubleLeptonHLTValidation.h.
|
overrideprivatevirtual |
Reimplemented from DQMEDAnalyzer.
Definition at line 46 of file B2GDoubleLeptonHLTValidation.cc.
References MillePedeFileConverter_cfg::e, elec_, pwdgSkimBPark_cfi::electrons, reco::LeafCandidate::eta(), etaElectrons_, etaMuons_, dqm::impl::MonitorElement::Fill(), hDenLeptonEta, hDenLeptonPt, hDenTriggerMon, hNumLeptonEta, hNumLeptonPt, hNumTriggerMon, mps_fire::i, charmTagsComputerCvsB_cfi::idx, iEvent, isAll_, edm::Ptr< T >::isNonnull(), isSel_, dqmiolumiharvest::j, visualization-live-secondInstance_cfg::m, minElectrons_, minLeptons_, minMuons_, mu_, PDWG_BPHSkim_cff::muons, reco::LeafCandidate::pt(), ptElectrons_, ptMuons_, tokElectrons_, tokMuons_, tokTrigger_, L1TEGammaOffline_cfi::triggerNames, and vsPaths_.
|
overrideprivatevirtual |
Implements DQMEDAnalyzer.
Definition at line 147 of file B2GDoubleLeptonHLTValidation.cc.
References dqm::implementation::IBooker::book1D(), hDenLeptonEta, hDenLeptonPt, hDenTriggerMon, hNumLeptonEta, hNumLeptonPt, hNumTriggerMon, sDir_, dqm::implementation::NavigatorBase::setCurrentFolder(), triggerBinLabels(), and vsPaths_.
|
static |
Definition at line 164 of file B2GDoubleLeptonHLTValidation.cc.
References edm::ConfigurationDescriptions::addDefault(), and edm::ParameterSetDescription::setUnknown().
|
inlineprivate |
deduce monitorPath from label, the label is expected to be of type 'selectionPath:monitorPath'
Definition at line 61 of file B2GDoubleLeptonHLTValidation.h.
References label.
Referenced by triggerBinLabels().
|
inlineprivate |
set configurable labels for trigger monitoring histograms
Definition at line 103 of file B2GDoubleLeptonHLTValidation.h.
References hDenTriggerMon, hNumTriggerMon, charmTagsComputerCvsB_cfi::idx, SummaryClient_cfi::labels, monitorPath(), and dqm::impl::MonitorElement::setBinLabel().
Referenced by bookHistograms().
|
private |
Definition at line 75 of file B2GDoubleLeptonHLTValidation.h.
Referenced by analyze().
|
private |
Definition at line 79 of file B2GDoubleLeptonHLTValidation.h.
Referenced by analyze().
|
private |
Definition at line 87 of file B2GDoubleLeptonHLTValidation.h.
Referenced by analyze().
|
private |
Definition at line 71 of file B2GDoubleLeptonHLTValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 69 of file B2GDoubleLeptonHLTValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 73 of file B2GDoubleLeptonHLTValidation.h.
Referenced by analyze(), bookHistograms(), and triggerBinLabels().
|
private |
Definition at line 70 of file B2GDoubleLeptonHLTValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 68 of file B2GDoubleLeptonHLTValidation.h.
Referenced by analyze(), and bookHistograms().
|
private |
Definition at line 72 of file B2GDoubleLeptonHLTValidation.h.
Referenced by analyze(), bookHistograms(), and triggerBinLabels().
|
private |
Definition at line 99 of file B2GDoubleLeptonHLTValidation.h.
Referenced by analyze().
|
private |
Definition at line 80 of file B2GDoubleLeptonHLTValidation.h.
|
private |
Definition at line 88 of file B2GDoubleLeptonHLTValidation.h.
|
private |
Definition at line 100 of file B2GDoubleLeptonHLTValidation.h.
Referenced by analyze().
|
private |
Definition at line 81 of file B2GDoubleLeptonHLTValidation.h.
Referenced by analyze().
|
private |
Definition at line 92 of file B2GDoubleLeptonHLTValidation.h.
Referenced by analyze().
|
private |
Definition at line 89 of file B2GDoubleLeptonHLTValidation.h.
Referenced by analyze().
|
private |
Definition at line 83 of file B2GDoubleLeptonHLTValidation.h.
Referenced by analyze().
|
private |
Definition at line 78 of file B2GDoubleLeptonHLTValidation.h.
Referenced by analyze().
|
private |
Definition at line 86 of file B2GDoubleLeptonHLTValidation.h.
Referenced by analyze().
|
private |
Definition at line 67 of file B2GDoubleLeptonHLTValidation.h.
Referenced by bookHistograms().
|
private |
Definition at line 76 of file B2GDoubleLeptonHLTValidation.h.
Referenced by B2GDoubleLeptonHLTValidation().
|
private |
Definition at line 84 of file B2GDoubleLeptonHLTValidation.h.
Referenced by B2GDoubleLeptonHLTValidation().
|
private |
Definition at line 95 of file B2GDoubleLeptonHLTValidation.h.
Referenced by B2GDoubleLeptonHLTValidation().
|
private |
Definition at line 77 of file B2GDoubleLeptonHLTValidation.h.
Referenced by analyze(), and B2GDoubleLeptonHLTValidation().
|
private |
Definition at line 85 of file B2GDoubleLeptonHLTValidation.h.
Referenced by analyze(), and B2GDoubleLeptonHLTValidation().
|
private |
Definition at line 96 of file B2GDoubleLeptonHLTValidation.h.
Referenced by analyze(), and B2GDoubleLeptonHLTValidation().
|
private |
Definition at line 97 of file B2GDoubleLeptonHLTValidation.h.
Referenced by analyze(), and bookHistograms().