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);
26  static void fillDescription(ParameterSetDescription& desc);
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
bool skippingLumis() const
static std::unique_ptr< EventSkipperByID > create(ParameterSet const &pset)
unsigned long long EventNumber_t
bool skipIt(RunNumber_t run, LuminosityBlockNumber_t lumi, EventNumber_t event) const
LuminosityBlockNumber_t firstLumi_
unsigned int LuminosityBlockNumber_t
bool skippingEvents() const
std::vector< LuminosityBlockRange > whichLumisToSkip_
std::vector< EventRange > whichEventsToProcess_
std::vector< LuminosityBlockRange > whichLumisToProcess_
std::vector< EventRange > whichEventsToSkip_
EventNumber_t firstEvent_
static void fillDescription(ParameterSetDescription &desc)
HLT enums.
bool somethingToSkip() const
unsigned int RunNumber_t
EventSkipperByID(ParameterSet const &pset)
Definition: event.py:1