LArSoft  v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
OpenRangeSetHandler.cc
Go to the documentation of this file.
7 
8 #include <algorithm>
9 
10 namespace art {
11 
13 
14  RangeSet
16  {
18  tmp.assign_ranges(ranges_.begin(), rsIter_);
19  return tmp;
20  }
21 
22  void
23  OpenRangeSetHandler::do_update(EventID const& id, bool const /*lastInSubRun*/)
24  {
25  ranges_.update(id);
26  rsIter_ = ranges_.end();
27  }
28 
29  void
31  {
32  ranges_.clear();
33  rsIter_ = ranges_.end();
34  }
35 }
void clear()
Definition: RangeSet.h:120
auto begin() const
Definition: RangeSet.h:70
Float_t tmp
Definition: plot.C:37
auto end() const
Definition: RangeSet.h:75
RunNumber_t run() const
Definition: RangeSet.h:36
void do_update(EventID const &, bool lastInSubRun) override
void update(EventID const &)
Definition: RangeSet.cc:117
RangeSet::const_iterator rsIter_
HLT enums.
RangeSet do_getSeenRanges() const override
IDNumber_t< Level::Run > RunNumber_t
Definition: IDNumber.h:119