This class is an EDFilter implementing an HLT Prescaler module with associated book keeping.
- Date:
- 2012/01/23 10:15:21
- Revision:
- 1.23
- Author
- Martin Grunewald
-
Philipp Schieferdecker
Definition at line 24 of file HLTPrescaler.h.
Implements edm::EDFilter.
Definition at line 68 of file HLTPrescaler.cc.
References acceptCount_, edm::EDFilter::currentContext(), edm::EventID::event(), eventCount_, edm::Event::getByLabel(), edm::Event::getLuminosityBlock(), edm::service::PrescaleService::getPrescale(), gtDigi_, patZpeak::handle, edm::LuminosityBlockBase::id(), edm::EventBase::id(), edm::HandleBase::isValid(), edm::LuminosityBlockID::luminosityBlock(), newLumi_, offsetCount_, offsetPhase_, edm::CurrentProcessingContext::pathName(), EgammaValidation_cff::pathName, prescaleFactor_, prescaleSeed_, prescaleService_, prescaleSet_, and query::result.
85 prescaleSet_ = handle->gtFdlWord().gtPrescaleFactorIndexAlgo();
90 edm::LogWarning(
"HLT") <<
"Cannot read prescale column index from GT data: using default as defined by configuration or DAQ";
98 <<
", path = "<< pathName
LuminosityBlockID id() const
EventNumber_t event() const
edm::InputTag gtDigi_
GT payload, to extract the prescale column index.
edm::service::PrescaleService * prescaleService_
prescale service
static const unsigned int prescaleSeed_
"seed" used to initialize the prescale counter
unsigned int acceptCount_
accept counter
unsigned int eventCount_
event counter
bool newLumi_
check for (re)initialization of the prescale
unsigned int prescaleSet_
l1 prescale set index
LuminosityBlock const & getLuminosityBlock() const
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
unsigned long long uint64_t
LuminosityBlockNumber_t luminosityBlock() const
unsigned int offsetPhase_
unsigned int offsetCount_
initial offset
std::string const * pathName() const
CurrentProcessingContext const * currentContext() const
unsigned int prescaleFactor_
accept one in prescaleFactor_; 0 means never to accept an event
unsigned int getPrescale(unsigned int lvl1Index, std::string const &prescaledPath)