#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 | |
EDAnalyzer () | |
std::string | workerType () const |
virtual | ~EDAnalyzer () |
Static Public Member Functions | |
static ReportEvery | decode (const std::string &value) |
Static Public Member Functions inherited from edm::EDAnalyzer | |
static const std::string & | baseType () |
static void | fillDescriptions (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_ |
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 |
typedef WorkerT< EDAnalyzer > | WorkerType |
Protected Member Functions inherited from edm::EDAnalyzer | |
CurrentProcessingContext const * | currentContext () const |
This class is an EDAnalyzer implementing TrigReport (statistics printed to log file) for HL triggers
See header file for documentation
Definition at line 29 of file HLTrigReport.h.
|
private |
Enumerator | |
---|---|
NEVER | |
EVERY_EVENT | |
EVERY_LUMI | |
EVERY_RUN | |
EVERY_JOB |
Definition at line 31 of file HLTrigReport.h.
|
explicit |
Definition at line 53 of file HLTrigReport.cc.
References datasetContents_, datasetNames_, edm::InputTag::encode(), edm::ParameterSet::getParameter(), edm::ParameterSet::getParameterNamesForType(), edm::ParameterSet::getUntrackedParameter(), hlTriggerResults_, isCustomDatasets_, isCustomStreams_, LogDebug, mergeVDriftHistosByStation::name, NEVER, refIndex_, refPath_, refRate_, serviceBy_, streamContents_, and streamNames_.
HLTrigReport::~HLTrigReport | ( | ) |
Definition at line 119 of file HLTrigReport.cc.
|
virtual |
Implements edm::EDAnalyzer.
Definition at line 371 of file HLTrigReport.cc.
References accept(), configured_, datasetCounts(), dsAccTotS_, dsAllTotS_, dsIndex_, edm::InputTag::encode(), EVERY_EVENT, edm::Event::getByLabel(), hlAccept_, hlAccTot_, hlAccTotDS_, hlAllTotDS_, hlErrors_, hlIndex_, hlNames_, hltL1s_, hltPre_, hlTriggerResults_, hlWasRun_, i, edm::EventBase::id(), getHLTprescales::index, LogDebug, edm::EventBase::luminosityBlock(), n, nAccept_, nErrors_, nEvents_, nWasRun_, or, L1TEmulatorMonitor_cff::p, posL1s_, posPre_, reportBy_, reset(), resetBy_, edm::Event::run(), asciidump::s, serviceBy_, and streamCounts().
|
virtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 286 of file HLTrigReport.cc.
References EVERY_JOB, reset(), and resetBy_.
|
virtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 352 of file HLTrigReport.cc.
References EVERY_RUN, reset(), and resetBy_.
|
virtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 302 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 131 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 30 of file HLTrigReport.cc.
References EVERY_EVENT, EVERY_JOB, EVERY_LUMI, EVERY_RUN, edm::hlt::Exception, and NEVER.
|
private |
Definition at line 458 of file HLTrigReport.cc.
References alpha, configured_, datasetNames_, dsAccTotS_, dsAllTotS_, dsIndex_, hlAccept_, hlAccTot_, hlAccTotDS_, hlAllTotDS_, hlErrors_, hlIndex_, hlNames_, hltL1s_, hltPre_, hlWasRun_, i, max(), n, nAccept_, nErrors_, nEvents_, nWasRun_, L1TEmulatorMonitor_cff::p, refIndex_, refRate_, asciidump::s, and streamNames_.
Referenced by beginRun(), endJob(), endLuminosityBlock(), and endRun().
|
virtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 291 of file HLTrigReport.cc.
References datasetCounts(), dumpReport(), EVERY_JOB, reportBy_, serviceBy_, and streamCounts().
|
virtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 356 of file HLTrigReport.cc.
References datasetCounts(), dumpReport(), EVERY_LUMI, edm::LuminosityBlockBase::luminosityBlock(), reportBy_, edm::LuminosityBlockBase::run(), serviceBy_, and streamCounts().
|
virtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 340 of file HLTrigReport.cc.
References datasetCounts(), dumpReport(), EVERY_RUN, reportBy_, edm::RunBase::run(), serviceBy_, and streamCounts().
void HLTrigReport::reset | ( | bool | changed = false | ) |
Definition at line 138 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, label, HLTConfigProvider::moduleLabels(), HLTConfigProvider::moduleType(), n, nAccept_, nErrors_, nEvents_, NEVER, nWasRun_, L1TEmulatorMonitor_cff::p, posL1s_, posPre_, refIndex_, refPath_, asciidump::s, serviceBy_, findQualityFiles::size, HLTConfigProvider::streamContents(), streamContents_, HLTConfigProvider::streamNames(), streamNames_, HLTConfigProvider::triggerIndex(), and HLTConfigProvider::triggerNames().
Referenced by analyze(), beginJob(), beginLuminosityBlock(), and beginRun().
const std::vector< unsigned int > & HLTrigReport::streamCounts | ( | ) | const |
Definition at line 134 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 69 of file HLTrigReport.h.
Referenced by analyze(), beginRun(), and dumpReport().
|
private |
Definition at line 91 of file HLTrigReport.h.
Referenced by HLTrigReport(), and reset().
|
private |
Definition at line 90 of file HLTrigReport.h.
Referenced by datasetNames(), dumpReport(), HLTrigReport(), and reset().
|
private |
Definition at line 94 of file HLTrigReport.h.
Referenced by analyze(), beginRun(), dumpReport(), and reset().
|
private |
Definition at line 95 of file HLTrigReport.h.
Referenced by analyze(), beginRun(), dumpReport(), reset(), and streamCounts().
|
private |
Definition at line 93 of file HLTrigReport.h.
Referenced by analyze(), beginRun(), dumpReport(), and reset().
|
private |
Definition at line 79 of file HLTrigReport.h.
Referenced by analyze(), beginRun(), dumpReport(), and reset().
|
private |
Definition at line 80 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 89 of file HLTrigReport.h.
Referenced by analyze(), beginRun(), datasetCounts(), dumpReport(), and reset().
|
private |
Definition at line 81 of file HLTrigReport.h.
Referenced by analyze(), beginRun(), dumpReport(), and reset().
|
private |
Definition at line 87 of file HLTrigReport.h.
Referenced by analyze(), beginRun(), dumpReport(), and reset().
|
private |
Definition at line 85 of file HLTrigReport.h.
Referenced by analyze(), beginRun(), dumpReport(), and reset().
|
private |
Definition at line 106 of file HLTrigReport.h.
Referenced by beginRun(), 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 68 of file HLTrigReport.h.
Referenced by analyze(), beginRun(), and HLTrigReport().
|
private |
Definition at line 76 of file HLTrigReport.h.
Referenced by analyze(), beginRun(), dumpReport(), and reset().
|
private |
Definition at line 92 of file HLTrigReport.h.
Referenced by HLTrigReport(), and reset().
|
private |
Definition at line 98 of file HLTrigReport.h.
Referenced by HLTrigReport(), and reset().
|
private |
Definition at line 73 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 71 of file HLTrigReport.h.
Referenced by analyze(), beginRun(), dumpReport(), and reset().
|
private |
Definition at line 72 of file HLTrigReport.h.
Referenced by analyze(), beginRun(), dumpReport(), and reset().
|
private |
Definition at line 83 of file HLTrigReport.h.
Referenced by analyze(), beginRun(), and reset().
|
private |
Definition at line 84 of file HLTrigReport.h.
Referenced by analyze(), beginRun(), and reset().
|
private |
Definition at line 100 of file HLTrigReport.h.
Referenced by dumpReport(), HLTrigReport(), and reset().
|
private |
Definition at line 99 of file HLTrigReport.h.
Referenced by HLTrigReport(), and reset().
|
private |
Definition at line 101 of file HLTrigReport.h.
Referenced by dumpReport(), and HLTrigReport().
|
private |
Definition at line 103 of file HLTrigReport.h.
Referenced by analyze(), endJob(), endLuminosityBlock(), and endRun().
|
private |
Definition at line 104 of file HLTrigReport.h.
Referenced by analyze(), beginJob(), beginLuminosityBlock(), and beginRun().
|
private |
Definition at line 105 of file HLTrigReport.h.
Referenced by analyze(), endJob(), endLuminosityBlock(), endRun(), HLTrigReport(), and reset().
|
private |
Definition at line 97 of file HLTrigReport.h.
Referenced by HLTrigReport(), and reset().
|
private |
Definition at line 96 of file HLTrigReport.h.
Referenced by dumpReport(), HLTrigReport(), reset(), and streamNames().