#include <HLTriggerOffline/B2G/src/B2GDoubleLeptonHLTValidation.cc>
Public Member Functions | |
B2GDoubleLeptonHLTValidation (const edm::ParameterSet &) | |
~B2GDoubleLeptonHLTValidation () override | |
Public Member Functions inherited from one::DQMEDAnalyzer< T > | |
DQMEDAnalyzer ()=default | |
DQMEDAnalyzer (DQMEDAnalyzer< T... > const &)=delete | |
DQMEDAnalyzer (DQMEDAnalyzer< T... > &&)=delete | |
~DQMEDAnalyzer () override=default | |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
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_ |
Description: compute efficiencies of trigger paths on offline reco selection with respect to pt and eta
Implementation: harvesting
Description: compute efficiencies of trigger paths on offline reco selection with respect to subleading lepton pt and eta
Implementation: harvesting
Definition at line 48 of file B2GDoubleLeptonHLTValidation.h.
|
explicit |
Definition at line 123 of file B2GDoubleLeptonHLTValidation.h.
References sElectrons_, sMuons_, sTrigger_, tokElectrons_, tokMuons_, and tokTrigger_.
|
override |
Definition at line 149 of file B2GDoubleLeptonHLTValidation.h.
References DEFINE_FWK_MODULE.
|
overrideprivate |
Definition at line 45 of file B2GDoubleLeptonHLTValidation.cc.
References MillePedeFileConverter_cfg::e, elec_, electrons_cff::electrons, reco::LeafCandidate::eta(), etaElectrons_, etaMuons_, MonitorElement::Fill(), edm::Event::getByToken(), hDenLeptonEta, hDenLeptonPt, hDenTriggerMon, hNumLeptonEta, hNumLeptonPt, hNumTriggerMon, mps_fire::i, training_settings::idx, isAll_, edm::Ptr< T >::isNonnull(), isSel_, funct::m, minElectrons_, minLeptons_, minMuons_, mu_, extraflags_cff::muons, reco::LeafCandidate::pt(), ptElectrons_, ptMuons_, tokElectrons_, tokMuons_, tokTrigger_, edm::TriggerNames::triggerNames(), edm::Event::triggerNames(), and vsPaths_.
|
overrideprivate |
Definition at line 138 of file B2GDoubleLeptonHLTValidation.cc.
References DQMStore::IBooker::book1D(), hDenLeptonEta, hDenLeptonPt, hDenTriggerMon, hNumLeptonEta, hNumLeptonPt, hNumTriggerMon, sDir_, DQMStore::IBooker::setCurrentFolder(), triggerBinLabels(), and vsPaths_.
|
static |
Definition at line 157 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 tablePrinter::labels, and triggerBinLabels().
Referenced by triggerBinLabels().
|
inlineprivate |
set configurable labels for trigger monitoring histograms
Definition at line 104 of file B2GDoubleLeptonHLTValidation.h.
References hDenTriggerMon, hNumTriggerMon, training_settings::idx, monitorPath(), and MonitorElement::setBinLabel().
Referenced by bookHistograms(), and monitorPath().
|
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().