#include <HLTScalersClient.h>
Classes | |
class | CountLS_t |
class | CountLSFifo_t |
Public Member Functions | |
void | analyze (const edm::Event &e, const edm::EventSetup &c) |
void | beginJob (void) |
BeginJob. More... | |
void | beginRun (const edm::Run &run, const edm::EventSetup &c) |
BeginRun. More... | |
void | endLuminosityBlock (const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &c) |
void | endRun (const edm::Run &run, const edm::EventSetup &c) |
EndRun. More... | |
HLTScalersClient (const edm::ParameterSet &ps) | |
Constructors. More... | |
virtual | ~HLTScalersClient () |
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 |
virtual | ~EDAnalyzer () |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
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 (std::string const &iProcessName, std::string const &iModuleLabel, bool iPrint, std::vector< char const * > &oModuleLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
bool | registeredToConsume (ProductHolderIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
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 &) |
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_, cppFunctionSkipper::operator, MonitorElement::setBinLabel(), DQMStore::setCurrentFolder(), DQMStore::setVerbose(), AlCaHLTBitMon_QueryRunRegistry::string, textfile_, and updates_.
|
inlinevirtual |
|
virtual |
Implements edm::EDAnalyzer.
Definition at line 582 of file HLTScalersClient.cc.
|
virtual |
BeginJob.
Reimplemented from edm::EDAnalyzer.
Definition at line 123 of file HLTScalersClient.cc.
References dbe_, first_, folderName_, LogDebug, missingPathNames_, and DQMStore::setCurrentFolder().
|
virtual |
BeginRun.
beginRun
Reimplemented from edm::EDAnalyzer.
Definition at line 135 of file HLTScalersClient.cc.
References first_, edm::RunBase::id(), LogDebug, and missingPathNames_.
|
virtual |
End LumiBlock DQM Client Diagnostic should be performed here
Reimplemented from edm::EDAnalyzer.
Definition at line 153 of file HLTScalersClient.cc.
References newFWLiteAna::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_, i, edm::LuminosityBlockBase::id(), edm::isNotFinite(), relval_2017::k, kPerHisto, kRateIntegWindow_, diffTwoXMLs::label, geometryCSVtoXML::line, LogDebug, edm::LuminosityBlockID::luminosityBlock(), MAX_LUMI_SEG_HLT, MAX_PATHS, maxFU_, MatrixUtil::merge(), mergeCount_, missingPathNames_, visualization-live-secondInstance_cfg::msg, mergeVDriftHistosByStation::name, cscdqm::h::names, nLumi_, unpackData-CaloStage2::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_.
|
virtual |
EndRun.
Reimplemented from edm::EDAnalyzer.
Definition at line 144 of file HLTScalersClient.cc.
References first_, and missingPathNames_.
|
private |
Definition at line 591 of file HLTScalersClient.cc.
References gather_cfg::cout, debug_, i, gen::n, funct::pow(), SECS_PER_LUMI_SECTION, slope, mathSSE::sqrt(), HLTScalersClient::CountLSFifo_t::targetSize(), x, create_public_lumi_plots::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(), HLTScalersClient(), and ~HLTScalersClient().
|
private |
Definition at line 181 of file HLTScalersClient.h.
Referenced by endLuminosityBlock(), and HLTScalersClient().