#include <HLTPrescaleRecorder.h>
Public Member Functions | |
virtual void | beginLuminosityBlock (edm::LuminosityBlock const &iLumi, const edm::EventSetup &iSetup) override final |
virtual void | beginRun (edm::Run const &iRun, const edm::EventSetup &iSetup) override final |
virtual void | endLuminosityBlock (edm::LuminosityBlock const &iLumi, const edm::EventSetup &iSetup) override final |
virtual void | endLuminosityBlockProduce (edm::LuminosityBlock &iLumi, const edm::EventSetup &iSetup) override final |
virtual void | endRun (edm::Run const &iRun, const edm::EventSetup &iSetup) override final |
virtual void | endRunProduce (edm::Run &iRun, const edm::EventSetup &iSetup) override final |
HLTPrescaleRecorder (const edm::ParameterSet &) | |
virtual void | produce (edm::Event &iEvent, const edm::EventSetup &iSetup) override final |
virtual | ~HLTPrescaleRecorder () |
Public Member Functions inherited from edm::one::EDProducer< edm::EndRunProducer, edm::EndLuminosityBlockProducer, edm::one::WatchRuns, edm::one::WatchLuminosityBlocks > | |
EDProducer ()=default | |
Public Member Functions inherited from edm::one::EDProducerBase | |
EDProducerBase () | |
ModuleDescription const & | moduleDescription () const |
virtual | ~EDProducerBase () |
Public Member Functions inherited from edm::ProducerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
std::vector< edm::ProductResolverIndex > const & | indiciesForPutProducts (BranchType iBranchType) const |
ProducerBase () | |
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, std::unordered_multimap< std::string, edm::ProductResolverIndex > const &iIndicies, std::string const &moduleLabel) |
virtual | ~ProducerBase () noexcept(false) |
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) |
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::ESHandle< trigger::HLTPrescaleTableCond > | hltESHandle_ |
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... | |
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 | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
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) |
This class is an EDProducer making the HLTPrescaleTable object
See header file for documentation
Definition at line 43 of file HLTPrescaleRecorder.h.
|
explicit |
Definition at line 35 of file HLTPrescaleRecorder.cc.
References condDB_, db_, edm::InputTag::encode(), event_, hltDBTag_, hltInputTag_, hltInputToken_, lumi_, Utilities::operator, ps_, psetName_, run_, src_, and ~HLTPrescaleRecorder().
|
virtualdefault |
Referenced by HLTPrescaleRecorder().
|
finaloverridevirtual |
From PrescaleService default index updated at lumi block boundaries
From Lumi Block
Definition at line 166 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_.
|
finaloverridevirtual |
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 113 of file HLTPrescaleRecorder.cc.
References edm::EventSetup::get(), edm::eventsetup::EventSetupRecord::get(), edm::Run::getByToken(), edm::service::PrescaleService::getLvl1IndexDefault(), edm::service::PrescaleService::getLvl1Labels(), edm::ParameterSet::getParameter(), edm::service::PrescaleService::getPrescaleTable(), edm::getProcessParameterSetContainingModule(), hlt_, hltDBTag_, hltESHandle_, hltHandle_, hltInputToken_, trigger::HLTPrescaleTableCond::hltPrescaleTable(), mps_fire::i, tablePrinter::labels, funct::m, edm::one::EDProducerBase::moduleDescription(), gen::n, ps_, psetName_, src_, and AlCaHLTBitMon_QueryRunRegistry::string.
|
finaloverridevirtual |
Definition at line 210 of file HLTPrescaleRecorder.cc.
|
finaloverridevirtual |
Writing to Lumi Block
Definition at line 213 of file HLTPrescaleRecorder.cc.
References hlt_, lumi_, eostools::move(), and edm::LuminosityBlock::put().
|
finaloverridevirtual |
Dump to logfile
Writing to CondDB (needs PoolDBOutputService)
Definition at line 223 of file HLTPrescaleRecorder.cc.
References cond::service::PoolDBOutputService::appendSinceTime(), cond::service::PoolDBOutputService::beginOfTime(), condDB_, cond::service::PoolDBOutputService::createNewIOV(), db_, cond::service::PoolDBOutputService::endOfTime(), hlt_, mps_fire::i, cond::service::PoolDBOutputService::isNewTagRequest(), tablePrinter::labels, trigger::HLTPrescaleTable::labels(), genParticles_cff::map, gen::n, trigger::HLTPrescaleTable::size(), trigger::HLTPrescaleTable::table(), and edm::Timestamp::value().
|
finaloverridevirtual |
Writing to Run Block
Definition at line 271 of file HLTPrescaleRecorder.cc.
References hlt_, eostools::move(), edm::Run::put(), and run_.
|
static |
Definition at line 92 of file HLTPrescaleRecorder.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
finaloverridevirtual |
From Event Block
Writing to Event
Definition at line 190 of file HLTPrescaleRecorder.cc.
References event_, edm::Event::getByToken(), hlt_, hltHandle_, hltInputToken_, eostools::move(), edm::Event::put(), and src_.
|
private |
Definition at line 70 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 69 of file HLTPrescaleRecorder.h.
Referenced by HLTPrescaleRecorder(), and produce().
|
private |
payload HLT object
Definition at line 92 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 80 of file HLTPrescaleRecorder.h.
Referenced by beginRun(), and HLTPrescaleRecorder().
|
private |
Definition at line 89 of file HLTPrescaleRecorder.h.
Referenced by beginRun().
|
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 76 of file HLTPrescaleRecorder.h.
Referenced by HLTPrescaleRecorder().
|
private |
InputToken of HLTPrescaleTable product (src=1,2,3)
Definition at line 78 of file HLTPrescaleRecorder.h.
Referenced by beginLuminosityBlock(), beginRun(), HLTPrescaleRecorder(), and produce().
|
private |
Definition at line 68 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 74 of file HLTPrescaleRecorder.h.
Referenced by beginRun(), and HLTPrescaleRecorder().
|
private |
(Multiple) Destinations
Definition at line 67 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 64 of file HLTPrescaleRecorder.h.
Referenced by beginLuminosityBlock(), beginRun(), HLTPrescaleRecorder(), and produce().