![]() |
![]() |
#include <HLTPrescaleRecorder.h>
Public Member Functions | |
virtual void | beginLuminosityBlock (edm::LuminosityBlock &iLumi, const edm::EventSetup &iSetup) |
virtual void | beginRun (edm::Run &iRun, const edm::EventSetup &iSetup) |
virtual void | endLuminosityBlock (edm::LuminosityBlock &iLumi, const edm::EventSetup &iSetup) |
virtual void | endRun (edm::Run &iRun, const edm::EventSetup &iSetup) |
HLTPrescaleRecorder (const edm::ParameterSet &) | |
virtual void | produce (edm::Event &iEvent, const edm::EventSetup &iSetup) |
~HLTPrescaleRecorder () | |
![]() | |
EDProducer () | |
virtual | ~EDProducer () |
![]() | |
ProducerBase () | |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
boost::function< void(const BranchDescription &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
virtual | ~ProducerBase () |
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... | |
bool | lumi_ |
edm::service::PrescaleService * | ps_ |
Prescale service. More... | |
std::string | psetName_ |
bool | run_ |
(Multiple) Destinations More... | |
int | src_ |
Additional Inherited Members | |
![]() | |
typedef EDProducer | ModuleType |
typedef WorkerT< EDProducer > | WorkerType |
![]() | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
![]() | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
![]() | |
CurrentProcessingContext const * | currentContext () const |
![]() | |
template<class TProducer , class TMethod > | |
void | callWhenNewProductsRegistered (TProducer *iProd, TMethod iMethod) |
This class is an EDProducer making the HLTPrescaleTable object
See header file for documentation
Definition at line 41 of file HLTPrescaleRecorder.h.
|
explicit |
Definition at line 37 of file HLTPrescaleRecorder.cc.
References condDB_, db_, edm::InputTag::encode(), event_, hltDBTag_, hltInputTag_, lumi_, cmsCodeRules.cppFunctionSkipper::operator, ps_, psetName_, run_, and src_.
HLTPrescaleRecorder::~HLTPrescaleRecorder | ( | ) |
Definition at line 77 of file HLTPrescaleRecorder.cc.
|
virtual |
From PrescaleService default index updated at lumi block boundaries
From Lumi Block
Reimplemented from edm::EDProducer.
Definition at line 138 of file HLTPrescaleRecorder.cc.
References edm::LuminosityBlock::getByLabel(), edm::service::PrescaleService::getLvl1IndexDefault(), edm::service::PrescaleService::getLvl1Labels(), edm::service::PrescaleService::getPrescaleTable(), hlt_, hltHandle_, hltInputTag_, ps_, and src_.
|
virtual |
From PrescaleTable tracked PSet
From PrescaleService default index updated at lumi block boundaries
From Run Block
From CondDB (needs ESProducer module as well)
Reimplemented from edm::EDProducer.
Definition at line 85 of file HLTPrescaleRecorder.cc.
References edm::EventSetup::get(), edm::eventsetup::EventSetupRecord::get(), edm::Run::getByLabel(), edm::service::PrescaleService::getLvl1IndexDefault(), edm::service::PrescaleService::getLvl1Labels(), edm::ParameterSet::getParameter(), edm::service::PrescaleService::getPrescaleTable(), edm::getProcessParameterSet(), edm::ParameterSet::getUntrackedParameter(), hlt_, hltDBTag_, hltESHandle_, hltHandle_, hltInputTag_, i, L1TDQM_cfg::labels, m, n, ps_, psetName_, src_, and asciidump::table.
|
virtual |
Writing to Lumi Block
Reimplemented from edm::EDProducer.
Definition at line 183 of file HLTPrescaleRecorder.cc.
References hlt_, lumi_, and edm::LuminosityBlock::put().
|
virtual |
Dump to logfile
Writing to Run Block
Writing to CondDB (needs PoolDBOutputService)
Reimplemented from edm::EDProducer.
Definition at line 194 of file HLTPrescaleRecorder.cc.
References cond::service::PoolDBOutputService::appendSinceTime(), cond::service::PoolDBOutputService::beginOfTime(), condDB_, cond::service::PoolDBOutputService::createNewIOV(), db_, cond::service::PoolDBOutputService::endOfTime(), hlt_, i, cond::service::PoolDBOutputService::isNewTagRequest(), L1TDQM_cfg::labels, trigger::HLTPrescaleTable::labels(), Association::map, n, edm::Run::put(), run_, trigger::HLTPrescaleTable::size(), trigger::HLTPrescaleTable::table(), asciidump::table, and edm::Timestamp::value().
|
virtual |
From Event Block
Writing to Event
Implements edm::EDProducer.
Definition at line 162 of file HLTPrescaleRecorder.cc.
References event_, edm::Event::getByLabel(), hlt_, hltHandle_, hltInputTag_, edm::Event::put(), and src_.
|
private |
Definition at line 62 of file HLTPrescaleRecorder.h.
Referenced by endRun(), and HLTPrescaleRecorder().
|
private |
Pool DB service.
Definition at line 75 of file HLTPrescaleRecorder.h.
Referenced by endRun(), and HLTPrescaleRecorder().
|
private |
Definition at line 61 of file HLTPrescaleRecorder.h.
Referenced by HLTPrescaleRecorder(), and produce().
|
private |
payload HLT object
Definition at line 82 of file HLTPrescaleRecorder.h.
Referenced by beginLuminosityBlock(), beginRun(), endLuminosityBlock(), endRun(), and produce().
|
private |
Tag of DB entry (HLT Key Name) (src=4)
Definition at line 70 of file HLTPrescaleRecorder.h.
Referenced by beginRun(), and HLTPrescaleRecorder().
|
private |
Definition at line 79 of file HLTPrescaleRecorder.h.
Referenced by beginRun().
|
private |
Handle and ESHandle for existing HLT object.
Definition at line 78 of file HLTPrescaleRecorder.h.
Referenced by beginLuminosityBlock(), beginRun(), and produce().
|
private |
InputTag of HLTPrescaleTable product (src=1,2,3)
Definition at line 68 of file HLTPrescaleRecorder.h.
Referenced by beginLuminosityBlock(), beginRun(), HLTPrescaleRecorder(), and produce().
|
private |
Definition at line 60 of file HLTPrescaleRecorder.h.
Referenced by endLuminosityBlock(), and HLTPrescaleRecorder().
|
private |
Prescale service.
Definition at line 73 of file HLTPrescaleRecorder.h.
Referenced by beginLuminosityBlock(), beginRun(), and HLTPrescaleRecorder().
|
private |
Source configs name of PrescaleServicePSet (src=-1)
Definition at line 66 of file HLTPrescaleRecorder.h.
Referenced by beginRun(), and HLTPrescaleRecorder().
|
private |
(Multiple) Destinations
Definition at line 59 of file HLTPrescaleRecorder.h.
Referenced by endRun(), and HLTPrescaleRecorder().
|
private |
(Single) source: -1:PrescaleServicePSet 0:PrescaleService, 1:Run, 2:Lumi, 3:Event, 4:CondDB
Definition at line 56 of file HLTPrescaleRecorder.h.
Referenced by beginLuminosityBlock(), beginRun(), HLTPrescaleRecorder(), and produce().