#include <EventSkipperByID.h>
Public Member Functions | |
EventSkipperByID (ParameterSet const &pset) | |
bool | skipIt (RunNumber_t run, LuminosityBlockNumber_t lumi, EventNumber_t event) const |
bool | skippingEvents () const |
bool | skippingLumis () const |
bool | somethingToSkip () const |
~EventSkipperByID () | |
Static Public Member Functions | |
static std::unique_ptr < EventSkipperByID > | create (ParameterSet const &pset) |
static void | fillDescription (ParameterSetDescription &desc) |
Private Attributes | |
EventNumber_t | firstEvent_ |
LuminosityBlockNumber_t | firstLumi_ |
RunNumber_t | firstRun_ |
bool | skippingEvents_ |
bool | skippingLumis_ |
bool | somethingToSkip_ |
std::vector< EventRange > | whichEventsToProcess_ |
std::vector< EventRange > | whichEventsToSkip_ |
std::vector< LuminosityBlockRange > | whichLumisToProcess_ |
std::vector< LuminosityBlockRange > | whichLumisToSkip_ |
Definition at line 17 of file EventSkipperByID.h.
|
explicit |
Definition at line 7 of file EventSkipperByID.cc.
References edm::sortAndRemoveOverlaps(), whichEventsToProcess_, whichEventsToSkip_, whichLumisToProcess_, and whichLumisToSkip_.
edm::EventSkipperByID::~EventSkipperByID | ( | ) |
Definition at line 36 of file EventSkipperByID.cc.
|
static |
Definition at line 38 of file EventSkipperByID.cc.
References TrackValidation_cff::pset.
Referenced by edm::RepeatingCachedRootSource::RepeatingCachedRootSource().
|
static |
Definition at line 116 of file EventSkipperByID.cc.
References edm::ParameterSetDescription::addNode(), edm::ParameterSetDescription::addUntracked(), and edm::ParameterDescriptionNode::setComment().
Referenced by edm::RootPrimaryFileSequence::fillDescription(), edm::StreamerFileReader::fillDescriptions(), and dqmservices::DQMStreamerReader::fillDescriptions().
bool edm::EventSkipperByID::skipIt | ( | RunNumber_t | run, |
LuminosityBlockNumber_t | lumi, | ||
EventNumber_t | event | ||
) | const |
Definition at line 49 of file EventSkipperByID.cc.
References edm::binary_search_all(), unittestinputsource_cfi::eventRange, firstEvent_, firstLumi_, firstRun_, edm::lessThan(), edm::lessThanSpecial(), lt, BeamSpotPI::lumiRange, skippingEvents(), skippingLumis(), whichEventsToProcess_, whichEventsToSkip_, whichLumisToProcess_, and whichLumisToSkip_.
|
inline |
Definition at line 23 of file EventSkipperByID.h.
References skippingEvents_.
Referenced by skipIt().
|
inline |
Definition at line 22 of file EventSkipperByID.h.
References skippingLumis_.
Referenced by skipIt().
|
inline |
|
private |
Definition at line 31 of file EventSkipperByID.h.
Referenced by skipIt().
|
private |
Definition at line 30 of file EventSkipperByID.h.
Referenced by skipIt().
|
private |
Definition at line 29 of file EventSkipperByID.h.
Referenced by skipIt().
|
private |
Definition at line 37 of file EventSkipperByID.h.
Referenced by skippingEvents().
|
private |
Definition at line 36 of file EventSkipperByID.h.
Referenced by skippingLumis().
|
private |
Definition at line 38 of file EventSkipperByID.h.
Referenced by somethingToSkip().
|
private |
Definition at line 35 of file EventSkipperByID.h.
Referenced by EventSkipperByID(), and skipIt().
|
private |
Definition at line 34 of file EventSkipperByID.h.
Referenced by EventSkipperByID(), and skipIt().
|
private |
Definition at line 33 of file EventSkipperByID.h.
Referenced by EventSkipperByID(), and skipIt().
|
private |
Definition at line 32 of file EventSkipperByID.h.
Referenced by EventSkipperByID(), and skipIt().