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, DQMGenericClient::CDOption::ascending, cdOptions_, DQMGenericClient::EfficOption::denominator, efficiency, efficOptions_, postValidation_cfi::efficSet(), fakerate, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), DQMGenericClient::EfficOption::isProfile, isWildcardUsed_, makeGlobalEffPlot_, DQMGenericClient::EfficOption::name, DQMGenericClient::ProfileOption::name, DQMGenericClient::NormOption::name, DQMGenericClient::CDOption::name, DQMGenericClient::NoFlowOption::name, DQMGenericClient::ResolOption::namePrefix, noFlowOptions_, none, DQMGenericClient::NormOption::normHistName, normOptions_, DQMGenericClient::EfficOption::numerator, runTheMatrix::opt, or, outputFileName_, profileOptions_, resLimitedFit_, resolOptions_, runOnEndJob_, runOnEndLumi_, simpleratio, DQMGenericClient::ResolOption::srcName, DQMGenericClient::ProfileOption::srcName, subDirs_, DQMGenericClient::EfficOption::title, DQMGenericClient::ProfileOption::title, DQMGenericClient::ResolOption::titlePrefix, DQMGenericClient::EfficOption::type, 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 672 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, validate-o2o-wbm::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 935 of file DQMGenericClient.cc.
References dqm::implementation::IBooker::bookProfile(), dqm::implementation::NavigatorBase::cd(), dqm::implementation::IGetter::dirExists(), dqm::implementation::IGetter::get(), isWildcardUsed_, 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 858 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(), resLimitedFit_, dqm::implementation::NavigatorBase::setCurrentFolder(), 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 1193 of file DQMGenericClient.cc.
References dqm::implementation::NavigatorBase::cd(), dqm::implementation::IGetter::dirExists(), TrackerOfflineValidation_Dqm_cff::dirName, dqm::implementation::IGetter::getSubdirs(), and nonPerlWildcard_.
Referenced by makeAllPlots().
|
private |
Definition at line 1231 of file DQMGenericClient.cc.
References validate-o2o-wbm::f, fakerate, LogDebug, funct::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 1138 of file DQMGenericClient.cc.
References generateEDF::cont, submitPVValidationJobs::err, dqm::legacy::MonitorElement::getTH2F(), timingPdfMaker::histo, mps_fire::i, dqm::impl::MonitorElement::setBinContent(), and dqm::impl::MonitorElement::setBinError().
Referenced by computeResolution().
|
private |
Definition at line 599 of file DQMGenericClient.cc.
References cdOptions_, computeEfficiency(), computeProfile(), computeResolution(), TrackerOfflineValidation_Dqm_cff::dirName, efficOptions_, findAllSubdirectories(), isWildcardUsed_, makeCumulativeDist(), makeNoFlowDist(), metacharacters_, noFlowOptions_, normalizeToEntries(), normOptions_, profileOptions_, resolOptions_, 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 1046 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 1096 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 983 of file DQMGenericClient.cc.
References dqm::implementation::NavigatorBase::cd(), dqm::implementation::IGetter::dirExists(), dqm::implementation::IGetter::get(), gpuVertexFinder::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(), and DQMGenericClient().
|
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().