35 , offsetPhase_(iConfig.existsAs<unsigned int>(
"offset") ? iConfig.getParameter<unsigned int>(
"offset") : 0)
38 , gtDigi_ (iConfig.getParameter<edm::InputTag>(
"L1GtReadoutRecordTag"))
43 LogDebug(
"NoPrescaleService")<<
"PrescaleService unavailable, prescaleFactor=1!";
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
127 <<
"% of events accepted).";
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
virtual bool beginLuminosityBlock(edm::LuminosityBlock &lb, edm::EventSetup const &iSetup)
const T & max(const T &a, const T &b)
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_
HLTPrescaler(edm::ParameterSet const &iConfig)
unsigned int offsetCount_
initial offset
std::string const * pathName() const
virtual bool filter(edm::Event &iEvent, edm::EventSetup const &iSetup)
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)