#include <HLTriggerOffline/B2G/src/B2GDoubleLeptonHLTValidation.cc>
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Static Public Member Functions inherited from edm::one::EDProducerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (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_ |
Additional Inherited Members | |
Public Types inherited from edm::one::EDProducerBase | |
typedef EDProducerBase | ModuleType |
Public Types inherited from edm::ProducerBase | |
using | ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex >> |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
ConsumesCollector | consumesCollector () |
Use a ConsumesCollector to gather consumes information from helper functions. More... | |
template<typename ProductType , BranchType B = InEvent> | |
void | consumesMany () |
void | consumesMany (const TypeToGet &id) |
template<BranchType B> | |
void | consumesMany (const TypeToGet &id) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
Protected Attributes inherited from DQMEDAnalyzer | |
edm::EDPutTokenT< DQMToken > | lumiToken_ |
edm::EDPutTokenT< DQMToken > | runToken_ |
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_, nano_cff::muons, reco::LeafCandidate::pt(), ptElectrons_, ptMuons_, tokElectrons_, tokMuons_, tokTrigger_, edm::TriggerNames::triggerNames(), edm::Event::triggerNames(), and vsPaths_.
|
overrideprivatevirtual |
Implements DQMEDAnalyzer.
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().