34 , offsetPhase_(iConfig.existsAs<unsigned int>(
"offset") ? iConfig.getParameter<unsigned int>(
"offset") : 0)
37 , gtDigi_ (iConfig.getParameter<edm::InputTag>(
"L1GtReadoutRecordTag"))
42 LogDebug(
"NoPrescaleService")<<
"PrescaleService unavailable, prescaleFactor=1!";
82 unsigned int index = handle->gtFdlWord().gtPrescaleFactorIndexAlgo();
87 edm::LogWarning(
"HLT") <<
"Cannot read prescale column index from GT data: using default as defined by configuration or DAQ";
123 <<
"% 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
const std::string * pathName() const
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
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
virtual bool filter(edm::Event &iEvent, edm::EventSetup const &iSetup)
unsigned int prescaleFactor_
accept one in prescaleFactor_; 0 means never to accept an event
unsigned int getPrescale(unsigned int lvl1Index, std::string const &prescaledPath)