|
| TriggerRatesMonitor (edm::ParameterSet const &) |
|
| ~TriggerRatesMonitor () override=default |
|
virtual void | dqmEndRun (edm::Run const &, edm::EventSetup const &, RunBasedHistograms const &) const |
|
void | globalEndRunProduce (edm::Run &run, edm::EventSetup const &setup) const final |
|
void | accumulate (edm::StreamID id, edm::Event const &event, edm::EventSetup const &setup) const final |
|
| DQMGlobalEDAnalyzerBase () |
|
std::shared_ptr< RunBasedHistograms > | globalBeginRun (edm::Run const &run, edm::EventSetup const &setup) const final |
|
void | globalEndRun (edm::Run const &, edm::EventSetup const &) const final |
|
| EDProducer ()=default |
|
| EDProducer (const EDProducer &)=delete |
|
bool | hasAbilityToProduceInBeginLumis () const final |
|
bool | hasAbilityToProduceInBeginProcessBlocks () const final |
|
bool | hasAbilityToProduceInBeginRuns () const final |
|
bool | hasAbilityToProduceInEndLumis () const final |
|
bool | hasAbilityToProduceInEndProcessBlocks () const final |
|
bool | hasAbilityToProduceInEndRuns () const final |
|
EDProducer & | operator= (const EDProducer &)=delete |
|
bool | wantsGlobalLuminosityBlocks () const final |
|
bool | wantsGlobalRuns () const final |
|
bool | wantsInputProcessBlocks () const final |
|
bool | wantsProcessBlocks () const final |
|
bool | wantsStreamLuminosityBlocks () const final |
|
bool | wantsStreamRuns () const final |
|
| EDProducerBase () |
|
ModuleDescription const & | moduleDescription () 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 |
|
std::vector< bool > const & | recordProvenanceList () 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) |
|
TypeLabelList const & | typeLabelList () const |
| used by the fwk to register the list of products of this module More...
|
|
| ~ProducerBase () noexcept(false) 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 &&)=default |
|
| EDConsumerBase (EDConsumerBase const &)=delete |
|
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::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
|
EDConsumerBase & | operator= (EDConsumerBase &&)=default |
|
EDConsumerBase const & | operator= (EDConsumerBase const &)=delete |
|
bool | registeredToConsume (ProductResolverIndex, bool, BranchType) const |
|
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
|
ProductResolverIndexAndSkipBit | uncheckedIndexFrom (EDGetToken) const |
|
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
|
void | updateLookup (eventsetup::ESRecordsToProxyIndices const &) |
|
virtual | ~EDConsumerBase () noexcept(false) |
|
|
typedef dqm::reco::DQMStore | DQMStore |
|
typedef dqm::reco::MonitorElement | MonitorElement |
|
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 |
|
uint64_t | meId (edm::Run const &run) const |
|
template<class ProductType > |
BranchAliasSetterT< ProductType > | produces () |
| declare what type of product will make and with which optional label More...
|
|
template<typename ProductType , BranchType B> |
BranchAliasSetterT< ProductType > | produces () |
|
template<typename ProductType , Transition B> |
BranchAliasSetterT< ProductType > | produces () |
|
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
|
template<BranchType B> |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
|
template<Transition B> |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
|
template<typename ProductType , Transition B> |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
|
template<class ProductType > |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
|
template<typename ProductType , BranchType B> |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
|
ProducesCollector | producesCollector () |
|
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
|
template<typename ProductType , BranchType B = InEvent> |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
|
template<BranchType B = InEvent> |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
|
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<Transition Tr = Transition::Event> |
constexpr auto | esConsumes () noexcept |
|
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> |
auto | esConsumes (ESInputTag const &tag) |
|
template<Transition Tr = Transition::Event> |
auto | esConsumes (ESInputTag tag) noexcept |
|
template<Transition Tr = Transition::Event> |
ESGetTokenGeneric | esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey) |
| Used with EventSetupRecord::doGet. More...
|
|
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
|
template<BranchType B> |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
|
template<typename ProductType , BranchType B = InEvent> |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
|
DQMStore * | dqmstore_ |
|
edm::EDPutTokenT< DQMToken > | runToken_ |
|
Definition at line 105 of file TriggerRatesMonitor.cc.
Implements DQMGlobalEDAnalyzerBase< RunBasedHistograms, Args... >.
Definition at line 223 of file TriggerRatesMonitor.cc.
241 auto const &l1tMenu = edm::get<L1TUtmTriggerMenu, L1TUtmTriggerMenuRcd>(
setup);
242 for (
auto const &keyval : l1tMenu.getAlgorithmMap()) {
243 unsigned int bit = keyval.second.getIndex();
245 std::string const &
name = fmt::sprintf(
"%s (bit %d)", keyval.first, bit);
247 fmt::sprintf(
"%s (bit %d)%s vs. lumisection", keyval.first, bit, (masked ?
" (masked)" :
""));
256 for (
unsigned int d = 0;
d <
datasets.size(); ++
d) {
258 for (
unsigned int i = 0;
i <
histograms.datasets[
d].size(); ++
i) {
262 name +
" pass L1 seed, vs. lumisection",
267 name +
" pass prescaler, vs. lumisection",
272 name +
" accept, vs. lumisection",
277 name +
" reject, vs. lumisection",
282 name +
" error, vs. lumisection",
296 if (
type ==
"HLTL1TSeed" or type ==
"HLTLevel1GTSeed" or type ==
"HLTLevel1Activity" or
297 type ==
"HLTLevel1Pattern") {
301 }
else if (
type ==
"HLTPrescaler") {
319 for (
unsigned int i = 0;
i <
streams.size(); ++
i)
References dqm::implementation::IBooker::book1D(), ztail::d, contentValuesFiles::datasets, mps_fire::i, dqmiolumiharvest::j, label, m_dqm_path, m_lumisections_range, Skims_PA_cff::name, or, s_tcds_trigger_types, dqm::implementation::NavigatorBase::setCurrentFolder(), singleTopDQM_cfi::setup, HLT_Fake1_cff::streams, AlCaHLTBitMon_QueryRunRegistry::string, and runGCPTkAlMap::title.
void TriggerRatesMonitor::dqmAnalyze |
( |
edm::Event const & |
event, |
|
|
edm::EventSetup const & |
setup, |
|
|
RunBasedHistograms const & |
histograms |
|
) |
| const |
|
overrideprivatevirtual |
Implements DQMGlobalEDAnalyzerBase< RunBasedHistograms, Args... >.
Definition at line 325 of file TriggerRatesMonitor.cc.
328 unsigned int lumisection =
event.luminosityBlock();
331 histograms.events_processed->Fill(lumisection);
337 if (not bxvector.isEmpty(0)) {
338 auto const &
results = bxvector.at(0, 0);
340 if (
results.getAlgoDecisionFinal(
i))
351 <<
"This should never happen: the number of HLT paths has changed since the beginning of the run";
354 for (
unsigned int d = 0;
d <
histograms.datasets.size(); ++
d) {
361 for (
unsigned int i = 0;
i <
histograms.datasets[
d].size(); ++
i) {
366 histograms.hlt_by_dataset_counts[
d][
i].pass_l1_seed->Fill(lumisection);
368 histograms.hlt_by_dataset_counts[
d][
i].pass_prescale->Fill(lumisection);
370 histograms.hlt_by_dataset_counts[
d][
i].accept->Fill(lumisection);
371 else if (
path.error())
372 histograms.hlt_by_dataset_counts[
d][
i].error->Fill(lumisection);
374 histograms.hlt_by_dataset_counts[
d][
i].reject->Fill(lumisection);
References ztail::d, edm::get(), PDWG_DiJetAODSkim_cff::hltResults, mps_fire::i, dqmiolumiharvest::j, m_hlt_results, m_l1t_results, GlobalAlgBlk::maxPhysicsTriggers, castor_dqm_sourceclient_file_cfg::path, and bookConverter::results.
void TriggerRatesMonitor::dqmBeginRun |
( |
edm::Run const & |
run, |
|
|
edm::EventSetup const & |
setup, |
|
|
RunBasedHistograms & |
histograms |
|
) |
| const |
|
overrideprivatevirtual |
Reimplemented from DQMGlobalEDAnalyzerBase< RunBasedHistograms, Args... >.
Definition at line 167 of file TriggerRatesMonitor.cc.
219 <<
"failed to initialise HLTConfigProvider, the HLT trigger and datasets rates will not be monitored";
References contentValuesFiles::datasets, mps_fire::i, SummaryClient_cfi::labels, edm::EDConsumerBase::labelsForToken(), m_hlt_results, GlobalAlgBlk::maxPhysicsTriggers, castor_dqm_sourceclient_file_cfg::path, Skims_PA_cff::paths, writedatasetfile::run, s_tcds_trigger_types, singleTopDQM_cfi::setup, HLT_Fake1_cff::streams, and tier0::unique().