#include <L1ScalersClient.h>
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... | |
L1ScalersClient (const edm::ParameterSet &ps) | |
Constructors. More... | |
virtual | ~L1ScalersClient () |
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 |
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 |
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
virtual | ~EDConsumerBase () noexcept(false) |
Private Attributes | |
std::vector< int > | algoSelected_ |
MonitorElement * | bxSelected_ |
int | currentLumiBlockNumber_ |
int | currentRun_ |
DQMStore * | dbe_ |
bool | first_algo |
bool | first_tt |
std::string | folderName_ |
MonitorElement * | l1AlgoCurrentRate_ |
MonitorElement * | l1AlgoCurrentRatePerAlgo_ [140] |
MonitorElement * | l1AlgoRateHistories_ [140] |
unsigned long int | l1AlgoScalerCounters_ [140] |
MonitorElement * | l1TechTrigCurrentRate_ |
MonitorElement * | l1TechTrigCurrentRatePerAlgo_ [80] |
MonitorElement * | l1TechTrigRateHistories_ [80] |
unsigned long int | l1TechTrigScalerCounters_ [80] |
int | nev_ |
int | nLumi_ |
int | numSelected_ |
MonitorElement * | selected_ |
std::vector< int > | techSelected_ |
MonitorElement * | totalAlgoRate_ |
float | totAlgoPrevCount |
MonitorElement * | totalTtRate_ |
float | totTtPrevCount |
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 23 of file L1ScalersClient.h.
L1ScalersClient::L1ScalersClient | ( | const edm::ParameterSet & | ps | ) |
Constructors.
Definition at line 26 of file L1ScalersClient.cc.
References algoSelected_, DQMStore::book1D(), DQMStore::book2D(), bxSelected_, dbe_, folderName_, mps_fire::i, gen::k, kNumAlgoHistos, kNumTTHistos, kPerHisto, l1AlgoCurrentRate_, l1AlgoCurrentRatePerAlgo_, l1AlgoRateHistories_, l1AlgoScalerCounters_, l1TechTrigCurrentRate_, l1TechTrigCurrentRatePerAlgo_, l1TechTrigRateHistories_, l1TechTrigScalerCounters_, LogDebug, MAX_ALGOS, MAX_LUMI_SEG, MAX_TT, dataset::name, numSelected_, Utilities::operator, selected_, MonitorElement::setBinLabel(), DQMStore::setCurrentFolder(), AlCaHLTBitMon_QueryRunRegistry::string, techSelected_, fftjetcommon_cfi::title, totalAlgoRate_, totAlgoPrevCount, totalTtRate_, and totTtPrevCount.
|
inlinevirtual |
Destructor.
Definition at line 30 of file L1ScalersClient.h.
References analyze(), beginJob(), beginRun(), EnergyCorrector::c, MillePedeFileConverter_cfg::e, endLuminosityBlock(), endRun(), and findQualityFiles::run.
void L1ScalersClient::analyze | ( | const edm::Event & | e, |
const edm::EventSetup & | c | ||
) |
|
virtual |
BeginJob.
Reimplemented from edm::EDAnalyzer.
Definition at line 161 of file L1ScalersClient.cc.
References dbe_, folderName_, LogDebug, and DQMStore::setCurrentFolder().
Referenced by ~L1ScalersClient().
void L1ScalersClient::beginRun | ( | const edm::Run & | run, |
const edm::EventSetup & | c | ||
) |
void L1ScalersClient::endLuminosityBlock | ( | const edm::LuminosityBlock & | lumiSeg, |
const edm::EventSetup & | c | ||
) |
End LumiBlock DQM Client Diagnostic should be performed here
Definition at line 183 of file L1ScalersClient.cc.
References algoSelected_, bxSelected_, currentLumiBlockNumber_, dbe_, spr::find(), first_algo, first_tt, folderName_, DQMStore::get(), MonitorElement::getBinContent(), MonitorElement::getIntValue(), MonitorElement::getNbinsX(), mps_fire::i, edm::LuminosityBlockBase::id(), kPerHisto, l1AlgoCurrentRate_, l1AlgoCurrentRatePerAlgo_, l1AlgoRateHistories_, l1AlgoScalerCounters_, l1TechTrigCurrentRate_, l1TechTrigCurrentRatePerAlgo_, l1TechTrigRateHistories_, l1TechTrigScalerCounters_, LogDebug, edm::LuminosityBlockID::luminosityBlock(), MAX_ALGOS, MAX_LUMI_SEG, MAX_TT, nLumi_, BPhysicsValidation_cfi::pname, RPCpg::rate(), SECS_PER_LUMI_SECTION, selected_, MonitorElement::setBinContent(), MonitorElement::setBinLabel(), MonitorElement::setTitle(), AlCaHLTBitMon_QueryRunRegistry::string, techSelected_, totalAlgoRate_, totAlgoPrevCount, totalTtRate_, and totTtPrevCount.
Referenced by ~L1ScalersClient().
void L1ScalersClient::endRun | ( | const edm::Run & | run, |
const edm::EventSetup & | c | ||
) |
|
private |
Definition at line 80 of file L1ScalersClient.h.
Referenced by endLuminosityBlock(), and L1ScalersClient().
|
private |
Definition at line 79 of file L1ScalersClient.h.
Referenced by endLuminosityBlock(), and L1ScalersClient().
|
private |
Definition at line 85 of file L1ScalersClient.h.
Referenced by endLuminosityBlock().
|
private |
Definition at line 60 of file L1ScalersClient.h.
|
private |
Definition at line 56 of file L1ScalersClient.h.
Referenced by beginJob(), endLuminosityBlock(), and L1ScalersClient().
|
private |
Definition at line 86 of file L1ScalersClient.h.
Referenced by endLuminosityBlock().
|
private |
Definition at line 87 of file L1ScalersClient.h.
Referenced by endLuminosityBlock().
|
private |
Definition at line 82 of file L1ScalersClient.h.
Referenced by beginJob(), endLuminosityBlock(), and L1ScalersClient().
|
private |
Definition at line 66 of file L1ScalersClient.h.
Referenced by endLuminosityBlock(), and L1ScalersClient().
|
private |
Definition at line 68 of file L1ScalersClient.h.
Referenced by endLuminosityBlock(), and L1ScalersClient().
|
private |
Definition at line 67 of file L1ScalersClient.h.
Referenced by endLuminosityBlock(), and L1ScalersClient().
|
private |
Definition at line 65 of file L1ScalersClient.h.
Referenced by endLuminosityBlock(), and L1ScalersClient().
|
private |
Definition at line 72 of file L1ScalersClient.h.
Referenced by endLuminosityBlock(), and L1ScalersClient().
|
private |
Definition at line 74 of file L1ScalersClient.h.
Referenced by endLuminosityBlock(), and L1ScalersClient().
|
private |
Definition at line 73 of file L1ScalersClient.h.
Referenced by endLuminosityBlock(), and L1ScalersClient().
|
private |
Definition at line 71 of file L1ScalersClient.h.
Referenced by endLuminosityBlock(), and L1ScalersClient().
|
private |
Definition at line 58 of file L1ScalersClient.h.
|
private |
Definition at line 59 of file L1ScalersClient.h.
Referenced by endLuminosityBlock().
|
private |
Definition at line 83 of file L1ScalersClient.h.
Referenced by L1ScalersClient().
|
private |
Definition at line 78 of file L1ScalersClient.h.
Referenced by endLuminosityBlock(), and L1ScalersClient().
|
private |
Definition at line 81 of file L1ScalersClient.h.
Referenced by endLuminosityBlock(), and L1ScalersClient().
|
private |
Definition at line 69 of file L1ScalersClient.h.
Referenced by endLuminosityBlock(), and L1ScalersClient().
|
private |
Definition at line 62 of file L1ScalersClient.h.
Referenced by endLuminosityBlock(), and L1ScalersClient().
|
private |
Definition at line 75 of file L1ScalersClient.h.
Referenced by endLuminosityBlock(), and L1ScalersClient().
|
private |
Definition at line 63 of file L1ScalersClient.h.
Referenced by endLuminosityBlock(), and L1ScalersClient().