#include <HLTrigReport.h>
Public Member Functions | |
virtual void | analyze (const edm::Event &, const edm::EventSetup &) |
virtual void | beginJob () |
virtual void | beginLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) |
virtual void | beginRun (edm::Run const &, edm::EventSetup const &) |
const std::vector< unsigned int > & | datasetCounts () const |
const std::vector< std::string > & | datasetNames () const |
virtual void | endJob () |
virtual void | endLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) |
virtual void | endRun (edm::Run const &, edm::EventSetup const &) |
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::EDAnalyzer | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
EDAnalyzer () | |
ModuleDescription const & | moduleDescription () const |
std::string | workerType () const |
virtual | ~EDAnalyzer () |
Public Member Functions inherited from edm::EDConsumerBase | |
EDConsumerBase () | |
ProductHolderIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
std::vector < ProductHolderIndexAndSkipBit > const & | itemsToGetFromEvent () const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesDependentUpon (const std::string &iProcessName, std::vector< const char * > &oModuleLabels) const |
bool | registeredToConsume (ProductHolderIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
Static Public Member Functions | |
static ReportEvery | decode (const std::string &value) |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Static Public Member Functions inherited from edm::EDAnalyzer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &) |
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_ |
ReportEvery | reportBy_ |
ReportEvery | resetBy_ |
ReportEvery | serviceBy_ |
std::vector< std::vector < std::string > > | streamContents_ |
std::vector< std::string > | streamNames_ |
Additional Inherited Members | |
Public Types inherited from edm::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
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 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 50 of file HLTrigReport.cc.
References datasetContents_, datasetNames_, edm::InputTag::encode(), edm::ParameterSet::getParameter(), edm::ParameterSet::getParameterNamesForType(), edm::ParameterSet::getUntrackedParameter(), hlTriggerResults_, hlTriggerResultsToken_, isCustomDatasets_, isCustomStreams_, LogDebug, mergeVDriftHistosByStation::name, NEVER, refIndex_, refPath_, refRate_, serviceBy_, streamContents_, streamNames_, and AlCaHLTBitMon_QueryRunRegistry::string.
HLTrigReport::~HLTrigReport | ( | ) |
Definition at line 118 of file HLTrigReport.cc.
|
virtual |
Implements edm::EDAnalyzer.
Definition at line 388 of file HLTrigReport.cc.
References accept(), configured_, datasetCounts(), dsAccTotS_, dsAllTotS_, dsIndex_, dumpReport(), edm::InputTag::encode(), EVERY_EVENT, edm::Event::getByToken(), hlAccept_, hlAccTot_, hlAccTotDS_, hlAllTotDS_, hlErrors_, hlIndex_, hlNames_, hltL1s_, hltPre_, hlTriggerResults_, hlTriggerResultsToken_, hlWasRun_, i, edm::EventBase::id(), cmsHarvester::index, LogDebug, edm::EventBase::luminosityBlock(), n, nAccept_, nErrors_, nEvents_, nWasRun_, or, AlCaHLTBitMon_ParallelJobs::p, posL1s_, posPre_, reportBy_, reset(), resetBy_, edm::Event::run(), alignCSCRings::s, serviceBy_, edmStreamStallGrapher::stream, and streamCounts().
|
virtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 303 of file HLTrigReport.cc.
References EVERY_JOB, reset(), and resetBy_.
|
virtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 369 of file HLTrigReport.cc.
References EVERY_LUMI, reset(), and resetBy_.
|
virtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 319 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 148 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, edm::hlt::Exception, and NEVER.
|
private |
Definition at line 476 of file HLTrigReport.cc.
References alpha, configured_, datasetNames_, TauDecayModes::dec, dsAccTotS_, dsAllTotS_, dsIndex_, hlAccept_, hlAccTot_, hlAccTotDS_, hlAllTotDS_, hlErrors_, hlIndex_, hlNames_, hltL1s_, hltPre_, hlWasRun_, i, bookConverter::max, n, nAccept_, nErrors_, nEvents_, nWasRun_, AlCaHLTBitMon_ParallelJobs::p, refIndex_, refRate_, alignCSCRings::s, pileupReCalc_HLTpaths::scale, and streamNames_.
Referenced by analyze(), beginRun(), endJob(), endLuminosityBlock(), and endRun().
|
virtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 308 of file HLTrigReport.cc.
References datasetCounts(), dumpReport(), EVERY_JOB, reportBy_, serviceBy_, and streamCounts().
|
virtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 373 of file HLTrigReport.cc.
References datasetCounts(), dumpReport(), EVERY_LUMI, edm::LuminosityBlockBase::luminosityBlock(), reportBy_, edm::LuminosityBlockBase::run(), serviceBy_, edmStreamStallGrapher::stream, and streamCounts().
|
virtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 357 of file HLTrigReport.cc.
References datasetCounts(), dumpReport(), EVERY_RUN, reportBy_, edm::RunBase::run(), serviceBy_, edmStreamStallGrapher::stream, and streamCounts().
|
static |
Definition at line 121 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 155 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_, i, isCustomDatasets_, isCustomStreams_, j, diffTwoXMLs::label, HLTConfigProvider::moduleLabels(), HLTConfigProvider::moduleType(), 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 151 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(), and HLTrigReport().
|
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().