|
void | analyze (const edm::Event &e, const edm::EventSetup &c) override |
|
void | beginLuminosityBlock (const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &c) override |
|
void | bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override |
|
void | dqmBeginRun (const edm::Run &run, const edm::EventSetup &c) override |
|
void | endLuminosityBlock (const edm::LuminosityBlock &lumiSeg, const edm::EventSetup &c) override |
| DQM Client Diagnostic should be performed here: More...
|
|
void | endRun (const edm::Run &run, const edm::EventSetup &c) override |
|
| HLTScalers (const edm::ParameterSet &ps) |
|
| ~HLTScalers () override=default |
|
void | accumulate (edm::Event const &ev, edm::EventSetup const &es) final |
|
virtual void | analyze (edm::Event const &, edm::EventSetup const &) |
|
void | beginLuminosityBlock (edm::LuminosityBlock const &lumi, edm::EventSetup const &setup) override |
|
void | beginRun (edm::Run const &run, edm::EventSetup const &setup) final |
|
virtual void | dqmBeginRun (edm::Run const &, edm::EventSetup const &) |
|
| DQMEDAnalyzer () |
|
| DQMEDAnalyzer (DQMEDAnalyzer const &)=delete |
|
| DQMEDAnalyzer (DQMEDAnalyzer &&)=delete |
|
void | endLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) override |
|
void | endLuminosityBlockProduce (edm::LuminosityBlock &lumi, edm::EventSetup const &setup) final |
|
void | endRun (edm::Run const &run, edm::EventSetup const &setup) override |
|
void | endRunProduce (edm::Run &run, edm::EventSetup const &setup) override |
|
| ~DQMEDAnalyzer () override=default |
|
| EDProducer ()=default |
|
SerialTaskQueue * | globalLuminosityBlocksQueue () final |
|
SerialTaskQueue * | globalRunsQueue () final |
|
bool | hasAbilityToProduceInLumis () const final |
|
bool | hasAbilityToProduceInRuns () const final |
|
bool | wantsGlobalLuminosityBlocks () const final |
|
bool | wantsGlobalRuns () const final |
|
| EDProducerBase () |
|
ModuleDescription const & | moduleDescription () const |
|
bool | wantsStreamLuminosityBlocks () const |
|
bool | wantsStreamRuns () const |
|
| ~EDProducerBase () override |
|
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
|
std::vector< edm::ProductResolverIndex > const & | indiciesForPutProducts (BranchType iBranchType) const |
|
| ProducerBase () |
|
std::vector< edm::ProductResolverIndex > const & | putTokenIndexToProductResolverIndex () const |
|
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
|
std::function< void(BranchDescription const &)> | registrationCallback () const |
| used by the fwk to register list of products More...
|
|
void | resolvePutIndicies (BranchType iBranchType, ModuleToResolverIndicies const &iIndicies, std::string const &moduleLabel) |
|
| ~ProducerBase () 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 |
|
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) |
|
|
typedef EDProducerBase | ModuleType |
|
using | ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex >> |
|
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
|
typedef ProductLabels | Labels |
|
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) |
|
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) |
|
edm::EDPutTokenT< DQMToken > | lumiToken_ |
|
edm::EDPutTokenT< DQMToken > | runToken_ |
|
Definition at line 66 of file HLTScalers.h.
Definition at line 194 of file HLTScalers.cc.
References accept(), edm::HLTGlobalStatus::accept(), b, edm::EventBase::bunchCrossing(), detailedScalers_, diagnostic_, Exception, MonitorElement::Fill(), plotBeamSpotDB::first, edm::Event::getByToken(), MonitorElement::getTH1(), hltBx_, hltBxVsPath_, hltCorrelations_, hltOverallScaler_, hltOverallScalerN_, SelectingProcedure_cff::hltResults, mps_fire::i, edm::HLTGlobalStatus::index(), checklumidiff::l, edm::EDConsumerBase::labelsForToken(), LogDebug, edm::ProductLabels::module, cscdqm::h::names, nev_, nProc_, pairPDPaths_, Pass, lumiQueryAPI::q, scalers_, scalersException_, scalersN_, scalersPD_, edm::second(), sentPaths_, MonitorElement::setBinContent(), edm::HLTGlobalStatus::size(), edm::HLTGlobalStatus::state(), AlCaHLTBitMon_QueryRunRegistry::string, edm::TriggerNames::triggerIndex(), edm::TriggerNames::triggerNames(), edm::Event::triggerNames(), trigNames, and trigResultsSource_.
205 edm::LogInfo(
"HLTScalers") <<
"getByLabel for TriggerResults failed" 206 <<
" with label " << l.module;
209 int npath = hltResults->
size();
220 for (TriggerNames::Strings::const_iterator j = names.
triggerNames().begin();
222 LogDebug(
"HLTScalers") << q <<
": " << *j;
227 for (
unsigned int i = 0;
i < nPD;
i++) {
238 for (
int i = 0;
i < npath; ++
i) {
241 for (
unsigned int j = 0; j < hltResults->
index(
i); ++j) {
249 for (
int j =
i + 1; j < npath; ++j) {
265 bool anyGroupPassed =
false;
266 for (
unsigned int mi = 0; mi <
pairPDPaths_.size(); mi++) {
267 bool groupPassed =
false;
275 unsigned int pathByIndex =
277 if (pathByIndex >= hltResults->
size())
continue;
287 if (hltResults->
accept(pathByIndex)) {
295 anyGroupPassed =
true;
std::vector< std::pair< std::string, std::vector< std::string > > > pairPDPaths_
void setBinContent(int binx, double content)
set content of bin (1-D)
static const HistoName names[]
bool getByToken(EDGetToken token, Handle< PROD > &result) const
MonitorElement * scalersN_
MonitorElement * detailedScalers_
bool accept() const
Has at least one path accepted the event?
int bunchCrossing() const
MonitorElement * hltOverallScaler_
MonitorElement * scalers_
bool accept(const edm::Event &event, const edm::TriggerResults &triggerTable, const std::string &triggerPath)
MonitorElement * diagnostic_
Strings const & triggerNames() const
U second(std::pair< T, U > const &p)
MonitorElement * hltBxVsPath_
unsigned int triggerIndex(std::string const &name) const
unsigned int size() const
Get number of paths stored.
unsigned int index(const unsigned int i) const
Get index (slot position) of module giving the decision of the ith path.
MonitorElement * hltCorrelations_
static const char *const trigNames[]
MonitorElement * scalersException_
MonitorElement * hltOverallScalerN_
void labelsForToken(EDGetToken iToken, Labels &oLabels) const
MonitorElement * scalersPD_
edm::TriggerNames const & triggerNames(edm::TriggerResults const &triggerResults) const override
hlt::HLTState state(const unsigned int i) const
Get status of ith path.
edm::EDGetTokenT< edm::TriggerResults > trigResultsSource_
Implements DQMEDAnalyzer.
Definition at line 140 of file HLTScalers.cc.
References DQMStore::IBooker::book1D(), DQMStore::IBooker::book2D(), DQMStore::IBooker::bookInt(), detailedScalers_, diagnostic_, folderName_, hltBx_, hltBxVsPath_, hltConfig_, hltCorrelations_, hltOverallScaler_, hltOverallScalerN_, nLumiBlock_, nProc_, pairPDPaths_, scalers_, scalersException_, scalersN_, scalersPD_, DQMStore::IBooker::setCurrentFolder(), HLTConfigProvider::size(), and AlCaHLTBitMon_QueryRunRegistry::string.
150 iBooker.
book1D(
"hltOverallScaler",
"HLT Overall Scaler", 1, 0.5, 1.5);
152 "Reset HLT Overall Scaler", 1, 0.5, 1.5);
161 int maxModules = 200;
163 scalersPD_ = iBooker.
book1D(
"pdScalers",
"PD scalers (stream A)", nPD, -0.5,
166 iBooker.
book2D(
"detailedHltScalers",
"HLT Scalers", npath, -0.5,
167 npath - 0.5, maxModules, 0, maxModules - 1);
169 iBooker.
book1D(
"hltScalers",
"HLT scalers", npath, -0.5, npath - 0.5);
170 scalersN_ = iBooker.
book1D(
"hltScalersN",
"Reset HLT scalers", npath, -0.5,
173 npath, -0.5, npath - 0.5);
175 iBooker.
book2D(
"hltCorrelations",
"HLT Scalers", npath, -0.5, npath - 0.5,
176 npath, -0.5, npath - 0.5);
181 3600, -0.5, 3599.5, npath, -0.5, npath - 0.5);
183 iBooker.
book1D(
"hltBx",
"Bx of HLT Accepted Events ", 3600, -0.5, 3599.5);
unsigned int size() const
number of trigger paths in trigger table
std::vector< std::pair< std::string, std::vector< std::string > > > pairPDPaths_
MonitorElement * scalersN_
MonitorElement * detailedScalers_
MonitorElement * bookInt(Args &&...args)
MonitorElement * hltOverallScaler_
MonitorElement * scalers_
MonitorElement * diagnostic_
MonitorElement * hltBxVsPath_
MonitorElement * book1D(Args &&...args)
MonitorElement * hltCorrelations_
HLTConfigProvider hltConfig_
MonitorElement * scalersException_
MonitorElement * nLumiBlock_
void setCurrentFolder(const std::string &fullpath)
MonitorElement * book2D(Args &&...args)
MonitorElement * hltOverallScalerN_
MonitorElement * scalersPD_