#include <HLTPrescaleRecorder.h>
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Static Public Member Functions inherited from edm::one::EDProducerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Private Attributes | |
bool | condDB_ |
cond::service::PoolDBOutputService * | db_ |
Pool DB service. More... | |
bool | event_ |
trigger::HLTPrescaleTable | hlt_ |
payload HLT object More... | |
std::string | hltDBTag_ |
Tag of DB entry (HLT Key Name) (src=4) More... | |
edm::Handle< trigger::HLTPrescaleTable > | hltHandle_ |
Handle and ESHandle for existing HLT object. More... | |
edm::InputTag | hltInputTag_ |
InputTag of HLTPrescaleTable product (src=1,2,3) More... | |
edm::EDGetTokenT< trigger::HLTPrescaleTable > | hltInputToken_ |
InputToken of HLTPrescaleTable product (src=1,2,3) More... | |
edm::ESGetToken< trigger::HLTPrescaleTableCond, HLTPrescaleTableRcd > const | hltPrescaleTableCondToken_ |
bool | lumi_ |
edm::service::PrescaleService * | ps_ |
Prescale service. More... | |
std::string | psetName_ |
bool | run_ |
(Multiple) Destinations More... | |
int | src_ |
Additional Inherited Members | |
Public Types inherited from edm::one::EDProducerBase | |
typedef EDProducerBase | ModuleType |
Public Types inherited from edm::ProducerBase | |
template<typename T > | |
using | BranchAliasSetterT = ProductRegistryHelper::BranchAliasSetterT< T > |
using | ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex > > |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Protected Member Functions inherited from edm::ProducerBase | |
template<Transition Tr = Transition::Event> | |
auto | produces (std::string instanceName) noexcept |
declare what type of product will make and with which optional label More... | |
template<Transition B> | |
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) |
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 () |
template<typename ProductType , BranchType B> | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<typename ProductType , BranchType B> | |
BranchAliasSetterT< ProductType > | produces () |
template<class ProductType > | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<typename ProductType , Transition B> | |
BranchAliasSetterT< ProductType > | produces () |
template<Transition Tr = Transition::Event> | |
auto | produces () noexcept |
ProducesCollector | producesCollector () |
Protected Member Functions inherited from edm::EDConsumerBase | |
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) |
This class is an EDProducer making the HLTPrescaleTable object
See header file for documentation
Definition at line 44 of file HLTPrescaleRecorder.h.
|
explicit |
Definition at line 27 of file HLTPrescaleRecorder.cc.
References edm::BeginRun, condDB_, db_, edm::InputTag::encode(), event_, hltDBTag_, hltInputTag_, hltInputToken_, lumi_, Utilities::operator, ps_, psetName_, run_, and src_.
|
overridedefault |
|
final |
From PrescaleService default index updated at lumi block boundaries
From Lumi Block
Definition at line 156 of file HLTPrescaleRecorder.cc.
References edm::LuminosityBlock::getByToken(), edm::service::PrescaleService::getLvl1IndexDefault(), edm::service::PrescaleService::getLvl1Labels(), edm::service::PrescaleService::getPrescaleTable(), hlt_, hltHandle_, hltInputToken_, ps_, and src_.
|
final |
From PrescaleTable tracked PSet
From PrescaleService default index updated at lumi block boundaries
From Run Block
From CondDB (needs ESProducer module as well)
Definition at line 104 of file HLTPrescaleRecorder.cc.
References edm::Run::getByToken(), edm::EventSetup::getData(), edm::service::PrescaleService::getLvl1IndexDefault(), edm::service::PrescaleService::getLvl1Labels(), edm::ParameterSet::getParameter(), edm::service::PrescaleService::getPrescaleTable(), edm::getProcessParameterSetContainingModule(), hlt_, hltHandle_, hltInputToken_, hltPrescaleTableCondToken_, mps_fire::i, SummaryClient_cfi::labels, visualization-live-secondInstance_cfg::m, edm::one::EDProducerBase::moduleDescription(), dqmiodumpmetadata::n, ps_, psetName_, src_, AlCaHLTBitMon_QueryRunRegistry::string, and TableParser::table.
|
final |
Definition at line 198 of file HLTPrescaleRecorder.cc.
|
final |
Writing to Lumi Block
Definition at line 200 of file HLTPrescaleRecorder.cc.
References hlt_, lumi_, eostools::move(), and edm::LuminosityBlock::put().
|
final |
Dump to logfile
Writing to CondDB (needs PoolDBOutputService)
Definition at line 209 of file HLTPrescaleRecorder.cc.
References condDB_, db_, hlt_, mps_fire::i, SummaryClient_cfi::labels, trigger::HLTPrescaleTable::labels(), genParticles_cff::map, dqmiodumpmetadata::n, trigger::HLTPrescaleTable::size(), trigger::HLTPrescaleTable::table(), TableParser::table, edm::Timestamp::value(), and cond::service::PoolDBOutputService::writeOneIOV().
|
final |
Writing to Run Block
Definition at line 247 of file HLTPrescaleRecorder.cc.
References hlt_, eostools::move(), edm::Run::put(), and run_.
|
static |
Definition at line 83 of file HLTPrescaleRecorder.cc.
References edm::ConfigurationDescriptions::add(), submitPVResolutionJobs::desc, ProducerED_cfi::InputTag, and AlCaHLTBitMon_QueryRunRegistry::string.
|
finalvirtual |
From Event Block
Writing to Event
Implements edm::one::EDProducerBase.
Definition at line 179 of file HLTPrescaleRecorder.cc.
References event_, hlt_, hltHandle_, hltInputToken_, iEvent, eostools::move(), and src_.
|
private |
Definition at line 69 of file HLTPrescaleRecorder.h.
Referenced by endRun(), and HLTPrescaleRecorder().
|
private |
Pool DB service.
Definition at line 85 of file HLTPrescaleRecorder.h.
Referenced by endRun(), and HLTPrescaleRecorder().
|
private |
Definition at line 68 of file HLTPrescaleRecorder.h.
Referenced by HLTPrescaleRecorder(), and produce().
|
private |
payload HLT object
Definition at line 91 of file HLTPrescaleRecorder.h.
Referenced by beginLuminosityBlock(), beginRun(), endLuminosityBlockProduce(), endRun(), endRunProduce(), and produce().
|
private |
Tag of DB entry (HLT Key Name) (src=4)
Definition at line 79 of file HLTPrescaleRecorder.h.
Referenced by HLTPrescaleRecorder().
|
private |
Handle and ESHandle for existing HLT object.
Definition at line 88 of file HLTPrescaleRecorder.h.
Referenced by beginLuminosityBlock(), beginRun(), and produce().
|
private |
InputTag of HLTPrescaleTable product (src=1,2,3)
Definition at line 75 of file HLTPrescaleRecorder.h.
Referenced by HLTPrescaleRecorder().
|
private |
InputToken of HLTPrescaleTable product (src=1,2,3)
Definition at line 77 of file HLTPrescaleRecorder.h.
Referenced by beginLuminosityBlock(), beginRun(), HLTPrescaleRecorder(), and produce().
|
private |
Definition at line 80 of file HLTPrescaleRecorder.h.
Referenced by beginRun().
|
private |
Definition at line 67 of file HLTPrescaleRecorder.h.
Referenced by endLuminosityBlockProduce(), and HLTPrescaleRecorder().
|
private |
Prescale service.
Definition at line 83 of file HLTPrescaleRecorder.h.
Referenced by beginLuminosityBlock(), beginRun(), and HLTPrescaleRecorder().
|
private |
Source configs name of PrescaleServicePSet (src=-1)
Definition at line 73 of file HLTPrescaleRecorder.h.
Referenced by beginRun(), and HLTPrescaleRecorder().
|
private |
(Multiple) Destinations
Definition at line 66 of file HLTPrescaleRecorder.h.
Referenced by endRunProduce(), and HLTPrescaleRecorder().
|
private |
(Single) source: -1:PrescaleServicePSet 0:PrescaleService, 1:Run, 2:Lumi, 3:Event, 4:CondDB
Definition at line 63 of file HLTPrescaleRecorder.h.
Referenced by beginLuminosityBlock(), beginRun(), HLTPrescaleRecorder(), and produce().