#include <HLTScalersClient.h>
Classes | |
class | CountLS_t |
class | CountLSFifo_t |
Public Member Functions | |
void | analyze (const edm::Event &e, const edm::EventSetup &c) override |
void | beginJob (void) override |
BeginJob. More... | |
void | beginRun (const edm::Run &run, const edm::EventSetup &c) override |
BeginRun. More... | |
void | endLuminosityBlock (const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &c) override |
void | endRun (const edm::Run &run, const edm::EventSetup &c) override |
EndRun. More... | |
HLTScalersClient (const edm::ParameterSet &ps) | |
Constructors. More... | |
~HLTScalersClient () override | |
Destructor. More... | |
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 |
~EDAnalyzer () 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) |
Private Member Functions | |
std::pair< double, double > | getSlope_ (const CountLSFifo_t &points) |
Private Attributes | |
std::vector< MonitorElement * > | countHistories_ |
int | currentLumiBlockNumber_ |
MonitorElement * | currentNormRate_ |
MonitorElement * | currentRate_ |
int | currentRun_ |
DQMStore * | dbe_ |
bool | debug_ |
bool | first_ |
std::string | folderName_ |
MonitorElement * | hltCount_ |
std::vector< MonitorElement * > | hltCurrentNormRate_ |
std::vector< MonitorElement * > | hltCurrentRate_ |
MonitorElement * | hltNormRate_ |
MonitorElement * | hltRate_ |
std::deque< int > | ignores_ |
unsigned int | kRateIntegWindow_ |
int | maxFU_ |
MonitorElement * | mergeCount_ |
bool | missingPathNames_ |
int | nev_ |
int | nLumi_ |
std::string | processName_ |
std::vector< MonitorElement * > | rateHistories_ |
std::vector< MonitorElement * > | rateNormHistories_ |
CountLSFifo_t | recentNormedOverallCountsPerLS_ |
std::vector< CountLSFifo_t > | recentNormedPathCountsPerLS_ |
CountLSFifo_t | recentOverallCountsPerLS_ |
std::vector< CountLSFifo_t > | recentPathCountsPerLS_ |
std::ofstream | textfile_ |
MonitorElement * | updates_ |
Additional Inherited Members | |
Public Types inherited from edm::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::EDAnalyzer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &) |
static bool | wantsGlobalLuminosityBlocks () |
static bool | wantsGlobalRuns () |
static bool | wantsStreamLuminosityBlocks () |
static bool | wantsStreamRuns () |
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) |
Definition at line 57 of file HLTScalersClient.h.
HLTScalersClient::HLTScalersClient | ( | const edm::ParameterSet & | ps | ) |
Constructors.
Definition at line 67 of file HLTScalersClient.cc.
References DQMStore::book1D(), gather_cfg::cout, dbe_, debug_, folderName_, hltCount_, hltNormRate_, hltRate_, LogDebug, MAX_LUMI_SEG_HLT, mergeCount_, Utilities::operator, MonitorElement::setBinLabel(), DQMStore::setCurrentFolder(), DQMStore::setVerbose(), AlCaHLTBitMon_QueryRunRegistry::string, textfile_, and updates_.
Referenced by HLTScalersClient::CountLSFifo_t::trim_().
|
inlineoverride |
Destructor.
Definition at line 139 of file HLTScalersClient.h.
References analyze(), beginJob(), beginRun(), EnergyCorrector::c, debug_, MillePedeFileConverter_cfg::e, endLuminosityBlock(), endRun(), and findQualityFiles::run.
|
override |
Definition at line 582 of file HLTScalersClient.cc.
Referenced by ~HLTScalersClient().
|
overridevirtual |
BeginJob.
Reimplemented from edm::EDAnalyzer.
Definition at line 123 of file HLTScalersClient.cc.
References dbe_, first_, folderName_, LogDebug, missingPathNames_, and DQMStore::setCurrentFolder().
Referenced by ~HLTScalersClient().
|
override |
BeginRun.
beginRun
Definition at line 135 of file HLTScalersClient.cc.
References first_, edm::RunBase::id(), LogDebug, and missingPathNames_.
Referenced by ~HLTScalersClient().
|
override |
End LumiBlock DQM Client Diagnostic should be performed here
Definition at line 153 of file HLTScalersClient.cc.
References stringResolutionProvider_cfi::bin, DQMStore::book1D(), countHistories_, gather_cfg::cout, currentNormRate_, currentRate_, dbe_, debug_, relativeConstraints::empty, MonitorElement::Fill(), first_, folderName_, DQMStore::get(), MonitorElement::getBinContent(), HLTScalersClient::CountLSFifo_t::getCount(), MonitorElement::getIntValue(), MonitorElement::getNbinsX(), getSlope_(), MonitorElement::getTH1(), hltCount_, hltCurrentNormRate_, hltCurrentRate_, hltNormRate_, hltRate_, mps_fire::i, edm::LuminosityBlockBase::id(), createfilelist::int, edm::isNotFinite(), gen::k, kPerHisto, kRateIntegWindow_, diffTwoXMLs::label, geometryCSVtoXML::line, LogDebug, edm::LuminosityBlockID::luminosityBlock(), MAX_LUMI_SEG_HLT, MAX_PATHS, maxFU_, mergeCount_, missingPathNames_, mps_check::msg, dataset::name, cscdqm::h::names, nLumi_, BPhysicsValidation_cfi::pname, rateHistories_, rateNormHistories_, recentNormedOverallCountsPerLS_, recentNormedPathCountsPerLS_, recentOverallCountsPerLS_, recentPathCountsPerLS_, SECS_PER_LUMI_SECTION, MonitorElement::setBinContent(), MonitorElement::setBinError(), MonitorElement::setBinLabel(), DQMStore::setCurrentFolder(), DQMStore::showDirStructure(), slope, mathSSE::sqrt(), AlCaHLTBitMon_QueryRunRegistry::string, textfile_, HLTScalersClient::CountLSFifo_t::update(), and updates_.
Referenced by ~HLTScalersClient().
|
override |
EndRun.
Definition at line 144 of file HLTScalersClient.cc.
References first_, and missingPathNames_.
Referenced by ~HLTScalersClient().
|
private |
Definition at line 591 of file HLTScalersClient.cc.
References gather_cfg::cout, debug_, mps_fire::i, gen::n, funct::pow(), SECS_PER_LUMI_SECTION, slope, mathSSE::sqrt(), HLTScalersClient::CountLSFifo_t::targetSize(), x, geometryCSVtoXML::xy, and y.
Referenced by endLuminosityBlock().
|
private |
Definition at line 175 of file HLTScalersClient.h.
Referenced by endLuminosityBlock().
|
private |
Definition at line 173 of file HLTScalersClient.h.
|
private |
Definition at line 186 of file HLTScalersClient.h.
Referenced by endLuminosityBlock().
|
private |
Definition at line 172 of file HLTScalersClient.h.
Referenced by endLuminosityBlock().
|
private |
Definition at line 170 of file HLTScalersClient.h.
|
private |
Definition at line 166 of file HLTScalersClient.h.
Referenced by beginJob(), endLuminosityBlock(), and HLTScalersClient().
|
private |
Definition at line 198 of file HLTScalersClient.h.
Referenced by endLuminosityBlock(), getSlope_(), HLTScalersClient(), and ~HLTScalersClient().
|
private |
Definition at line 190 of file HLTScalersClient.h.
Referenced by beginJob(), beginRun(), endLuminosityBlock(), and endRun().
|
private |
Definition at line 191 of file HLTScalersClient.h.
Referenced by beginJob(), endLuminosityBlock(), and HLTScalersClient().
|
private |
Definition at line 179 of file HLTScalersClient.h.
Referenced by endLuminosityBlock(), and HLTScalersClient().
|
private |
Definition at line 188 of file HLTScalersClient.h.
Referenced by endLuminosityBlock().
|
private |
Definition at line 177 of file HLTScalersClient.h.
Referenced by endLuminosityBlock().
|
private |
Definition at line 185 of file HLTScalersClient.h.
Referenced by endLuminosityBlock(), and HLTScalersClient().
|
private |
Definition at line 178 of file HLTScalersClient.h.
Referenced by endLuminosityBlock(), and HLTScalersClient().
|
private |
Definition at line 195 of file HLTScalersClient.h.
|
private |
Definition at line 192 of file HLTScalersClient.h.
Referenced by endLuminosityBlock().
|
private |
Definition at line 199 of file HLTScalersClient.h.
Referenced by endLuminosityBlock().
|
private |
Definition at line 182 of file HLTScalersClient.h.
Referenced by endLuminosityBlock(), and HLTScalersClient().
|
private |
Definition at line 190 of file HLTScalersClient.h.
Referenced by beginJob(), beginRun(), endLuminosityBlock(), and endRun().
|
private |
Definition at line 168 of file HLTScalersClient.h.
|
private |
Definition at line 169 of file HLTScalersClient.h.
Referenced by endLuminosityBlock().
|
private |
Definition at line 193 of file HLTScalersClient.h.
|
private |
Definition at line 174 of file HLTScalersClient.h.
Referenced by endLuminosityBlock().
|
private |
Definition at line 187 of file HLTScalersClient.h.
Referenced by endLuminosityBlock().
|
private |
Definition at line 204 of file HLTScalersClient.h.
Referenced by endLuminosityBlock().
|
private |
Definition at line 203 of file HLTScalersClient.h.
Referenced by endLuminosityBlock().
|
private |
Definition at line 201 of file HLTScalersClient.h.
Referenced by endLuminosityBlock().
|
private |
Definition at line 200 of file HLTScalersClient.h.
Referenced by endLuminosityBlock().
|
private |
Definition at line 60 of file HLTScalersClient.h.
Referenced by endLuminosityBlock(), and HLTScalersClient().
|
private |
Definition at line 181 of file HLTScalersClient.h.
Referenced by endLuminosityBlock(), and HLTScalersClient().