CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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
26  std::auto_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
tuple lumi
Definition: fjr2json.py:35
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_
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision and the trigger will pass if any such matching triggers are FAIL or EXCEPTION A wildcarded negative criterion that matches more than one trigger in the trigger but the state exists so we define the behavior If all triggers are the negative crieriion will lead to accepting the event(this again matches the behavior of"!*"before the partial wildcard feature was incorporated).The per-event"cost"of each negative criterion with multiple relevant triggers is about the same as!*was in the past
std::vector< EventRange > whichEventsToSkip_
EventNumber_t firstEvent_
static void fillDescription(ParameterSetDescription &desc)
bool somethingToSkip() const
unsigned int RunNumber_t
static std::auto_ptr< EventSkipperByID > create(ParameterSet const &pset)
EventSkipperByID(ParameterSet const &pset)