CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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
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_
list lumi
Definition: dqmdumpme.py:53
std::vector< EventRange > whichEventsToSkip_
EventNumber_t firstEvent_
static void fillDescription(ParameterSetDescription &desc)
bool somethingToSkip() const
unsigned int RunNumber_t
EventSkipperByID(ParameterSet const &pset)