|
void | analyze (const edm::Event &e, const edm::EventSetup &c) override |
|
void | beginJob (void) override |
| BeginJob. More...
|
|
void | beginLuminosityBlock (const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &c) override |
|
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...
|
|
| L1ScalersClient (const edm::ParameterSet &ps) |
| Constructors. More...
|
|
| ~L1ScalersClient () override |
| Destructor. More...
|
|
| EDAnalyzer ()=default |
|
| EDAnalyzer (const EDAnalyzer &)=delete |
|
SerialTaskQueue * | globalLuminosityBlocksQueue () final |
|
SerialTaskQueue * | globalRunsQueue () final |
|
const EDAnalyzer & | operator= (const EDAnalyzer &)=delete |
|
bool | wantsGlobalLuminosityBlocks () const final |
|
bool | wantsGlobalRuns () const final |
|
bool | wantsInputProcessBlocks () const final |
|
bool | wantsProcessBlocks () const final |
|
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
|
| EDAnalyzerBase () |
|
ModuleDescription const & | moduleDescription () const |
|
bool | wantsStreamLuminosityBlocks () const |
|
bool | wantsStreamRuns () const |
|
| ~EDAnalyzerBase () override |
|
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 |
|
ESProxyIndex const * | esGetTokenIndices (edm::Transition iTrans) const |
|
std::vector< ESProxyIndex > const & | esGetTokenIndicesVector (edm::Transition iTrans) const |
|
std::vector< ESRecordIndex > const & | esGetTokenRecordIndicesVector (edm::Transition iTrans) const |
|
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::array< std::vector< ModuleDescription const *> *, NumBranchTypes > &modulesAll, std::vector< ModuleProcessName > &modulesInPreviousProcesses, 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 | selectInputProcessBlocks (ProductRegistry const &productRegistry, ProcessBlockHelperBase const &processBlockHelperBase) |
|
ProductResolverIndexAndSkipBit | uncheckedIndexFrom (EDGetToken) const |
|
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
|
void | updateLookup (eventsetup::ESRecordsToProxyIndices const &) |
|
virtual | ~EDConsumerBase () noexcept(false) |
|
|
static const std::string & | baseType () |
|
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
|
static void | prevalidate (ConfigurationDescriptions &descriptions) |
|
template<typename ProductType , BranchType B = InEvent> |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
|
template<BranchType B = InEvent> |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
|
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 ESProduct , typename ESRecord , Transition Tr = Transition::Event> |
auto | esConsumes () |
|
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> |
auto | esConsumes (ESInputTag const &tag) |
|
template<Transition Tr = Transition::Event> |
constexpr auto | esConsumes () |
|
template<Transition Tr = Transition::Event> |
auto | esConsumes (ESInputTag tag) |
|
template<Transition Tr = Transition::Event> |
ESGetTokenGeneric | esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey) |
| Used with EventSetupRecord::doGet. More...
|
|
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) |
|
void | resetItemsToGetFrom (BranchType iType) |
|
Definition at line 22 of file L1ScalersClient.h.
Constructors.
Definition at line 22 of file L1ScalersClient.cc.
References algoSelected_, cms::cuda::assert(), dqm::implementation::IBooker::book1D(), dqm::implementation::IBooker::book2D(), bxSelected_, dbe_, folderName_, mps_fire::i, dqmiolumiharvest::j, dqmdumpme::k, kNumAlgoHistos, kNumTTHistos, kPerHisto, l1AlgoCurrentRate_, l1AlgoCurrentRatePerAlgo_, l1AlgoRateHistories_, l1AlgoScalerCounters_, l1TechTrigCurrentRate_, l1TechTrigCurrentRatePerAlgo_, l1TechTrigRateHistories_, l1TechTrigScalerCounters_, LogDebug, MAX_ALGOS, MAX_LUMI_SEG, MAX_TT, Skims_PA_cff::name, numSelected_, Utilities::operator, submitPVValidationJobs::params, selected_, dqm::impl::MonitorElement::setBinLabel(), dqm::implementation::DQMStore::setCurrentFolder(), AlCaHLTBitMon_QueryRunRegistry::string, techSelected_, runGCPTkAlMap::title, totalAlgoRate_, totAlgoPrevCount, totalTtRate_, and totTtPrevCount.
37 usesResource(
"DQMStore");
50 "Selected L1 Algorithm" 87 snprintf(
name, 256,
"rate_algobit%03d",
i);
101 snprintf(
name, 256,
"rate_ttbit%03d",
i);
115 snprintf(mename1, 64,
"L1AlgoBits_%0d",
k);
116 snprintf(metitle1, 64,
"L1 rates - Algo Bits %d to %d", npath_low, npath_high);
130 snprintf(mename2, 64,
"L1TechBits_%0d",
k);
131 snprintf(metitle2, 64,
"L1 rates - Tech. Trig. Bits %d to %d", npath_low, npath_high);
135 std::ostringstream
params;
144 LogDebug(
"Parameter") <<
"L1 bits to monitor are " <<
params.str();
int currentLumiBlockNumber_
unsigned long int l1AlgoScalerCounters_[140]
std::vector< int > algoSelected_
void setCurrentFolder(std::string const &fullpath) override
MonitorElement * l1TechTrigCurrentRatePerAlgo_[80]
T getUntrackedParameter(std::string const &, T const &) const
MonitorElement * l1AlgoCurrentRatePerAlgo_[140]
MonitorElement * l1AlgoCurrentRate_
virtual void setBinLabel(int bin, const std::string &label, int axis=1)
set bin label for x, y or z axis (axis=1, 2, 3 respectively)
unsigned long int l1TechTrigScalerCounters_[80]
MonitorElement * book2D(TString const &name, TString const &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, FUNC onbooking=NOOP())
std::vector< int > techSelected_
MonitorElement * totalTtRate_
MonitorElement * totalAlgoRate_
MonitorElement * l1TechTrigRateHistories_[80]
MonitorElement * bxSelected_
MonitorElement * l1AlgoRateHistories_[140]
MonitorElement * book1D(TString const &name, TString const &title, int const nchX, double const lowX, double const highX, FUNC onbooking=NOOP())
MonitorElement * selected_
MonitorElement * l1TechTrigCurrentRate_
End LumiBlock DQM Client Diagnostic should be performed here
Definition at line 163 of file L1ScalersClient.cc.
References algoSelected_, triggerObjects_cff::bit, bxSelected_, currentLumiBlockNumber_, dbe_, spr::find(), first_algo, first_tt, folderName_, dqm::implementation::IGetter::get(), dqm::impl::MonitorElement::getBinContent(), dqm::impl::MonitorElement::getIntValue(), dqm::impl::MonitorElement::getNbinsX(), mps_fire::i, edm::LuminosityBlockBase::id(), dqmiolumiharvest::j, kPerHisto, l1AlgoCurrentRate_, l1AlgoCurrentRatePerAlgo_, l1AlgoRateHistories_, l1AlgoScalerCounters_, l1TechTrigCurrentRate_, l1TechTrigCurrentRatePerAlgo_, l1TechTrigRateHistories_, l1TechTrigScalerCounters_, LogDebug, edm::LuminosityBlockID::luminosityBlock(), MAX_ALGOS, MAX_LUMI_SEG, MAX_TT, nLumi_, unpackData-CaloStage2::pname, RPCpg::rate(), SECS_PER_LUMI_SECTION, selected_, dqm::impl::MonitorElement::setBinContent(), dqm::impl::MonitorElement::setBinLabel(), dqm::impl::MonitorElement::setTitle(), AlCaHLTBitMon_QueryRunRegistry::string, techSelected_, totalAlgoRate_, totAlgoPrevCount, totalTtRate_, and totTtPrevCount.
171 if (algoScalers ==
nullptr || ttScalers ==
nullptr) {
172 LogInfo(
"Status") <<
"cannot get l1 scalers histogram, bailing out.";
176 int nalgobits = algoScalers->
getNbinsX();
184 LogDebug(
"Status") <<
"I see " << nalgobits <<
" algo paths. ";
185 LogDebug(
"Status") <<
"I see " << nttbits <<
" tt paths. ";
189 for (
int i = 0;
i < nalgobits; ++
i) {
193 snprintf(
pname, 256,
"AlgoBit%03d",
i);
195 snprintf(
pname, 256,
"Rate - Algorithm Bit %03d",
i);
203 for (
int i = 0;
i < nttbits; ++
i) {
207 snprintf(
pname, 256,
"TechBit%03d",
i);
209 snprintf(
pname, 256,
"Rate - Technical Bit %03d",
i);
217 int testval = (nLumi !=
nullptr ? nLumi->
getIntValue() : -1);
218 LogDebug(
"Parameter") <<
"Lumi Block from DQM: " << testval <<
", local is " <<
nLumi_;
222 LogDebug(
"Status") <<
"Too many Lumi segments, " << nL <<
" is greater than MAX_LUMI_SEG," 228 LogDebug(
"Status") <<
" time is negative ... " << delta_t;
231 LogInfo(
"Status") <<
"divide by zero: same lumi section 2x " << nL;
238 for (
int i = 1;
i <= nalgobits; ++
i) {
245 for (
int j = 1;
j <= 3600; ++
j) {
254 LogDebug(
"Parameter") <<
"rate path " <<
i <<
" is " <<
rate;
266 for (
int i = 1;
i <= nttbits; ++
i) {
273 for (
int j = 1;
j <= 3600; ++
j) {
282 LogDebug(
"Parameter") <<
"rate path " <<
i <<
" is " <<
rate;
294 if (l1AlgoCounter !=
nullptr && l1TtCounter !=
nullptr) {
virtual void setTitle(const std::string &title)
set (ie. change) histogram/profile title
LuminosityBlockNumber_t luminosityBlock() const
int currentLumiBlockNumber_
unsigned long int l1AlgoScalerCounters_[140]
std::vector< int > algoSelected_
MonitorElement * l1TechTrigCurrentRatePerAlgo_[80]
#define SECS_PER_LUMI_SECTION
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
MonitorElement * l1AlgoCurrentRatePerAlgo_[140]
MonitorElement * l1AlgoCurrentRate_
virtual void setBinLabel(int bin, const std::string &label, int axis=1)
set bin label for x, y or z axis (axis=1, 2, 3 respectively)
unsigned long int l1TechTrigScalerCounters_[80]
Log< level::Info, false > LogInfo
virtual void setBinContent(int binx, double content)
set content of bin (1-D)
LuminosityBlockID id() const
std::vector< int > techSelected_
virtual MonitorElement * get(std::string const &fullpath) const
MonitorElement * totalTtRate_
virtual int getNbinsX() const
get # of bins in X-axis
MonitorElement * totalAlgoRate_
MonitorElement * l1TechTrigRateHistories_[80]
MonitorElement * bxSelected_
MonitorElement * l1AlgoRateHistories_[140]
MonitorElement * selected_
MonitorElement * l1TechTrigCurrentRate_
virtual double getBinContent(int binx) const
get content of bin (1-D)
virtual int64_t getIntValue() const