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
26  std::unique_ptr<EventSkipperByID>create(ParameterSet const& pset);
27  static void fillDescription(ParameterSetDescription & desc);
28 
29  private:
30 
34  std::vector<LuminosityBlockRange> whichLumisToSkip_;
35  std::vector<LuminosityBlockRange> whichLumisToProcess_;
36  std::vector<EventRange> whichEventsToSkip_;
37  std::vector<EventRange> whichEventsToProcess_;
41  };
42 }
43 
44 #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