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 |
DQMGenericClient::DQMGenericClient | ( | const edm::ParameterSet & | pset | ) |
Definition at line 240 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 671 of file DQMGenericClient.cc.
References efficiency, relativeConstraints::empty, f, fakerate, generic_eff(), mps_fire::i, isWildcardUsed_, makeGlobalEffPlot_, or, 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 934 of file DQMGenericClient.cc.
References isWildcardUsed_, PostProcessor_cff::profile, 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 857 of file DQMGenericClient.cc.
References FitSlicesYTool::getFittedMeanWithError(), FitSlicesYTool::getFittedSigmaWithError(), isWildcardUsed_, dqmiolumiharvest::j, limitedFit(), postValidation_cfi::namePrefix, PFElectronDQMAnalyzer_cfi::nBin, resLimitedFit_, postValidation_cfi::srcName, L1TdeStage2uGMT_cff::titlePrefix, and verbose_.
Referenced by makeAllPlots().
|
inlineoverride |
Definition at line 45 of file DQMGenericClient.cc.
|
override |
Definition at line 561 of file DQMGenericClient.cc.
References makeAllPlots(), and runOnEndLumi_.
|
override |
Definition at line 570 of file DQMGenericClient.cc.
References makeAllPlots(), outputFileName_, runOnEndJob_, and theDQM.
|
private |
Definition at line 1190 of file DQMGenericClient.cc.
References DeadROC_duringRun::dir, TrackerOfflineValidation_Dqm_cff::dirName, PatBasicFWLiteJetAnalyzer_Selector_cfg::myList, nonPerlWildcard_, topSingleLeptonDQM_PU_cfi::pattern, and fetchall_from_DQM_v2::regexp.
Referenced by makeAllPlots().
|
private |
Definition at line 1228 of file DQMGenericClient.cc.
References makePileupJSON::denom, 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 1137 of file DQMGenericClient.cc.
References generateEDF::cont, runTheMatrix::err, dqm::legacy::MonitorElement::getTH2F(), timingPdfMaker::histo, mps_fire::i, dqm::impl::MonitorElement::setBinContent(), dqm::impl::MonitorElement::setBinError(), tools::TF1, testProducerWithPsetDescEmpty_cfi::x1, and testProducerWithPsetDescEmpty_cfi::x2.
Referenced by computeResolution().
|
private |
Definition at line 598 of file DQMGenericClient.cc.
References cdOptions_, computeEfficiency(), computeProfile(), computeResolution(), TrackerOfflineValidation_Dqm_cff::dirName, efficOptions_, findAllSubdirectories(), isWildcardUsed_, makeCumulativeDist(), 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 1045 of file DQMGenericClient.cc.
References hippyaddtobaddatafiles::cd(), 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 1095 of file DQMGenericClient.cc.
References 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 982 of file DQMGenericClient.cc.
References compare::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().