#include <QualityTester.h>
Public Member Functions | |
QualityTester (const edm::ParameterSet &ps) | |
Constructor. More... | |
~QualityTester () override | |
Destructor. More... | |
Public Member Functions inherited from edm::EDAnalyzer | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
EDAnalyzer () | |
ModuleDescription const & | moduleDescription () const |
std::string | workerType () const |
~EDAnalyzer () override | |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
void | convertCurrentProcessAlias (std::string const &processName) |
Convert "@currentProcess" in InputTag process names to the actual current process name. More... | |
EDConsumerBase () | |
EDConsumerBase (EDConsumerBase const &)=delete | |
EDConsumerBase (EDConsumerBase &&)=default | |
ProductResolverIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
std::vector< ProductResolverIndexAndSkipBit > const & | itemsToGetFrom (BranchType iType) const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
EDConsumerBase const & | operator= (EDConsumerBase const &)=delete |
EDConsumerBase & | operator= (EDConsumerBase &&)=default |
bool | registeredToConsume (ProductResolverIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
virtual | ~EDConsumerBase () noexcept(false) |
Protected Member Functions | |
void | analyze (const edm::Event &e, const edm::EventSetup &c) override |
Analyze. More... | |
void | beginRun (const edm::Run &, const edm::EventSetup &) override |
void | endJob () override |
void | endLuminosityBlock (edm::LuminosityBlock const &lumiSeg, edm::EventSetup const &c) override |
perform the actual quality tests More... | |
void | endRun (const edm::Run &r, const edm::EventSetup &c) override |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
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 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) |
Private Member Functions | |
void | performTests (void) |
Private Attributes | |
DQMStore * | bei |
bool | getQualityTestsFromFile |
std::string | Label |
int | nEvents |
int | prescaleFactor |
bool | qtestOnEndJob |
bool | qtestOnEndLumi |
bool | qtestOnEndRun |
QTestHandle * | qtHandler |
std::string | reportThreshold |
bool | testInEventloop |
bool | verboseQT |
Additional Inherited Members | |
Public Types inherited from edm::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::EDAnalyzer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &) |
Definition at line 33 of file QualityTester.h.
QualityTester::QualityTester | ( | const edm::ParameterSet & | ps | ) |
Constructor.
Definition at line 24 of file QualityTester.cc.
References edm::ParameterSet::getUntrackedParameter(), ecalTriggerPrimitiveDigis_cfi::Label, nEvents, nanoDQM_cff::prescaleFactor, nanoDQM_cff::qtestOnEndLumi, nanoDQM_cff::testInEventloop, and nanoDQM_cff::verboseQT.
|
override |
|
overrideprotected |
Analyze.
Definition at line 79 of file QualityTester.cc.
References nEvents, nanoDQM_cff::prescaleFactor, and nanoDQM_cff::testInEventloop.
Referenced by HLTTauRelvalQTester::analyze().
|
overrideprotected |
Definition at line 51 of file QualityTester.cc.
References Exception, edm::eventsetup::heterocontainer::HCTypeTag::findType(), edm::EventSetup::get(), ecalTriggerPrimitiveDigis_cfi::Label, AlCaHLTBitMon_QueryRunRegistry::string, edm::eventsetup::EventSetupRecordKey::type(), and makeMuonMisalignmentScenario::xmlfile.
|
overrideprotectedvirtual |
Reimplemented from edm::EDAnalyzer.
Reimplemented in HLTTauRelvalQTester.
Definition at line 106 of file QualityTester.cc.
Referenced by HLTTauRelvalQTester::endJob().
|
overrideprotectedvirtual |
perform the actual quality tests
Reimplemented from edm::EDAnalyzer.
Reimplemented in HLTTauRelvalQTester.
Definition at line 91 of file QualityTester.cc.
References edm::LuminosityBlockBase::id(), edm::LuminosityBlockID::luminosityBlock(), nanoDQM_cff::prescaleFactor, nanoDQM_cff::qtestOnEndLumi, and nanoDQM_cff::testInEventloop.
Referenced by HLTTauRelvalQTester::endLuminosityBlock().
|
overrideprotected |
|
private |
Definition at line 110 of file QualityTester.cc.
References gather_cfg::cout, genParticles_cff::map, mps_check::msg, AlCaHLTBitMon_QueryRunRegistry::string, and nanoDQM_cff::verboseQT.
|
private |
Definition at line 70 of file QualityTester.h.
|
private |
Definition at line 61 of file QualityTester.h.
|
private |
Definition at line 62 of file QualityTester.h.
|
private |
Definition at line 59 of file QualityTester.h.
Referenced by looper.Looper::loop().
|
private |
Definition at line 60 of file QualityTester.h.
|
private |
Definition at line 65 of file QualityTester.h.
|
private |
Definition at line 66 of file QualityTester.h.
|
private |
Definition at line 64 of file QualityTester.h.
|
private |
Definition at line 72 of file QualityTester.h.
|
private |
Definition at line 67 of file QualityTester.h.
|
private |
Definition at line 63 of file QualityTester.h.
|
private |
Definition at line 68 of file QualityTester.h.