Protected Member Functions | |
void | dqmAnalyze (DQMStore::IBooker &, DQMStore::IGetter &, const edm::Event &e, const edm::EventSetup &c) override |
perform the actual quality tests More... | |
void | dqmEndJob (DQMStore::IBooker &, DQMStore::IGetter &) override |
void | dqmEndLuminosityBlock (DQMStore::IBooker &, DQMStore::IGetter &, edm::LuminosityBlock const &lumiSeg, edm::EventSetup const &c) override |
void | dqmEndRun (DQMStore::IBooker &, DQMStore::IGetter &, const edm::Run &r, const edm::EventSetup &c) override |
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 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) |
Private Member Functions | |
void | configureTests (std::string const &file) |
std::unique_ptr< QCriterion > | makeQCriterion (boost::property_tree::ptree const &config) |
void | performTests (DQMStore::IGetter &igetter) |
Private Attributes | |
bool | getQualityTestsFromFile |
std::string | Label |
int | nEvents |
int | prescaleFactor |
std::vector< std::unique_ptr< QCriterion > > | qtestobjects |
bool | qtestOnEndJob |
bool | qtestOnEndLumi |
bool | qtestOnEndRun |
std::vector< std::pair< std::string, QCriterion * > > | qtestpatterns |
std::string | reportThreshold |
bool | testInEventloop |
bool | verboseQT |
Definition at line 35 of file QualityTester.cc.
QualityTester::QualityTester | ( | const edm::ParameterSet & | ps | ) |
Constructor.
Definition at line 79 of file QualityTester.cc.
References cms::cuda::assert(), configureTests(), edm::FileInPath::fullPath(), getQualityTestsFromFile, edm::ParameterSet::getUntrackedParameter(), Label, nEvents, prescaleFactor, qtestOnEndJob, qtestOnEndLumi, qtestOnEndRun, reportThreshold, AlCaHLTBitMon_QueryRunRegistry::string, testInEventloop, and verboseQT.
|
override |
|
private |
Definition at line 356 of file QualityTester.cc.
References cms::soa::RestrictQualify::enabled, Exception, geometryDiff::file, makeQCriterion(), eostools::move(), Skims_PA_cff::name, AlCaHLTBitMon_ParallelJobs::p, qtestobjects, qtestpatterns, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by QualityTester().
|
overrideprotectedvirtual |
perform the actual quality tests
Reimplemented from DQMEDHarvester.
Definition at line 102 of file QualityTester.cc.
References nEvents, performTests(), prescaleFactor, and testInEventloop.
|
overrideprotectedvirtual |
Implements DQMEDHarvester.
Definition at line 133 of file QualityTester.cc.
References performTests(), and qtestOnEndJob.
|
overrideprotectedvirtual |
Reimplemented from DQMEDHarvester.
Definition at line 114 of file QualityTester.cc.
References edm::LuminosityBlockBase::id(), edm::LuminosityBlockID::luminosityBlock(), performTests(), prescaleFactor, qtestOnEndLumi, and testInEventloop.
|
overrideprotectedvirtual |
Reimplemented from DQMEDHarvester.
Definition at line 125 of file QualityTester.cc.
References performTests(), and qtestOnEndRun.
|
private |
Definition at line 213 of file QualityTester.cc.
References DMR_cfg::config, QCriterion::ERROR_PROB_THRESHOLD, ContentsXRange::getAlgoName(), ContentsYRange::getAlgoName(), DeadChannel::getAlgoName(), NoisyChannel::getAlgoName(), ContentSigma::getAlgoName(), ContentsWithinExpected::getAlgoName(), MeanWithinExpected::getAlgoName(), CompareToMedian::getAlgoName(), CompareLastFilledBin::getAlgoName(), CheckVariance::getAlgoName(), genParticles_cff::map, Skims_PA_cff::name, AlCaHLTBitMon_QueryRunRegistry::string, ctpps_dqm_sourceclient-live_cfg::test, and QCriterion::WARNING_PROB_THRESHOLD.
Referenced by configureTests().
|
private |
Definition at line 138 of file QualityTester.cc.
References cms::cuda::assert(), gather_cfg::cout, Exception, dqm::implementation::IGetter::getAllContents(), QCriterion::getName(), match(), hlt_dqm_clientPB-live_cfg::me, mps_check::msg, Skims_PA_cff::name, topSingleLeptonDQM_PU_cfi::pattern, qtestpatterns, alignCSCRings::r, edmIntegrityCheck::report, reportThreshold, QCriterion::runTest(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by dqmAnalyze(), dqmEndJob(), dqmEndLuminosityBlock(), and dqmEndRun().
|
private |
Definition at line 58 of file QualityTester.cc.
Referenced by QualityTester().
|
private |
Definition at line 59 of file QualityTester.cc.
Referenced by QualityTester().
|
private |
Definition at line 56 of file QualityTester.cc.
Referenced by dqmAnalyze(), looper.Looper::loop(), and QualityTester().
|
private |
Definition at line 57 of file QualityTester.cc.
Referenced by dqmAnalyze(), dqmEndLuminosityBlock(), and QualityTester().
|
private |
Definition at line 68 of file QualityTester.cc.
Referenced by configureTests().
|
private |
Definition at line 62 of file QualityTester.cc.
Referenced by dqmEndJob(), and QualityTester().
|
private |
Definition at line 63 of file QualityTester.cc.
Referenced by dqmEndLuminosityBlock(), and QualityTester().
|
private |
Definition at line 61 of file QualityTester.cc.
Referenced by dqmEndRun(), and QualityTester().
|
private |
Definition at line 73 of file QualityTester.cc.
Referenced by configureTests(), and performTests().
|
private |
Definition at line 64 of file QualityTester.cc.
Referenced by performTests(), and QualityTester().
|
private |
Definition at line 60 of file QualityTester.cc.
Referenced by dqmAnalyze(), dqmEndLuminosityBlock(), and QualityTester().
|
private |
Definition at line 65 of file QualityTester.cc.
Referenced by QualityTester().