#include <HLTPrescaler.h>
Public Member Functions | |
virtual bool | beginLuminosityBlock (edm::LuminosityBlock &lb, edm::EventSetup const &iSetup) |
virtual void | endJob () |
virtual bool | filter (edm::Event &iEvent, edm::EventSetup const &iSetup) |
HLTPrescaler (edm::ParameterSet const &iConfig) | |
virtual | ~HLTPrescaler () |
Public Member Functions inherited from edm::EDFilter | |
EDFilter () | |
virtual | ~EDFilter () |
Public Member Functions inherited from edm::ProducerBase | |
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 | |
unsigned int | acceptCount_ |
accept counter More... | |
unsigned int | eventCount_ |
event counter More... | |
edm::InputTag | gtDigi_ |
GT payload, to extract the prescale column index. More... | |
bool | newLumi_ |
check for (re)initialization of the prescale More... | |
unsigned int | offsetCount_ |
initial offset More... | |
unsigned int | offsetPhase_ |
unsigned int | prescaleFactor_ |
accept one in prescaleFactor_; 0 means never to accept an event More... | |
edm::service::PrescaleService * | prescaleService_ |
prescale service More... | |
unsigned int | prescaleSet_ |
l1 prescale set index More... | |
Static Private Attributes | |
static const unsigned int | prescaleSeed_ = 65537 |
"seed" used to initialize the prescale counter More... | |
Additional Inherited Members | |
Public Types inherited from edm::EDFilter | |
typedef EDFilter | ModuleType |
typedef WorkerT< EDFilter > | WorkerType |
Public Types inherited from edm::ProducerBase | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Static Public Member Functions inherited from edm::EDFilter | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &) |
Protected Member Functions inherited from edm::EDFilter | |
CurrentProcessingContext const * | currentContext () const |
Protected Member Functions inherited from edm::ProducerBase | |
template<class TProducer , class TMethod > | |
void | callWhenNewProductsRegistered (TProducer *iProd, TMethod iMethod) |
This class is an EDFilter implementing an HLT Prescaler module with associated book keeping.
Definition at line 24 of file HLTPrescaler.h.
|
explicit |
Definition at line 29 of file HLTPrescaler.cc.
References LogDebug, cppFunctionSkipper::operator, and prescaleService_.
|
virtual |
Definition at line 47 of file HLTPrescaler.cc.
|
virtual |
Reimplemented from edm::EDFilter.
Definition at line 58 of file HLTPrescaler.cc.
References newLumi_.
|
virtual |
Reimplemented from edm::EDFilter.
Definition at line 121 of file HLTPrescaler.cc.
References acceptCount_, eventCount_, and max().
|
virtual |
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.
|
private |
|
private |
|
private |
GT payload, to extract the prescale column index.
Definition at line 71 of file HLTPrescaler.h.
Referenced by filter().
|
private |
check for (re)initialization of the prescale
Definition at line 68 of file HLTPrescaler.h.
Referenced by beginLuminosityBlock(), and filter().
|
private |
|
private |
Definition at line 62 of file HLTPrescaler.h.
Referenced by filter().
|
private |
accept one in prescaleFactor_; 0 means never to accept an event
Definition at line 52 of file HLTPrescaler.h.
Referenced by filter().
|
staticprivate |
"seed" used to initialize the prescale counter
Definition at line 75 of file HLTPrescaler.h.
Referenced by filter().
|
private |
prescale service
Definition at line 65 of file HLTPrescaler.h.
Referenced by filter(), and HLTPrescaler().
|
private |