#include <GEMDQMEfficiencyClientBase.h>
Public Types | |
using | MEPair = std::pair< const MonitorElement *, const MonitorElement * > |
Public Types inherited from DQMEDHarvester | |
typedef dqm::harvesting::DQMStore | DQMStore |
typedef dqm::harvesting::MonitorElement | MonitorElement |
Public Types inherited from edm::one::EDProducerBase | |
typedef EDProducerBase | ModuleType |
Public Types inherited from edm::ProducerBase | |
template<typename T > | |
using | BranchAliasSetterT = ProductRegistryHelper::BranchAliasSetterT< T > |
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 |
Public Attributes | |
const double | kConfidenceLevel_ |
const std::string | kLogCategory_ |
Additional Inherited Members | |
Static Public Member Functions inherited from edm::one::EDProducerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Protected Member Functions inherited from edm::ProducerBase | |
template<Transition Tr = Transition::Event> | |
auto | produces (std::string instanceName) noexcept |
declare what type of product will make and with which optional label More... | |
template<Transition B> | |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
template<BranchType B> | |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
template<typename ProductType , Transition B> | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<class ProductType > | |
BranchAliasSetterT< ProductType > | produces () |
template<typename ProductType , BranchType B> | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<typename ProductType , BranchType B> | |
BranchAliasSetterT< ProductType > | produces () |
template<class ProductType > | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<typename ProductType , Transition B> | |
BranchAliasSetterT< ProductType > | produces () |
template<Transition Tr = Transition::Event> | |
auto | produces () noexcept |
ProducesCollector | producesCollector () |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
template<BranchType B = InEvent> | |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
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 ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
template<Transition Tr = Transition::Event> | |
constexpr auto | esConsumes () |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) |
template<Transition Tr = Transition::Event> | |
ESGetTokenGeneric | esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey) |
Used with EventSetupRecord::doGet. More... | |
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) |
void | resetItemsToGetFrom (BranchType iType) |
Protected Attributes inherited from DQMEDHarvester | |
DQMStore * | dqmstore_ |
edm::GetterOfProducts< DQMToken > | jobmegetter_ |
edm::EDPutTokenT< DQMToken > | jobToken_ |
edm::GetterOfProducts< DQMToken > | lumimegetter_ |
edm::EDPutTokenT< DQMToken > | lumiToken_ |
edm::GetterOfProducts< DQMToken > | runmegetter_ |
edm::EDPutTokenT< DQMToken > | runToken_ |
Definition at line 14 of file GEMDQMEfficiencyClientBase.h.
using GEMDQMEfficiencyClientBase::MEPair = std::pair<const MonitorElement*, const MonitorElement*> |
Definition at line 16 of file GEMDQMEfficiencyClientBase.h.
GEMDQMEfficiencyClientBase::GEMDQMEfficiencyClientBase | ( | const edm::ParameterSet & | ps | ) |
Definition at line 10 of file GEMDQMEfficiencyClientBase.cc.
void GEMDQMEfficiencyClientBase::bookEfficiencyAuto | ( | DQMStore::IBooker & | ibooker, |
DQMStore::IGetter & | igetter, | ||
const std::string & | folder | ||
) |
Definition at line 357 of file GEMDQMEfficiencyClientBase.cc.
References dqm::implementation::IBooker::book1D(), dqm::implementation::IBooker::book2D(), printsummarytable::folder, dqm::legacy::MonitorElement::getTH2F(), crabWrapper::key, kLogCategory_, makeEfficiency(), makeEfficiencySourcePair(), MonitorElementData::TH1F, MonitorElementData::TH2F, and relativeConstraints::value.
Referenced by GEMEfficiencyHarvester::dqmEndJob(), and GEMEffByGEMCSCSegmentClient::dqmEndLuminosityBlock().
bool GEMDQMEfficiencyClientBase::checkConsistency | ( | const TH1 & | pass, |
const TH1 & | total | ||
) |
Definition at line 201 of file GEMDQMEfficiencyClientBase.cc.
References kLogCategory_, and dqmMemoryStats::total.
Referenced by makeEfficiency().
TH1F * GEMDQMEfficiencyClientBase::makeEfficiency | ( | const TH1F * | h_numerator, |
const TH1F * | h_denominator, | ||
const char * | name = nullptr , |
||
const char * | title = nullptr |
||
) |
Definition at line 224 of file GEMDQMEfficiencyClientBase.cc.
References newFWLiteAna::bin, checkConsistency(), L1TObjectsTimingClient_cff::efficiency, relativeConstraints::error, kConfidenceLevel_, kLogCategory_, SiStripPI::max, Skims_PA_cff::name, LaserClient_cfi::nbins, TriggerAnalyzer::passed, setBins(), runGCPTkAlMap::title, and dqmMemoryStats::total.
Referenced by GEMEfficiencyHarvester::bookDetector1DEfficiency(), and bookEfficiencyAuto().
TH2F * GEMDQMEfficiencyClientBase::makeEfficiency | ( | const TH2F * | h_numerator, |
const TH2F * | h_denominator, | ||
const char * | name = nullptr , |
||
const char * | title = nullptr |
||
) |
Definition at line 283 of file GEMDQMEfficiencyClientBase.cc.
References checkConsistency(), kLogCategory_, Skims_PA_cff::name, and runGCPTkAlMap::title.
std::map< std::string, GEMDQMEfficiencyClientBase::MEPair > GEMDQMEfficiencyClientBase::makeEfficiencySourcePair | ( | DQMStore::IBooker & | ibooker, |
DQMStore::IGetter & | igetter, | ||
const std::string & | folder, | ||
const std::string | prefix = "" |
||
) |
Definition at line 100 of file GEMDQMEfficiencyClientBase.cc.
References printsummarytable::folder, reco_skim_cfg_mod::fullpath, dqm::implementation::IGetter::get(), dqm::implementation::IGetter::getMEs(), crabWrapper::key, kLogCategory_, hlt_dqm_clientPB-live_cfg::me, Skims_PA_cff::name, parseEfficiencySourceName(), hcallasereventfilter2012_cfi::prefix, dqm::implementation::NavigatorBase::setCurrentFolder(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by GEMEfficiencyHarvester::bookDetector1DEfficiency(), and bookEfficiencyAuto().
std::tuple< bool, std::string, std::string, bool > GEMDQMEfficiencyClientBase::parseEfficiencySourceName | ( | std::string | name | ) |
Definition at line 19 of file GEMDQMEfficiencyClientBase.cc.
References Skims_PA_cff::name, AlCaHLTBitMon_QueryRunRegistry::string, and summarizeEdmComparisonLogfiles::success.
Referenced by GEMEfficiencyHarvester::bookDetector1DEfficiency(), and makeEfficiencySourcePair().
GEMDetId GEMDQMEfficiencyClientBase::parseGEMLabel | ( | const std::string | gem_label, |
const std::string | delimiter = "-" |
||
) |
Definition at line 49 of file GEMDQMEfficiencyClientBase.cc.
References relativeConstraints::chamber, makeHLTPrescaleTable::delimiter, l1ctLayer2EG_cff::id, LEDCalibrationChannels::ieta, kLogCategory_, pixelTopology::layer, or, HLT_2022v15_cff::region, relativeConstraints::station, AlCaHLTBitMon_QueryRunRegistry::string, and unpackBuffers-CaloStage2::token.
TH1F * GEMDQMEfficiencyClientBase::projectHistogram | ( | const TH2F * | h_2d, |
const unsigned int | on_which_axis | ||
) |
Definition at line 318 of file GEMDQMEfficiencyClientBase.cc.
References kLogCategory_, Skims_PA_cff::name, hcallasereventfilter2012_cfi::prefix, setBins(), and runGCPTkAlMap::title.
Referenced by GEMEfficiencyHarvester::bookDetector1DEfficiency().
void GEMDQMEfficiencyClientBase::setBins | ( | TH1F * | dst_hist, |
const TAxis * | src_axis | ||
) |
Definition at line 167 of file GEMDQMEfficiencyClientBase.cc.
References newFWLiteAna::bin, SelectiveReadoutTask_cfi::edges, label, and LaserClient_cfi::nbins.
Referenced by makeEfficiency(), and projectHistogram().
const double GEMDQMEfficiencyClientBase::kConfidenceLevel_ |
Definition at line 34 of file GEMDQMEfficiencyClientBase.h.
Referenced by makeEfficiency().
const std::string GEMDQMEfficiencyClientBase::kLogCategory_ |
Definition at line 35 of file GEMDQMEfficiencyClientBase.h.
Referenced by GEMEfficiencyHarvester::bookDetector1DEfficiency(), bookEfficiencyAuto(), checkConsistency(), makeEfficiency(), makeEfficiencySourcePair(), parseGEMLabel(), and projectHistogram().