#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 HLTFilter | |
HLTFilter () | |
virtual | ~HLTFilter () |
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... | |
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) |
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 HLTFilter (-> EDFilter) implementing an HLT Prescaler module with associated book keeping.
Definition at line 21 of file HLTPrescaler.h.
|
explicit |
Definition at line 29 of file HLTPrescaler.cc.
References LogDebug, cmsCodeRules.cppFunctionSkipper::operator, and prescaleService_.
|
virtual |
Definition at line 46 of file HLTPrescaler.cc.
|
virtual |
Reimplemented from edm::EDFilter.
Definition at line 57 of file HLTPrescaler.cc.
References newLumi_.
|
virtual |
Reimplemented from edm::EDFilter.
Definition at line 117 of file HLTPrescaler.cc.
References acceptCount_, eventCount_, and max().
|
virtual |
Implements HLTFilter.
Definition at line 67 of file HLTPrescaler.cc.
References acceptCount_, edm::EventID::event(), eventCount_, edm::Event::getByLabel(), edm::Event::getLuminosityBlock(), edm::service::PrescaleService::getPrescale(), gtDigi_, patZpeak::handle, edm::LuminosityBlockBase::id(), edm::EventBase::id(), getHLTprescales::index, edm::HandleBase::isValid(), edm::LuminosityBlockID::luminosityBlock(), newLumi_, offsetCount_, offsetPhase_, pathName(), prescaleFactor_, prescaleSeed_, prescaleService_, and query::result.
|
private |
|
private |
|
private |
GT payload, to extract the prescale column index.
Definition at line 65 of file HLTPrescaler.h.
Referenced by filter().
|
private |
check for (re)initialization of the prescale
Definition at line 62 of file HLTPrescaler.h.
Referenced by beginLuminosityBlock(), and filter().
|
private |
|
private |
Definition at line 56 of file HLTPrescaler.h.
Referenced by filter().
|
private |
accept one in prescaleFactor_; 0 means never to accept an event
Definition at line 46 of file HLTPrescaler.h.
Referenced by filter().
|
staticprivate |
"seed" used to initialize the prescale counter
Definition at line 69 of file HLTPrescaler.h.
Referenced by filter().
|
private |
prescale service
Definition at line 59 of file HLTPrescaler.h.
Referenced by filter(), and HLTPrescaler().