LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
#include "ClosedRangeSetHandler.h"
Classes | |
class | EventInfo |
Public Types | |
enum | HandlerType { HandlerType::Open = 1, HandlerType::Closed = 2 } |
Public Member Functions | |
virtual | ~ClosedRangeSetHandler () |
ClosedRangeSetHandler (RangeSet const &inputRangeSet) | |
ClosedRangeSetHandler (ClosedRangeSetHandler const &) | |
ClosedRangeSetHandler (ClosedRangeSetHandler &&) | |
ClosedRangeSetHandler & | operator= (ClosedRangeSetHandler const &) |
ClosedRangeSetHandler & | operator= (ClosedRangeSetHandler &&) |
EventInfo const & | eventInfo () const |
HandlerType | type () const |
RangeSet | seenRanges () const |
void | update (EventID const &id, bool const lastInSubRun) |
void | flushRanges () |
void | maybeSplitRange () |
void | rebase () |
RangeSetHandler * | clone () const |
Private Member Functions | |
std::size_t | begin_idx () const |
std::size_t | end_idx () const |
HandlerType | do_type () const override |
RangeSet | do_getSeenRanges () const override |
void | do_update (EventID const &, bool lastInSubRun) override |
void | do_flushRanges () override |
void | do_maybeSplitRange () override |
void | do_rebase () override |
RangeSetHandler * | do_clone () const override |
Private Attributes | |
RangeSet | ranges_ {RangeSet::invalid()} |
std::size_t | idx_ {0} |
EventInfo | eventInfo_ {} |
Definition at line 44 of file ClosedRangeSetHandler.h.
|
stronginherited |
Enumerator | |
---|---|
Open | |
Closed |
Definition at line 14 of file RangeSetHandler.h.
|
virtualdefault |
Referenced by art::ClosedRangeSetHandler::EventInfo::set().
|
explicit |
Definition at line 58 of file ClosedRangeSetHandler.cc.
References eventInfo_, idx_, and operator=().
|
default |
|
default |
|
private |
Definition at line 90 of file ClosedRangeSetHandler.cc.
References art::RangeSet::begin_idx(), and ranges_.
Referenced by do_getSeenRanges().
|
inherited |
Definition at line 45 of file RangeSetHandler.cc.
References art::RangeSetHandler::do_clone().
Referenced by art::EndPathExecutor::seedRunRangeSet(), art::EndPathExecutor::seedSubRunRangeSet(), art::EventProcessor::setRunAuxiliaryRangeSetID(), and art::EventProcessor::setSubRunAuxiliaryRangeSetID().
|
overrideprivatevirtual |
Implements art::RangeSetHandler.
Definition at line 173 of file ClosedRangeSetHandler.cc.
|
overrideprivatevirtual |
Implements art::RangeSetHandler.
Definition at line 130 of file ClosedRangeSetHandler.cc.
References end_idx(), and idx_.
|
overrideprivatevirtual |
Implements art::RangeSetHandler.
Definition at line 108 of file ClosedRangeSetHandler.cc.
References begin_idx(), idx_, ranges_, art::RangeSet::run(), and tmp.
|
overrideprivatevirtual |
Implements art::RangeSetHandler.
Definition at line 136 of file ClosedRangeSetHandler.cc.
References end_idx(), art::EventID::event(), eventInfo_, art::ClosedRangeSetHandler::EventInfo::id(), idx_, art::EventID::isFlush(), art::EventID::isValid(), art::ClosedRangeSetHandler::EventInfo::lastInSubRun(), art::EventID::next(), ranges_, art::RangeSet::split_range(), and art::EventID::subRun().
|
overrideprivatevirtual |
Implements art::RangeSetHandler.
Definition at line 164 of file ClosedRangeSetHandler.cc.
References end_idx(), art::RangeSet::extract_ranges(), idx_, ranges_, art::RangeSet::run(), and tmp.
|
overrideprivatevirtual |
Implements art::RangeSetHandler.
Definition at line 102 of file ClosedRangeSetHandler.cc.
References art::RangeSetHandler::Closed.
|
overrideprivatevirtual |
Implements art::RangeSetHandler.
Definition at line 116 of file ClosedRangeSetHandler.cc.
References art::RangeSet::at(), art::EventRange::contains(), end_idx(), eventInfo_, idx_, art::RangeSet::next_subrun_or_end(), ranges_, and art::ClosedRangeSetHandler::EventInfo::set().
|
private |
Definition at line 96 of file ClosedRangeSetHandler.cc.
References art::RangeSet::end_idx(), and ranges_.
Referenced by do_flushRanges(), do_maybeSplitRange(), do_rebase(), and do_update().
ClosedRangeSetHandler::EventInfo const & art::ClosedRangeSetHandler::eventInfo | ( | ) | const |
Definition at line 84 of file ClosedRangeSetHandler.cc.
References eventInfo_.
Referenced by art::EventProcessor::setSubRunAuxiliaryRangeSetID().
|
inherited |
Definition at line 27 of file RangeSetHandler.cc.
References art::RangeSetHandler::do_flushRanges().
Referenced by art::EventProcessor::setRunAuxiliaryRangeSetID().
|
inherited |
Definition at line 33 of file RangeSetHandler.cc.
References art::RangeSetHandler::do_maybeSplitRange().
Referenced by art::EventProcessor::setSubRunAuxiliaryRangeSetID().
|
default |
Referenced by ClosedRangeSetHandler().
|
default |
|
inherited |
Definition at line 39 of file RangeSetHandler.cc.
References art::RangeSetHandler::do_rebase().
|
inherited |
Definition at line 15 of file RangeSetHandler.cc.
References art::RangeSetHandler::do_getSeenRanges().
Referenced by art::EventProcessor::setRunAuxiliaryRangeSetID(), and art::EventProcessor::setSubRunAuxiliaryRangeSetID().
|
inherited |
Definition at line 9 of file RangeSetHandler.cc.
References art::RangeSetHandler::do_type().
|
inherited |
Definition at line 21 of file RangeSetHandler.cc.
References art::RangeSetHandler::do_update().
|
private |
Definition at line 94 of file ClosedRangeSetHandler.h.
Referenced by ClosedRangeSetHandler(), do_maybeSplitRange(), do_update(), and eventInfo().
|
private |
Definition at line 93 of file ClosedRangeSetHandler.h.
Referenced by ClosedRangeSetHandler(), do_flushRanges(), do_getSeenRanges(), do_maybeSplitRange(), do_rebase(), and do_update().
|
private |
Definition at line 92 of file ClosedRangeSetHandler.h.
Referenced by begin_idx(), do_getSeenRanges(), do_maybeSplitRange(), do_rebase(), do_update(), and end_idx().