![]() |
![]() |
#include <EventStreamSelector.h>
Public Member Functions | |
bool | acceptEvent (const I2OChain &) |
const EventStreamConfigurationInfo & | configInfo () const |
EventStreamSelector (const EventStreamConfigurationInfo &) | |
void | initialize (const InitMsgView &) |
bool | isInitialized () const |
bool | operator< (const EventStreamSelector &other) const |
unsigned int | outputModuleId () const |
~EventStreamSelector () | |
Private Attributes | |
const EventStreamConfigurationInfo | configInfo_ |
TriggerSelectorPtr | eventSelector_ |
bool | initialized_ |
unsigned int | outputModuleId_ |
Accepts or rejects an event based on the EventStreamConfigurationInfo
Definition at line 25 of file EventStreamSelector.h.
stor::EventStreamSelector::EventStreamSelector | ( | const EventStreamConfigurationInfo & | configInfo | ) |
Definition at line 18 of file EventStreamSelector.cc.
References cond::rpcobgas::time.
|
inline |
Definition at line 34 of file EventStreamSelector.h.
bool stor::EventStreamSelector::acceptEvent | ( | const I2OChain & | ioc | ) |
Definition at line 77 of file EventStreamSelector.cc.
References configInfo_, eventSelector_, stor::EventStreamConfigurationInfo::fractionToDisk(), stor::I2OChain::hltTriggerBits(), stor::I2OChain::hltTriggerCount(), initialized_, stor::I2OChain::outputModuleId(), outputModuleId_, and rand().
|
inline |
Definition at line 44 of file EventStreamSelector.h.
References configInfo_.
Referenced by operator<().
void stor::EventStreamSelector::initialize | ( | const InitMsgView & | imv | ) |
Definition at line 27 of file EventStreamSelector.cc.
References edm::ParameterSet::addParameter(), configInfo_, alignCSCRings::e, stor::EventStreamConfigurationInfo::eventSelection(), eventSelector_, cppFunctionSkipper::exception, InitMsgView::hltTriggerNames(), initialized_, InitMsgView::outputModuleId(), outputModuleId_, stor::EventStreamConfigurationInfo::outputModuleLabel(), InitMsgView::outputModuleLabel(), stor::EventStreamConfigurationInfo::streamLabel(), stor::EventStreamConfigurationInfo::triggerSelection(), and cms::Exception::what().
Referenced by stor::EventDistributor::tagCompleteEventForQueues().
|
inline |
|
inline |
Definition at line 48 of file EventStreamSelector.h.
References configInfo(), and configInfo_.
|
inline |
Definition at line 43 of file EventStreamSelector.h.
References outputModuleId_.
|
private |
Definition at line 55 of file EventStreamSelector.h.
Referenced by acceptEvent(), configInfo(), initialize(), and operator<().
|
private |
Definition at line 57 of file EventStreamSelector.h.
Referenced by acceptEvent(), and initialize().
|
private |
Definition at line 53 of file EventStreamSelector.h.
Referenced by acceptEvent(), initialize(), and isInitialized().
|
private |
Definition at line 54 of file EventStreamSelector.h.
Referenced by acceptEvent(), initialize(), and outputModuleId().