CMS 3D CMS Logo

EventSkipperByID.h
Go to the documentation of this file.
1 #ifndef FWCore_Sources_EventSkipperByID_h
2 #define FWCore_Sources_EventSkipperByID_h
3 
9 
10 #include <memory>
11 #include <vector>
12 
13 namespace edm {
14  class ParameterSet;
16 
18  public:
19  explicit EventSkipperByID(ParameterSet const& pset);
22  bool skippingLumis() const { return skippingLumis_; }
23  bool skippingEvents() const { return skippingEvents_; }
24  bool somethingToSkip() const { return somethingToSkip_; }
25  static std::unique_ptr<EventSkipperByID> create(ParameterSet const& pset);
27 
28  private:
32  std::vector<LuminosityBlockRange> whichLumisToSkip_;
33  std::vector<LuminosityBlockRange> whichLumisToProcess_;
34  std::vector<EventRange> whichEventsToSkip_;
35  std::vector<EventRange> whichEventsToProcess_;
39  };
40 } // namespace edm
41 
42 #endif
static std::unique_ptr< EventSkipperByID > create(ParameterSet const &pset)
unsigned long long EventNumber_t
bool skippingEvents() const
LuminosityBlockNumber_t firstLumi_
unsigned int LuminosityBlockNumber_t
std::vector< LuminosityBlockRange > whichLumisToSkip_
std::vector< EventRange > whichEventsToProcess_
std::vector< LuminosityBlockRange > whichLumisToProcess_
bool skipIt(RunNumber_t run, LuminosityBlockNumber_t lumi, EventNumber_t event) const
bool skippingLumis() const
std::vector< EventRange > whichEventsToSkip_
EventNumber_t firstEvent_
static void fillDescription(ParameterSetDescription &desc)
HLT enums.
unsigned int RunNumber_t
EventSkipperByID(ParameterSet const &pset)
bool somethingToSkip() const
Definition: event.py:1