#include <HLTrigReport.h>
Public Types | |
using | Accumulate = hltrigreport::Accumulate |
Public Types inherited from edm::one::EDAnalyzerBase | |
typedef EDAnalyzerBase | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
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 | |
hltrigreport::Accumulate & | chooseAccumulate (edm::LuminosityBlockIndex index) |
void | dumpReport (hltrigreport::Accumulate const &accumulate, std::string const &header=std::string()) const |
bool | readAfterLumi () const |
void | reset () |
void | updateConfigCache () |
void | updateService (Accumulate const &accumulate) const |
bool | useLumiCache () const |
Private Attributes | |
hltrigreport::Accumulate | accumulate_ |
bool | configured_ |
std::vector< std::vector< std::string > > | datasetContents_ |
std::vector< std::string > | datasetNames_ |
std::vector< std::vector< unsigned int > > | dsIndex_ |
std::vector< std::vector< unsigned int > > | hlIndex_ |
std::vector< std::string > | hlNames_ |
HLTConfigProvider | hltConfig_ |
const edm::InputTag | hlTriggerResults_ |
const edm::EDGetTokenT< edm::TriggerResults > | hlTriggerResultsToken_ |
bool | isCustomDatasets_ |
bool | isCustomStreams_ |
std::vector< int > | posL1s_ |
std::vector< int > | posPre_ |
unsigned int | refIndex_ |
std::string | refPath_ |
const 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 | |
Protected Member Functions inherited from edm::EDConsumerBase | |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
template<BranchType B = InEvent> | |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
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 ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<Transition Tr = Transition::Event> | |
constexpr auto | esConsumes () noexcept |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) noexcept |
template<Transition Tr = Transition::Event> | |
ESGetTokenGeneric | esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey) |
Used with EventSetupRecord::doGet. More... | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (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 63 of file HLTrigReport.h.
Definition at line 69 of file HLTrigReport.h.
|
private |
Enumerator | |
---|---|
NEVER | |
EVERY_EVENT | |
EVERY_LUMI | |
EVERY_RUN | |
EVERY_JOB |
Definition at line 66 of file HLTrigReport.h.
|
explicit |
Definition at line 152 of file HLTrigReport.cc.
References datasetContents_, datasetNames_, edm::InputTag::encode(), edm::ParameterSet::getParameter(), edm::ParameterSet::getParameterNamesForType(), edm::ParameterSet::getUntrackedParameter(), hlTriggerResults_, isCustomDatasets_, isCustomStreams_, LogDebug, Skims_PA_cff::name, NEVER, refIndex_, refPath_, refRate_, serviceBy_, streamContents_, streamNames_, and AlCaHLTBitMon_QueryRunRegistry::string.
|
overridedefault |
|
overridevirtual |
Implements edm::one::EDAnalyzerBase.
Definition at line 407 of file HLTrigReport.cc.
References accept(), edm::HLTGlobalStatus::accept(), chooseAccumulate(), configured_, dsIndex_, dumpReport(), edm::InputTag::encode(), edm::HLTGlobalStatus::error(), EVERY_EVENT, hlIndex_, hlNames_, hlTriggerResults_, hlTriggerResultsToken_, mps_fire::i, iEvent, if(), edm::HLTGlobalStatus::index(), edm::HandleBase::isValid(), LogDebug, dqmiodumpmetadata::n, or, AlCaHLTBitMon_ParallelJobs::p, posL1s_, posPre_, reportBy_, hltrigreport::Accumulate::reset(), resetBy_, alignCSCRings::s, serviceBy_, cms::cuda::stream, updateService(), and edm::HLTGlobalStatus::wasrun().
|
overridevirtual |
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 318 of file HLTrigReport.cc.
|
override |
Definition at line 331 of file HLTrigReport.cc.
References hlx_dqm_sourceclient_cfi::Accumulate, accumulate_, configured_, dsIndex_, dumpReport(), EVERY_RUN, hlIndex_, hlNames_, hltConfig_, hlTriggerResults_, HLTConfigProvider::init(), edm::InputTag::process(), reset(), resetBy_, and updateConfigCache().
|
inlineprivate |
Definition at line 96 of file HLTrigReport.h.
References accumulate_, and useLumiCache().
Referenced by analyze().
const std::vector< std::string > & HLTrigReport::datasetNames | ( | ) | const |
|
static |
Definition at line 24 of file HLTrigReport.cc.
References EVERY_EVENT, EVERY_JOB, EVERY_LUMI, EVERY_RUN, Exception, and NEVER.
|
private |
Definition at line 517 of file HLTrigReport.cc.
References alpha, configured_, datasetNames_, TauDecayModes::dec, hltrigreport::Accumulate::dsAccTotS_, hltrigreport::Accumulate::dsAllTotS_, dsIndex_, alignBH_cfg::fixed, RecoTauValidation_cfi::header, hltrigreport::Accumulate::hlAccept_, hltrigreport::Accumulate::hlAccTot_, hltrigreport::Accumulate::hlAccTotDS_, hltrigreport::Accumulate::hlAllTotDS_, hltrigreport::Accumulate::hlErrors_, hlIndex_, hlNames_, hltrigreport::Accumulate::hltL1s_, hltrigreport::Accumulate::hltPre_, hltrigreport::Accumulate::hlWasRun_, mps_fire::i, SiStripPI::max, dqmiodumpmetadata::n, hltrigreport::Accumulate::nAccept_, hltrigreport::Accumulate::nErrors_, hltrigreport::Accumulate::nEvents_, hltrigreport::Accumulate::nWasRun_, AlCaHLTBitMon_ParallelJobs::p, refIndex_, refRate_, alignCSCRings::s, L1EGammaCrystalsEmulatorProducer_cfi::scale, and streamNames_.
Referenced by analyze(), beginRun(), endJob(), endRun(), and globalEndLuminosityBlock().
|
overridevirtual |
Reimplemented from edm::one::EDAnalyzerBase.
Definition at line 323 of file HLTrigReport.cc.
References accumulate_, dumpReport(), EVERY_JOB, reportBy_, serviceBy_, and updateService().
|
override |
Definition at line 352 of file HLTrigReport.cc.
References accumulate_, dumpReport(), EVERY_RUN, reportBy_, writedatasetfile::run, serviceBy_, cms::cuda::stream, and updateService().
|
static |
Definition at line 207 of file HLTrigReport.cc.
References edm::ConfigurationDescriptions::add(), submitPVResolutionJobs::desc, HLT_FULL_cff::InputTag, and AlCaHLTBitMon_QueryRunRegistry::string.
|
override |
Definition at line 363 of file HLTrigReport.cc.
References configured_, dsIndex_, hlIndex_, hlNames_, and useLumiCache().
|
override |
Definition at line 374 of file HLTrigReport.cc.
References hltrigreport::Accumulate::accumulate(), accumulate_, dumpReport(), EVERY_EVENT, EVERY_JOB, EVERY_LUMI, EVERY_RUN, eostools::move(), NEVER, or, readAfterLumi(), reportBy_, resetBy_, serviceBy_, cms::cuda::stream, updateService(), and useLumiCache().
|
inlineprivate |
Definition at line 103 of file HLTrigReport.h.
References EVERY_JOB, EVERY_RUN, or, reportBy_, and serviceBy_.
Referenced by globalEndLuminosityBlock().
|
private |
Definition at line 316 of file HLTrigReport.cc.
References accumulate_, and hltrigreport::Accumulate::reset().
Referenced by beginJob(), and beginRun().
const std::vector< std::string > & HLTrigReport::streamNames | ( | ) | const |
|
private |
Definition at line 231 of file HLTrigReport.cc.
References HLTConfigProvider::datasetContents(), datasetContents_, HLTConfigProvider::datasetNames(), datasetNames_, dsIndex_, hlIndex_, hlNames_, hltConfig_, mps_fire::i, isCustomDatasets_, isCustomStreams_, dqmiolumiharvest::j, label, HLTConfigProvider::moduleLabels(), HLTConfigProvider::moduleType(), dqmiodumpmetadata::n, NEVER, 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 beginRun().
|
private |
Definition at line 509 of file HLTrigReport.cc.
References hltrigreport::Accumulate::dsAllTotS_, hltrigreport::Accumulate::hlAllTotDS_, and alignCSCRings::s.
Referenced by analyze(), endJob(), endRun(), and globalEndLuminosityBlock().
|
inlineprivate |
Definition at line 102 of file HLTrigReport.h.
References EVERY_LUMI, or, reportBy_, resetBy_, and serviceBy_.
Referenced by chooseAccumulate(), globalBeginLuminosityBlock(), and globalEndLuminosityBlock().
|
private |
Definition at line 141 of file HLTrigReport.h.
Referenced by beginRun(), chooseAccumulate(), endJob(), endRun(), globalEndLuminosityBlock(), and reset().
|
private |
Definition at line 114 of file HLTrigReport.h.
Referenced by analyze(), beginRun(), dumpReport(), and globalBeginLuminosityBlock().
|
private |
Definition at line 125 of file HLTrigReport.h.
Referenced by HLTrigReport(), and updateConfigCache().
|
private |
Definition at line 124 of file HLTrigReport.h.
Referenced by datasetNames(), dumpReport(), HLTrigReport(), and updateConfigCache().
|
private |
Definition at line 128 of file HLTrigReport.h.
Referenced by analyze(), beginRun(), dumpReport(), globalBeginLuminosityBlock(), and updateConfigCache().
|
private |
Definition at line 119 of file HLTrigReport.h.
Referenced by analyze(), beginRun(), dumpReport(), globalBeginLuminosityBlock(), and updateConfigCache().
|
private |
Definition at line 116 of file HLTrigReport.h.
Referenced by analyze(), beginRun(), dumpReport(), globalBeginLuminosityBlock(), and updateConfigCache().
|
private |
Definition at line 139 of file HLTrigReport.h.
Referenced by beginRun(), and updateConfigCache().
|
private |
Definition at line 112 of file HLTrigReport.h.
Referenced by analyze(), beginRun(), and HLTrigReport().
|
private |
Definition at line 113 of file HLTrigReport.h.
Referenced by analyze().
|
private |
Definition at line 126 of file HLTrigReport.h.
Referenced by HLTrigReport(), and updateConfigCache().
|
private |
Definition at line 131 of file HLTrigReport.h.
Referenced by HLTrigReport(), and updateConfigCache().
|
private |
Definition at line 121 of file HLTrigReport.h.
Referenced by analyze(), and updateConfigCache().
|
private |
Definition at line 122 of file HLTrigReport.h.
Referenced by analyze(), and updateConfigCache().
|
private |
Definition at line 133 of file HLTrigReport.h.
Referenced by dumpReport(), HLTrigReport(), and updateConfigCache().
|
private |
Definition at line 132 of file HLTrigReport.h.
Referenced by HLTrigReport(), and updateConfigCache().
|
private |
Definition at line 134 of file HLTrigReport.h.
Referenced by dumpReport(), and HLTrigReport().
|
private |
Definition at line 136 of file HLTrigReport.h.
Referenced by analyze(), endJob(), endRun(), globalEndLuminosityBlock(), readAfterLumi(), and useLumiCache().
|
private |
Definition at line 137 of file HLTrigReport.h.
Referenced by analyze(), beginJob(), beginRun(), globalEndLuminosityBlock(), and useLumiCache().
|
private |
Definition at line 138 of file HLTrigReport.h.
Referenced by analyze(), endJob(), endRun(), globalEndLuminosityBlock(), HLTrigReport(), readAfterLumi(), updateConfigCache(), and useLumiCache().
|
private |
Definition at line 130 of file HLTrigReport.h.
Referenced by HLTrigReport(), and updateConfigCache().
|
private |
Definition at line 129 of file HLTrigReport.h.
Referenced by dumpReport(), HLTrigReport(), streamNames(), and updateConfigCache().