Classes | |
struct | CDOption |
struct | EfficOption |
struct | NoFlowOption |
struct | NormOption |
struct | ProfileOption |
struct | ResolOption |
Public Types | |
enum | EfficType { EfficType::none = 0, EfficType::efficiency, EfficType::fakerate, EfficType::simpleratio } |
Public Member Functions | |
void | computeEfficiency (DQMStore::IBooker &ibooker, DQMStore::IGetter &igetter, const std::string &startDir, const std::string &efficMEName, const std::string &efficMETitle, const std::string &recoMEName, const std::string &simMEName, const EfficType type=EfficType::efficiency, const bool makeProfile=false) |
void | computeProfile (DQMStore::IBooker &ibooker, DQMStore::IGetter &igetter, const std::string &startDir, const std::string &profileMEName, const std::string &profileMETitle, const std::string &srcMEName) |
void | computeResolution (DQMStore::IBooker &ibooker, DQMStore::IGetter &igetter, const std::string &startDir, const std::string &fitMEPrefix, const std::string &fitMETitlePrefix, const std::string &srcMEName) |
void | dqmEndJob (DQMStore::IBooker &, DQMStore::IGetter &) override |
void | dqmEndLuminosityBlock (DQMStore::IBooker &ibooker, DQMStore::IGetter &igetter, const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &c) override |
void | dqmEndRun (DQMStore::IBooker &, DQMStore::IGetter &, edm::Run const &, edm::EventSetup const &) override |
DQMGenericClient (const edm::ParameterSet &pset) | |
void | limitedFit (MonitorElement *srcME, MonitorElement *meanME, MonitorElement *sigmaME) |
void | makeCumulativeDist (DQMStore::IBooker &ibooker, DQMStore::IGetter &igetter, const std::string &startDir, const std::string &cdName, bool ascending=true) |
void | makeNoFlowDist (DQMStore::IBooker &ibooker, DQMStore::IGetter &igetter, const std::string &startDir, const std::string &cdName) |
void | normalizeToEntries (DQMStore::IBooker &ibooker, DQMStore::IGetter &igetter, const std::string &startDir, const std::string &histName, const std::string &normHistName) |
~DQMGenericClient () override | |
Private Member Functions | |
void | findAllSubdirectories (DQMStore::IBooker &ibooker, DQMStore::IGetter &igetter, std::string dir, std::set< std::string > *myList, const TString &pattern) |
void | generic_eff (TH1 *denom, TH1 *numer, MonitorElement *efficiencyHist, const EfficType type=EfficType::efficiency) |
void | makeAllPlots (DQMStore::IBooker &, DQMStore::IGetter &) |
void | removeMEIfBooked (const std::string &meName, DQMStore::IGetter &igetter) |
Private Attributes | |
std::vector< CDOption > | cdOptions_ |
std::vector< EfficOption > | efficOptions_ |
bool | isWildcardUsed_ |
bool | makeGlobalEffPlot_ |
TPRegexp | metacharacters_ |
std::vector< NoFlowOption > | noFlowOptions_ |
TPRegexp | nonPerlWildcard_ |
std::vector< NormOption > | normOptions_ |
std::string | outputFileName_ |
std::vector< ProfileOption > | profileOptions_ |
bool | resLimitedFit_ |
std::vector< ResolOption > | resolOptions_ |
bool | runOnEndJob_ |
bool | runOnEndLumi_ |
std::vector< std::string > | subDirs_ |
DQMStore * | theDQM |
unsigned int | verbose_ |
Definition at line 35 of file DQMGenericClient.cc.
|
strong |
Enumerator | |
---|---|
none | |
efficiency | |
fakerate | |
simpleratio |
Definition at line 47 of file DQMGenericClient.cc.
DQMGenericClient::DQMGenericClient | ( | const edm::ParameterSet & | pset | ) |
Definition at line 241 of file DQMGenericClient.cc.
References writedatasetfile::args, cdOptions_, efficiency, efficOptions_, postValidation_cfi::efficSet(), fakerate, isWildcardUsed_, makeGlobalEffPlot_, noFlowOptions_, none, normOptions_, runTheMatrix::opt, or, outputFileName_, profileOptions_, muonDTDigis_cfi::pset, resLimitedFit_, resolOptions_, runOnEndJob_, runOnEndLumi_, simpleratio, subDirs_, dqmiodumpindices::typeName, verbose_, and HistogramManager_cfi::VPSet().
|
inlineoverride |
Definition at line 38 of file DQMGenericClient.cc.
void DQMGenericClient::computeEfficiency | ( | DQMStore::IBooker & | ibooker, |
DQMStore::IGetter & | igetter, | ||
const std::string & | startDir, | ||
const std::string & | efficMEName, | ||
const std::string & | efficMETitle, | ||
const std::string & | recoMEName, | ||
const std::string & | simMEName, | ||
const EfficType | type = EfficType::efficiency , |
||
const bool | makeProfile = false |
||
) |
Definition at line 677 of file DQMGenericClient.cc.
References dqm::implementation::IBooker::book1D(), dqm::implementation::IBooker::book2D(), dqm::implementation::IBooker::book3D(), dqm::implementation::IBooker::bookProfile(), dqm::implementation::NavigatorBase::cd(), dqm::implementation::IGetter::dirExists(), efficiency, relativeConstraints::empty, f, fakerate, generic_eff(), dqm::implementation::IGetter::get(), mps_fire::i, isWildcardUsed_, makeGlobalEffPlot_, or, dqm::implementation::NavigatorBase::setCurrentFolder(), simpleratio, mathSSE::sqrt(), AlCaHLTBitMon_QueryRunRegistry::string, verbose_, and x.
Referenced by makeAllPlots().
void DQMGenericClient::computeProfile | ( | DQMStore::IBooker & | ibooker, |
DQMStore::IGetter & | igetter, | ||
const std::string & | startDir, | ||
const std::string & | profileMEName, | ||
const std::string & | profileMETitle, | ||
const std::string & | srcMEName | ||
) |
Definition at line 940 of file DQMGenericClient.cc.
References dqm::implementation::IBooker::bookProfile(), dqm::implementation::NavigatorBase::cd(), dqm::implementation::IGetter::dirExists(), dqm::implementation::IGetter::get(), isWildcardUsed_, PostProcessor_cff::profile, dqm::implementation::NavigatorBase::setCurrentFolder(), and verbose_.
Referenced by makeAllPlots().
void DQMGenericClient::computeResolution | ( | DQMStore::IBooker & | ibooker, |
DQMStore::IGetter & | igetter, | ||
const std::string & | startDir, | ||
const std::string & | fitMEPrefix, | ||
const std::string & | fitMETitlePrefix, | ||
const std::string & | srcMEName | ||
) |
Definition at line 863 of file DQMGenericClient.cc.
References dqm::implementation::IBooker::book1D(), dqm::implementation::NavigatorBase::cd(), dqm::implementation::IGetter::dirExists(), dqm::implementation::IGetter::get(), FitSlicesYTool::getFittedMeanWithError(), FitSlicesYTool::getFittedSigmaWithError(), isWildcardUsed_, dqmiolumiharvest::j, limitedFit(), postValidation_cfi::namePrefix, PFElectronDQMAnalyzer_cfi::nBin, resLimitedFit_, dqm::implementation::NavigatorBase::setCurrentFolder(), postValidation_cfi::srcName, L1TdeStage2uGMT_cff::titlePrefix, and verbose_.
Referenced by makeAllPlots().
|
inlineoverride |
Definition at line 45 of file DQMGenericClient.cc.
|
override |
Definition at line 562 of file DQMGenericClient.cc.
References makeAllPlots(), and runOnEndLumi_.
|
override |
Definition at line 571 of file DQMGenericClient.cc.
References makeAllPlots(), Utilities::operator, outputFileName_, runOnEndJob_, dqm::implementation::DQMStore::save(), and theDQM.
|
private |
Definition at line 1195 of file DQMGenericClient.cc.
References dqm::implementation::NavigatorBase::cd(), DeadROC_duringRun::dir, dqm::implementation::IGetter::dirExists(), TrackerOfflineValidation_Dqm_cff::dirName, dqm::implementation::IGetter::getSubdirs(), PatBasicFWLiteJetAnalyzer_Selector_cfg::myList, nonPerlWildcard_, topSingleLeptonDQM_PU_cfi::pattern, and fetchall_from_DQM_v2::regexp.
Referenced by makeAllPlots().
|
private |
Definition at line 1233 of file DQMGenericClient.cc.
References makePileupJSON::denom, f, fakerate, LogDebug, conifer::pow(), dqm::impl::MonitorElement::setBinContent(), dqm::impl::MonitorElement::setBinError(), dqm::impl::MonitorElement::setEfficiencyFlag(), simpleratio, and mathSSE::sqrt().
Referenced by computeEfficiency().
void DQMGenericClient::limitedFit | ( | MonitorElement * | srcME, |
MonitorElement * | meanME, | ||
MonitorElement * | sigmaME | ||
) |
Definition at line 1143 of file DQMGenericClient.cc.
References generateEDF::cont, submitPVResolutionJobs::err, dqm::legacy::MonitorElement::getTH2F(), timingPdfMaker::histo, mps_fire::i, dqm::impl::MonitorElement::setBinContent(), dqm::impl::MonitorElement::setBinError(), testProducerWithPsetDescEmpty_cfi::x1, and testProducerWithPsetDescEmpty_cfi::x2.
Referenced by computeResolution().
|
private |
Definition at line 599 of file DQMGenericClient.cc.
References cdOptions_, computeEfficiency(), computeProfile(), computeResolution(), TrackerOfflineValidation_Dqm_cff::dirName, efficOptions_, findAllSubdirectories(), dqm::implementation::IGetter::get(), isWildcardUsed_, makeCumulativeDist(), makeGlobalEffPlot_, makeNoFlowDist(), metacharacters_, noFlowOptions_, normalizeToEntries(), normOptions_, topSingleLeptonDQM_PU_cfi::pattern, profileOptions_, resolOptions_, PostProcessorHcalIsoTrack_cfi::subDir, and subDirs_.
Referenced by dqmEndLuminosityBlock(), and dqmEndRun().
void DQMGenericClient::makeCumulativeDist | ( | DQMStore::IBooker & | ibooker, |
DQMStore::IGetter & | igetter, | ||
const std::string & | startDir, | ||
const std::string & | cdName, | ||
bool | ascending = true |
||
) |
Definition at line 1051 of file DQMGenericClient.cc.
References dqm::implementation::NavigatorBase::cd(), hippyaddtobaddatafiles::cd(), dqm::implementation::IGetter::dirExists(), dqm::implementation::IGetter::get(), mps_fire::i, isWildcardUsed_, and verbose_.
Referenced by makeAllPlots().
void DQMGenericClient::makeNoFlowDist | ( | DQMStore::IBooker & | ibooker, |
DQMStore::IGetter & | igetter, | ||
const std::string & | startDir, | ||
const std::string & | cdName | ||
) |
Definition at line 1101 of file DQMGenericClient.cc.
References dqm::implementation::NavigatorBase::cd(), dqm::implementation::IGetter::dirExists(), dqm::implementation::IGetter::get(), isWildcardUsed_, and verbose_.
Referenced by makeAllPlots().
void DQMGenericClient::normalizeToEntries | ( | DQMStore::IBooker & | ibooker, |
DQMStore::IGetter & | igetter, | ||
const std::string & | startDir, | ||
const std::string & | histName, | ||
const std::string & | normHistName | ||
) |
Definition at line 988 of file DQMGenericClient.cc.
References dqm::implementation::NavigatorBase::cd(), dqm::implementation::IGetter::dirExists(), dqm::implementation::IGetter::get(), compareTotals::hist, isWildcardUsed_, and verbose_.
Referenced by makeAllPlots().
|
private |
|
private |
Definition at line 136 of file DQMGenericClient.cc.
Referenced by DQMGenericClient(), and makeAllPlots().
|
private |
Definition at line 132 of file DQMGenericClient.cc.
Referenced by DQMGenericClient(), and makeAllPlots().
|
private |
Definition at line 125 of file DQMGenericClient.cc.
Referenced by computeEfficiency(), computeProfile(), computeResolution(), DQMGenericClient(), makeAllPlots(), makeCumulativeDist(), makeNoFlowDist(), and normalizeToEntries().
|
private |
Definition at line 124 of file DQMGenericClient.cc.
Referenced by computeEfficiency(), DQMGenericClient(), and makeAllPlots().
|
private |
Definition at line 119 of file DQMGenericClient.cc.
Referenced by makeAllPlots().
|
private |
Definition at line 137 of file DQMGenericClient.cc.
Referenced by DQMGenericClient(), and makeAllPlots().
|
private |
Definition at line 120 of file DQMGenericClient.cc.
Referenced by findAllSubdirectories().
|
private |
Definition at line 135 of file DQMGenericClient.cc.
Referenced by DQMGenericClient(), and makeAllPlots().
|
private |
Definition at line 130 of file DQMGenericClient.cc.
Referenced by dqmEndRun(), and DQMGenericClient().
|
private |
Definition at line 134 of file DQMGenericClient.cc.
Referenced by DQMGenericClient(), and makeAllPlots().
|
private |
Definition at line 126 of file DQMGenericClient.cc.
Referenced by computeResolution(), and DQMGenericClient().
|
private |
Definition at line 133 of file DQMGenericClient.cc.
Referenced by DQMGenericClient(), and makeAllPlots().
|
private |
Definition at line 123 of file DQMGenericClient.cc.
Referenced by dqmEndRun(), and DQMGenericClient().
|
private |
Definition at line 122 of file DQMGenericClient.cc.
Referenced by dqmEndLuminosityBlock(), and DQMGenericClient().
|
private |
Definition at line 129 of file DQMGenericClient.cc.
Referenced by DQMGenericClient(), and makeAllPlots().
|
private |
Definition at line 128 of file DQMGenericClient.cc.
Referenced by dqmEndRun().
|
private |
Definition at line 121 of file DQMGenericClient.cc.
Referenced by computeEfficiency(), computeProfile(), computeResolution(), DQMGenericClient(), makeCumulativeDist(), makeNoFlowDist(), and normalizeToEntries().