#include <HLTriggerOffline/B2G/src/B2GDoubleLeptonHLTValidation.cc>
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Static Public Member Functions inherited from DQMEDAnalyzer | |
static std::shared_ptr< dqmDetails::NoCache > | globalBeginLuminosityBlockSummary (edm::LuminosityBlock const &, edm::EventSetup const &, LuminosityBlockContext const *) |
static std::shared_ptr< dqmDetails::NoCache > | globalBeginRunSummary (edm::Run const &, edm::EventSetup const &, RunContext const *) |
static void | globalEndLuminosityBlockSummary (edm::LuminosityBlock const &, edm::EventSetup const &, LuminosityBlockContext const *, dqmDetails::NoCache *) |
static void | globalEndRunSummary (edm::Run const &, edm::EventSetup const &, RunContext const *, dqmDetails::NoCache *) |
Static Public Member Functions inherited from edm::stream::EDAnalyzerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Private Member Functions | |
virtual 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::stream::EDAnalyzer< edm::RunSummaryCache< dqmDetails::NoCache >, edm::LuminosityBlockSummaryCache< dqmDetails::NoCache > > | |
typedef CacheContexts< T... > | CacheTypes |
typedef CacheTypes::GlobalCache | GlobalCache |
typedef AbilityChecker< T... > | HasAbility |
typedef CacheTypes::LuminosityBlockCache | LuminosityBlockCache |
typedef LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache > | LuminosityBlockContext |
typedef CacheTypes::LuminosityBlockSummaryCache | LuminosityBlockSummaryCache |
typedef CacheTypes::RunCache | RunCache |
typedef RunContextT< RunCache, GlobalCache > | RunContext |
typedef CacheTypes::RunSummaryCache | RunSummaryCache |
Public Types inherited from edm::stream::EDAnalyzerBase | |
typedef EDAnalyzerAdaptorBase | ModuleType |
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) |
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_.
B2GDoubleLeptonHLTValidation::~B2GDoubleLeptonHLTValidation | ( | ) |
Definition at line 149 of file B2GDoubleLeptonHLTValidation.h.
References DEFINE_FWK_MODULE.
|
overrideprivatevirtual |
Definition at line 45 of file B2GDoubleLeptonHLTValidation.cc.
References MillePedeFileConverter_cfg::e, elec_, genericTrackCleaner_cfi::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_, electronCleaner_cfi::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().