#include <HLTrigReport.h>
Public Member Functions | |
virtual void | analyze (const edm::Event &, const edm::EventSetup &) override |
virtual void | beginJob () override |
virtual void | beginLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) override |
virtual void | beginRun (edm::Run const &, edm::EventSetup const &) override |
const std::vector< unsigned int > & | datasetCounts () const |
const std::vector< std::string > & | datasetNames () const |
virtual void | endJob () override |
virtual void | endLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) override |
virtual 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 () | |
Public Member Functions inherited from edm::one::EDAnalyzer< edm::one::WatchRuns, edm::one::WatchLuminosityBlocks > | |
EDAnalyzer ()=default | |
Public Member Functions inherited from edm::one::EDAnalyzerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
EDAnalyzerBase () | |
ModuleDescription const & | moduleDescription () const |
virtual | ~EDAnalyzerBase () |
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) |
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) |
This class is an EDAnalyzer implementing TrigReport (statistics printed to log file) for HL triggers
See header file for documentation
Definition at line 30 of file HLTrigReport.h.
|
private |
Enumerator | |
---|---|
NEVER | |
EVERY_EVENT | |
EVERY_LUMI | |
EVERY_RUN | |
EVERY_JOB |
Definition at line 32 of file HLTrigReport.h.
|
explicit |
Definition at line 50 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().
|
default |
Referenced by HLTrigReport().
|
overridevirtual |
Definition at line 387 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(), diffTreeTool::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 302 of file HLTrigReport.cc.
References EVERY_JOB, reset(), and resetBy_.
|
overridevirtual |
Definition at line 368 of file HLTrigReport.cc.
References EVERY_LUMI, reset(), and resetBy_.
|
overridevirtual |
Definition at line 318 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 147 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 27 of file HLTrigReport.cc.
References EVERY_EVENT, EVERY_JOB, EVERY_LUMI, EVERY_RUN, Exception, and NEVER.
|
private |
Definition at line 475 of file HLTrigReport.cc.
References alpha, configured_, datasetNames_, TauDecayModes::dec, dsAccTotS_, dsAllTotS_, dsIndex_, alignBH_cfg::fixed, hlAccept_, hlAccTot_, hlAccTotDS_, hlAllTotDS_, hlErrors_, hlIndex_, hlNames_, hltL1s_, hltPre_, hlWasRun_, mps_fire::i, hpstanc_transforms::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 307 of file HLTrigReport.cc.
References datasetCounts(), dumpReport(), EVERY_JOB, reportBy_, serviceBy_, and streamCounts().
|
overridevirtual |
Definition at line 372 of file HLTrigReport.cc.
References datasetCounts(), dumpReport(), EVERY_LUMI, edm::LuminosityBlockBase::luminosityBlock(), reportBy_, edm::LuminosityBlockBase::run(), serviceBy_, and streamCounts().
|
overridevirtual |
Definition at line 356 of file HLTrigReport.cc.
References datasetCounts(), dumpReport(), EVERY_RUN, reportBy_, edm::RunBase::run(), serviceBy_, and streamCounts().
|
static |
Definition at line 120 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 154 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 150 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 72 of file HLTrigReport.h.
Referenced by analyze(), beginRun(), and dumpReport().
|
private |
Definition at line 94 of file HLTrigReport.h.
Referenced by HLTrigReport(), and reset().
|
private |
Definition at line 93 of file HLTrigReport.h.
Referenced by datasetNames(), dumpReport(), HLTrigReport(), and reset().
|
private |
Definition at line 97 of file HLTrigReport.h.
Referenced by analyze(), beginRun(), dumpReport(), and reset().
|
private |
Definition at line 98 of file HLTrigReport.h.
Referenced by analyze(), beginRun(), dumpReport(), reset(), and streamCounts().
|
private |
Definition at line 96 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 83 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 92 of file HLTrigReport.h.
Referenced by analyze(), beginRun(), datasetCounts(), dumpReport(), and reset().
|
private |
Definition at line 84 of file HLTrigReport.h.
Referenced by analyze(), beginRun(), dumpReport(), and reset().
|
private |
Definition at line 90 of file HLTrigReport.h.
Referenced by analyze(), beginRun(), dumpReport(), and reset().
|
private |
Definition at line 88 of file HLTrigReport.h.
Referenced by analyze(), beginRun(), dumpReport(), and reset().
|
private |
Definition at line 109 of file HLTrigReport.h.
Referenced by beginRun(), and reset().
|
private |
Definition at line 80 of file HLTrigReport.h.
Referenced by analyze(), beginRun(), dumpReport(), and reset().
|
private |
Definition at line 81 of file HLTrigReport.h.
Referenced by analyze(), beginRun(), dumpReport(), and reset().
|
private |
Definition at line 70 of file HLTrigReport.h.
Referenced by analyze(), beginRun(), and HLTrigReport().
|
private |
Definition at line 71 of file HLTrigReport.h.
Referenced by analyze().
|
private |
Definition at line 79 of file HLTrigReport.h.
Referenced by analyze(), beginRun(), dumpReport(), and reset().
|
private |
Definition at line 95 of file HLTrigReport.h.
Referenced by HLTrigReport(), and reset().
|
private |
Definition at line 101 of file HLTrigReport.h.
Referenced by HLTrigReport(), and reset().
|
private |
Definition at line 76 of file HLTrigReport.h.
Referenced by analyze(), beginRun(), dumpReport(), and reset().
|
private |
Definition at line 77 of file HLTrigReport.h.
Referenced by analyze(), beginRun(), dumpReport(), and reset().
|
private |
Definition at line 74 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 86 of file HLTrigReport.h.
Referenced by analyze(), beginRun(), and reset().
|
private |
Definition at line 87 of file HLTrigReport.h.
Referenced by analyze(), beginRun(), and reset().
|
private |
Definition at line 103 of file HLTrigReport.h.
Referenced by dumpReport(), HLTrigReport(), and reset().
|
private |
Definition at line 102 of file HLTrigReport.h.
Referenced by HLTrigReport(), and reset().
|
private |
Definition at line 104 of file HLTrigReport.h.
Referenced by dumpReport(), and HLTrigReport().
|
private |
Definition at line 106 of file HLTrigReport.h.
Referenced by analyze(), endJob(), endLuminosityBlock(), and endRun().
|
private |
Definition at line 107 of file HLTrigReport.h.
Referenced by analyze(), beginJob(), beginLuminosityBlock(), and beginRun().
|
private |
Definition at line 108 of file HLTrigReport.h.
Referenced by analyze(), endJob(), endLuminosityBlock(), endRun(), HLTrigReport(), and reset().
|
private |
Definition at line 100 of file HLTrigReport.h.
Referenced by HLTrigReport(), and reset().
|
private |
Definition at line 99 of file HLTrigReport.h.
Referenced by dumpReport(), HLTrigReport(), reset(), and streamNames().