#include <HLTrigReport.h>
Public Member Functions | |
void | analyze (const edm::Event &, const edm::EventSetup &) override |
void | beginJob () override |
void | beginLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) override |
void | beginRun (edm::Run const &, edm::EventSetup const &) override |
const std::vector< unsigned int > & | datasetCounts () const |
const std::vector< std::string > & | datasetNames () const |
void | endJob () override |
void | endLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) override |
void | endRun (edm::Run const &, edm::EventSetup const &) override |
HLTrigReport (const edm::ParameterSet &) | |
void | reset (bool changed=false) |
const std::vector< unsigned int > & | streamCounts () const |
const std::vector< std::string > & | streamNames () const |
~HLTrigReport () override | |
Public Member Functions inherited from edm::one::EDAnalyzer< edm::one::WatchRuns, edm::one::WatchLuminosityBlocks > | |
EDAnalyzer ()=default | |
SerialTaskQueue * | globalLuminosityBlocksQueue () final |
SerialTaskQueue * | globalRunsQueue () final |
bool | wantsGlobalLuminosityBlocks () const final |
bool | wantsGlobalRuns () const final |
Public Member Functions inherited from edm::one::EDAnalyzerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
EDAnalyzerBase () | |
ModuleDescription const & | moduleDescription () const |
bool | wantsStreamLuminosityBlocks () const |
bool | wantsStreamRuns () const |
~EDAnalyzerBase () 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 |
ProductResolverIndexAndSkipBit | uncheckedIndexFrom (EDGetToken) const |
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
virtual | ~EDConsumerBase () noexcept(false) |
Static Public Member Functions | |
static ReportEvery | decode (const std::string &value) |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Static Public Member Functions inherited from edm::one::EDAnalyzerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Private Types | |
enum | ReportEvery { NEVER = 0, EVERY_EVENT = 1, EVERY_LUMI = 2, EVERY_RUN = 3, EVERY_JOB = 4 } |
Private Member Functions | |
void | dumpReport (std::string const &header=std::string()) |
Private Attributes | |
bool | configured_ |
std::vector< std::vector< std::string > > | datasetContents_ |
std::vector< std::string > | datasetNames_ |
std::vector< std::vector< unsigned int > > | dsAccTotS_ |
std::vector< unsigned int > | dsAllTotS_ |
std::vector< std::vector< unsigned int > > | dsIndex_ |
std::vector< unsigned int > | hlAccept_ |
std::vector< unsigned int > | hlAccTot_ |
std::vector< std::vector< unsigned int > > | hlAccTotDS_ |
std::vector< unsigned int > | hlAllTotDS_ |
std::vector< unsigned int > | hlErrors_ |
std::vector< std::vector< unsigned int > > | hlIndex_ |
std::vector< std::string > | hlNames_ |
HLTConfigProvider | hltConfig_ |
std::vector< unsigned int > | hltL1s_ |
std::vector< unsigned int > | hltPre_ |
edm::InputTag | hlTriggerResults_ |
edm::EDGetTokenT< edm::TriggerResults > | hlTriggerResultsToken_ |
std::vector< unsigned int > | hlWasRun_ |
bool | isCustomDatasets_ |
bool | isCustomStreams_ |
unsigned int | nAccept_ |
unsigned int | nErrors_ |
unsigned int | nEvents_ |
unsigned int | nWasRun_ |
std::vector< int > | posL1s_ |
std::vector< int > | posPre_ |
unsigned int | refIndex_ |
std::string | refPath_ |
double | refRate_ |
const ReportEvery | reportBy_ |
const ReportEvery | resetBy_ |
const ReportEvery | serviceBy_ |
std::vector< std::vector< std::string > > | streamContents_ |
std::vector< std::string > | streamNames_ |
Additional Inherited Members | |
Public Types inherited from edm::one::EDAnalyzerBase | |
typedef EDAnalyzerBase | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
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) |
See header file for documentation
This class is an EDAnalyzer implementing TrigReport (statistics printed to log file) for HL triggers
Definition at line 31 of file HLTrigReport.h.
|
private |
Enumerator | |
---|---|
NEVER | |
EVERY_EVENT | |
EVERY_LUMI | |
EVERY_RUN | |
EVERY_JOB |
Definition at line 33 of file HLTrigReport.h.
|
explicit |
Definition at line 48 of file HLTrigReport.cc.
References datasetContents_, datasetNames_, edm::InputTag::encode(), edm::ParameterSet::getParameter(), edm::ParameterSet::getParameterNamesForType(), edm::ParameterSet::getUntrackedParameter(), hlTriggerResults_, isCustomDatasets_, isCustomStreams_, LogDebug, dataset::name, NEVER, refIndex_, refPath_, refRate_, serviceBy_, streamContents_, streamNames_, AlCaHLTBitMon_QueryRunRegistry::string, and ~HLTrigReport().
|
overridedefault |
Referenced by HLTrigReport().
|
override |
Definition at line 385 of file HLTrigReport.cc.
References accept(), edm::HLTGlobalStatus::accept(), configured_, datasetCounts(), dsAccTotS_, dsAllTotS_, dsIndex_, dumpReport(), edm::InputTag::encode(), edm::HLTGlobalStatus::error(), EVERY_EVENT, edm::Event::getByToken(), hlAccept_, hlAccTot_, hlAccTotDS_, hlAllTotDS_, hlErrors_, hlIndex_, hlNames_, hltL1s_, hltPre_, hlTriggerResults_, hlTriggerResultsToken_, hlWasRun_, mps_fire::i, edm::EventBase::id(), edm::HLTGlobalStatus::index(), edm::HandleBase::isValid(), LogDebug, edm::EventBase::luminosityBlock(), gen::n, nAccept_, nErrors_, nEvents_, nWasRun_, or, AlCaHLTBitMon_ParallelJobs::p, posL1s_, posPre_, reportBy_, reset(), resetBy_, edm::Event::run(), alignCSCRings::s, serviceBy_, streamCounts(), and edm::HLTGlobalStatus::wasrun().
|
overridevirtual |
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 300 of file HLTrigReport.cc.
References EVERY_JOB, reset(), and resetBy_.
|
override |
Definition at line 366 of file HLTrigReport.cc.
References EVERY_LUMI, reset(), and resetBy_.
|
override |
Definition at line 316 of file HLTrigReport.cc.
References configured_, dsAccTotS_, dsAllTotS_, dsIndex_, dumpReport(), EVERY_RUN, hlAccept_, hlAccTot_, hlAccTotDS_, hlAllTotDS_, hlErrors_, hlIndex_, hlNames_, hltConfig_, hltL1s_, hltPre_, hlTriggerResults_, hlWasRun_, HLTConfigProvider::init(), nAccept_, nErrors_, nEvents_, nWasRun_, posL1s_, posPre_, edm::InputTag::process(), reset(), and resetBy_.
const std::vector< unsigned int > & HLTrigReport::datasetCounts | ( | ) | const |
Definition at line 145 of file HLTrigReport.cc.
References hlAllTotDS_.
Referenced by analyze(), endJob(), endLuminosityBlock(), and endRun().
const std::vector< std::string > & HLTrigReport::datasetNames | ( | ) | const |
|
static |
Definition at line 25 of file HLTrigReport.cc.
References EVERY_EVENT, EVERY_JOB, EVERY_LUMI, EVERY_RUN, Exception, and NEVER.
|
private |
Definition at line 473 of file HLTrigReport.cc.
References alpha, configured_, datasetNames_, TauDecayModes::dec, DEFINE_FWK_MODULE, dsAccTotS_, dsAllTotS_, dsIndex_, alignBH_cfg::fixed, hlAccept_, hlAccTot_, hlAccTotDS_, hlAllTotDS_, hlErrors_, hlIndex_, hlNames_, hltL1s_, hltPre_, hlWasRun_, mps_fire::i, SiStripPI::max, gen::n, nAccept_, nErrors_, nEvents_, nWasRun_, AlCaHLTBitMon_ParallelJobs::p, refIndex_, refRate_, alignCSCRings::s, Scenarios_cff::scale, and streamNames_.
Referenced by analyze(), beginRun(), endJob(), endLuminosityBlock(), and endRun().
|
overridevirtual |
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 305 of file HLTrigReport.cc.
References datasetCounts(), dumpReport(), EVERY_JOB, reportBy_, serviceBy_, and streamCounts().
|
override |
Definition at line 370 of file HLTrigReport.cc.
References datasetCounts(), dumpReport(), EVERY_LUMI, edm::LuminosityBlockBase::luminosityBlock(), reportBy_, edm::LuminosityBlockBase::run(), serviceBy_, and streamCounts().
|
override |
Definition at line 354 of file HLTrigReport.cc.
References datasetCounts(), dumpReport(), EVERY_RUN, reportBy_, edm::RunBase::run(), serviceBy_, and streamCounts().
|
static |
Definition at line 118 of file HLTrigReport.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), edm::ParameterSetDescription::addUntracked(), and AlCaHLTBitMon_QueryRunRegistry::string.
void HLTrigReport::reset | ( | bool | changed = false | ) |
Definition at line 152 of file HLTrigReport.cc.
References HLTConfigProvider::datasetContents(), datasetContents_, HLTConfigProvider::datasetNames(), datasetNames_, dsAccTotS_, dsAllTotS_, dsIndex_, hlAccept_, hlAccTot_, hlAccTotDS_, hlAllTotDS_, hlErrors_, hlIndex_, hlNames_, hltConfig_, hltL1s_, hltPre_, hlWasRun_, mps_fire::i, isCustomDatasets_, isCustomStreams_, diffTwoXMLs::label, HLTConfigProvider::moduleLabels(), HLTConfigProvider::moduleType(), gen::n, nAccept_, nErrors_, nEvents_, NEVER, nWasRun_, AlCaHLTBitMon_ParallelJobs::p, posL1s_, posPre_, refIndex_, refPath_, alignCSCRings::s, serviceBy_, findQualityFiles::size, HLTConfigProvider::streamContents(), streamContents_, HLTConfigProvider::streamNames(), streamNames_, AlCaHLTBitMon_QueryRunRegistry::string, HLTConfigProvider::triggerIndex(), and HLTConfigProvider::triggerNames().
Referenced by analyze(), beginJob(), beginLuminosityBlock(), and beginRun().
const std::vector< unsigned int > & HLTrigReport::streamCounts | ( | ) | const |
Definition at line 148 of file HLTrigReport.cc.
References dsAllTotS_.
Referenced by analyze(), endJob(), endLuminosityBlock(), and endRun().
const std::vector< std::string > & HLTrigReport::streamNames | ( | ) | const |
|
private |
Definition at line 73 of file HLTrigReport.h.
Referenced by analyze(), beginRun(), and dumpReport().
|
private |
Definition at line 95 of file HLTrigReport.h.
Referenced by HLTrigReport(), and reset().
|
private |
Definition at line 94 of file HLTrigReport.h.
Referenced by datasetNames(), dumpReport(), HLTrigReport(), and reset().
|
private |
Definition at line 98 of file HLTrigReport.h.
Referenced by analyze(), beginRun(), dumpReport(), and reset().
|
private |
Definition at line 99 of file HLTrigReport.h.
Referenced by analyze(), beginRun(), dumpReport(), reset(), and streamCounts().
|
private |
Definition at line 97 of file HLTrigReport.h.
Referenced by analyze(), beginRun(), dumpReport(), and reset().
|
private |
Definition at line 83 of file HLTrigReport.h.
Referenced by analyze(), beginRun(), dumpReport(), and reset().
|
private |
Definition at line 84 of file HLTrigReport.h.
Referenced by analyze(), beginRun(), dumpReport(), and reset().
|
private |
Definition at line 92 of file HLTrigReport.h.
Referenced by analyze(), beginRun(), dumpReport(), and reset().
|
private |
Definition at line 93 of file HLTrigReport.h.
Referenced by analyze(), beginRun(), datasetCounts(), dumpReport(), and reset().
|
private |
Definition at line 85 of file HLTrigReport.h.
Referenced by analyze(), beginRun(), dumpReport(), and reset().
|
private |
Definition at line 91 of file HLTrigReport.h.
Referenced by analyze(), beginRun(), dumpReport(), and reset().
|
private |
Definition at line 89 of file HLTrigReport.h.
Referenced by analyze(), beginRun(), dumpReport(), and reset().
|
private |
Definition at line 110 of file HLTrigReport.h.
Referenced by beginRun(), and reset().
|
private |
Definition at line 81 of file HLTrigReport.h.
Referenced by analyze(), beginRun(), dumpReport(), and reset().
|
private |
Definition at line 82 of file HLTrigReport.h.
Referenced by analyze(), beginRun(), dumpReport(), and reset().
|
private |
Definition at line 71 of file HLTrigReport.h.
Referenced by analyze(), beginRun(), and HLTrigReport().
|
private |
Definition at line 72 of file HLTrigReport.h.
Referenced by analyze().
|
private |
Definition at line 80 of file HLTrigReport.h.
Referenced by analyze(), beginRun(), dumpReport(), and reset().
|
private |
Definition at line 96 of file HLTrigReport.h.
Referenced by HLTrigReport(), and reset().
|
private |
Definition at line 102 of file HLTrigReport.h.
Referenced by HLTrigReport(), and reset().
|
private |
Definition at line 77 of file HLTrigReport.h.
Referenced by analyze(), beginRun(), dumpReport(), and reset().
|
private |
Definition at line 78 of file HLTrigReport.h.
Referenced by analyze(), beginRun(), dumpReport(), and reset().
|
private |
Definition at line 75 of file HLTrigReport.h.
Referenced by analyze(), beginRun(), dumpReport(), and reset().
|
private |
Definition at line 76 of file HLTrigReport.h.
Referenced by analyze(), beginRun(), dumpReport(), and reset().
|
private |
Definition at line 87 of file HLTrigReport.h.
Referenced by analyze(), beginRun(), and reset().
|
private |
Definition at line 88 of file HLTrigReport.h.
Referenced by analyze(), beginRun(), and reset().
|
private |
Definition at line 104 of file HLTrigReport.h.
Referenced by dumpReport(), HLTrigReport(), and reset().
|
private |
Definition at line 103 of file HLTrigReport.h.
Referenced by HLTrigReport(), and reset().
|
private |
Definition at line 105 of file HLTrigReport.h.
Referenced by dumpReport(), and HLTrigReport().
|
private |
Definition at line 107 of file HLTrigReport.h.
Referenced by analyze(), endJob(), endLuminosityBlock(), and endRun().
|
private |
Definition at line 108 of file HLTrigReport.h.
Referenced by analyze(), beginJob(), beginLuminosityBlock(), and beginRun().
|
private |
Definition at line 109 of file HLTrigReport.h.
Referenced by analyze(), endJob(), endLuminosityBlock(), endRun(), HLTrigReport(), and reset().
|
private |
Definition at line 101 of file HLTrigReport.h.
Referenced by HLTrigReport(), and reset().
|
private |
Definition at line 100 of file HLTrigReport.h.
Referenced by dumpReport(), HLTrigReport(), reset(), and streamNames().