#include <GEMEfficiencyHarvester.h>
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &) |
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 | |
TProfile * | computeEfficiency (const TH1F *, const TH1F *, const char *, const char *, const double confidence_level=0.683) |
TH2F * | computeEfficiency (const TH2F *, const TH2F *, const char *, const char *) |
void | doEfficiency (DQMStore::IBooker &, DQMStore::IGetter &) |
void | doResolution (DQMStore::IBooker &, DQMStore::IGetter &, const std::string) |
template<typename T > | |
int | findResolutionBin (const T &, const std::vector< T > &) |
std::tuple< std::string, int, int > | parseResidualName (std::string, const std::string) |
std::vector< std::string > | splitString (std::string, const std::string) |
Private Attributes | |
std::string | folder_ |
std::string | log_category_ |
Additional Inherited Members | |
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 | |
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::ProducerBase | |
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 () noexcept |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) noexcept |
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 20 of file GEMEfficiencyHarvester.h.
GEMEfficiencyHarvester::GEMEfficiencyHarvester | ( | const edm::ParameterSet & | pset | ) |
Definition at line 8 of file GEMEfficiencyHarvester.cc.
References folder_, edm::ParameterSet::getUntrackedParameter(), log_category_, and AlCaHLTBitMon_QueryRunRegistry::string.
|
override |
Definition at line 13 of file GEMEfficiencyHarvester.cc.
|
private |
Definition at line 21 of file GEMEfficiencyHarvester.cc.
References newFWLiteAna::bin, postValidation_cfi::efficiency, relativeConstraints::error, log_category_, cuda_std::lower_bound(), SiStripPI::max, and cuda_std::upper_bound().
Referenced by doEfficiency().
|
private |
Definition at line 59 of file GEMEfficiencyHarvester.cc.
References newFWLiteAna::bin, label, and log_category_.
|
private |
Definition at line 92 of file GEMEfficiencyHarvester.cc.
References dqm::implementation::IBooker::book2D(), dqm::implementation::IBooker::bookProfile(), computeEfficiency(), folder_, das_client::fullpath(), dqm::implementation::IGetter::get(), dqm::implementation::IGetter::getMEs(), dqm::legacy::MonitorElement::getTH2F(), submitPVResolutionJobs::key, log_category_, hlt_dqm_clientPB-live_cfg::me, mergeVDriftHistosByStation::name, dqm::implementation::NavigatorBase::setCurrentFolder(), AlCaHLTBitMon_QueryRunRegistry::string, MonitorElementData::TH1F, MonitorElementData::TH2F, runGCPTkAlMap::title, and relativeConstraints::value.
Referenced by dqmEndJob().
|
private |
Definition at line 242 of file GEMEfficiencyHarvester.cc.
References dqm::implementation::IBooker::book2D(), spr::find(), findResolutionBin(), folder_, das_client::fullpath(), dqm::implementation::IGetter::get(), dqm::implementation::IGetter::getMEs(), dqm::legacy::MonitorElement::getTH1F(), gpuVertexFinder::hist, edm::isFinite(), label, log_category_, hlt_dqm_clientPB-live_cfg::me, mergeVDriftHistosByStation::name, or, parseResidualName(), dqm::implementation::NavigatorBase::setCurrentFolder(), relativeConstraints::station, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by dqmEndJob().
|
overridevirtual |
Implements DQMEDHarvester.
Definition at line 382 of file GEMEfficiencyHarvester.cc.
References doEfficiency(), and doResolution().
|
static |
Definition at line 15 of file GEMEfficiencyHarvester.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::addUntracked(), submitPVResolutionJobs::desc, and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 43 of file GEMEfficiencyHarvester.h.
References newFWLiteAna::bin, HLT_FULL_cff::distance, and spr::find().
Referenced by doResolution().
|
private |
Definition at line 210 of file GEMEfficiencyHarvester.cc.
References mergeVDriftHistosByStation::name, splitString(), relativeConstraints::station, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by doResolution().
|
private |
|
private |
Definition at line 38 of file GEMEfficiencyHarvester.h.
Referenced by doEfficiency(), doResolution(), and GEMEfficiencyHarvester().
|
private |
Definition at line 39 of file GEMEfficiencyHarvester.h.
Referenced by computeEfficiency(), doEfficiency(), doResolution(), and GEMEfficiencyHarvester().