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
edm::RunNumber_t
unsigned int RunNumber_t
Definition: RunLumiEventNumber.h:14
edm
HLT enums.
Definition: AlignableModifier.h:19
RunLumiEventNumber.h
edm::ParameterSetDescription
Definition: ParameterSetDescription.h:52
edm::EventSkipperByID::firstRun_
RunNumber_t firstRun_
Definition: EventSkipperByID.h:29
edm::LuminosityBlockNumber_t
unsigned int LuminosityBlockNumber_t
Definition: RunLumiEventNumber.h:13
LuminosityBlockID.h
edm::EventSkipperByID::create
static std::unique_ptr< EventSkipperByID > create(ParameterSet const &pset)
Definition: EventSkipperByID.cc:38
edm::EventSkipperByID::skipIt
bool skipIt(RunNumber_t run, LuminosityBlockNumber_t lumi, EventNumber_t event) const
Definition: EventSkipperByID.cc:49
edm::EventSkipperByID::~EventSkipperByID
~EventSkipperByID()
Definition: EventSkipperByID.cc:36
edm::EventSkipperByID::skippingEvents_
bool skippingEvents_
Definition: EventSkipperByID.h:37
edm::EventSkipperByID::skippingEvents
bool skippingEvents() const
Definition: EventSkipperByID.h:23
edm::EventSkipperByID::somethingToSkip_
bool somethingToSkip_
Definition: EventSkipperByID.h:38
EventID.h
edm::EventSkipperByID::firstLumi_
LuminosityBlockNumber_t firstLumi_
Definition: EventSkipperByID.h:30
edm::EventNumber_t
unsigned long long EventNumber_t
Definition: RunLumiEventNumber.h:12
edm::EventSkipperByID
Definition: EventSkipperByID.h:17
edm::EventSkipperByID::skippingLumis
bool skippingLumis() const
Definition: EventSkipperByID.h:22
edm::ParameterSet
Definition: ParameterSet.h:47
edm::EventSkipperByID::whichLumisToProcess_
std::vector< LuminosityBlockRange > whichLumisToProcess_
Definition: EventSkipperByID.h:33
ParameterSet
Definition: Functions.h:16
edm::EventSkipperByID::whichLumisToSkip_
std::vector< LuminosityBlockRange > whichLumisToSkip_
Definition: EventSkipperByID.h:32
edm::EventSkipperByID::whichEventsToProcess_
std::vector< EventRange > whichEventsToProcess_
Definition: EventSkipperByID.h:35
edm::EventSkipperByID::whichEventsToSkip_
std::vector< EventRange > whichEventsToSkip_
Definition: EventSkipperByID.h:34
edm::EventSkipperByID::firstEvent_
EventNumber_t firstEvent_
Definition: EventSkipperByID.h:31
submitPVResolutionJobs.desc
string desc
Definition: submitPVResolutionJobs.py:251
writedatasetfile.run
run
Definition: writedatasetfile.py:27
edm::EventSkipperByID::skippingLumis_
bool skippingLumis_
Definition: EventSkipperByID.h:36
ParameterSetDescription
LuminosityBlockRange.h
edm::EventSkipperByID::EventSkipperByID
EventSkipperByID(ParameterSet const &pset)
Definition: EventSkipperByID.cc:7
edm::EventSkipperByID::fillDescription
static void fillDescription(ParameterSetDescription &desc)
Definition: EventSkipperByID.cc:116
edm::EventSkipperByID::somethingToSkip
bool somethingToSkip() const
Definition: EventSkipperByID.h:24
event
Definition: event.py:1
lumi
Definition: LumiSectionData.h:20
muonDTDigis_cfi.pset
pset
Definition: muonDTDigis_cfi.py:27
EventRange.h