LArSoft
v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
|
Public Types | |
enum | State { SEQUENTIAL = 0, SEEKING_FILE, SEEKING_RUN, SEEKING_SUBRUN, SEEKING_EVENT } |
Public Member Functions | |
AccessState () | |
State | state () const |
void | setState (State state) |
void | resetState () |
EventID const & | lastReadEventID () const |
void | setLastReadEventID (EventID const &eid) |
EventID const & | wantedEventID () const |
void | setWantedEventID (EventID const &eid) |
std::shared_ptr< RootInputFile > | rootFileForLastReadEvent () const |
void | setRootFileForLastReadEvent (std::shared_ptr< RootInputFile > const &) |
Private Attributes | |
State | state_ |
EventID | lastReadEventID_ |
std::shared_ptr< RootInputFile > | rootFileForLastReadEvent_ |
EventID | wantedEventID_ |
Definition at line 56 of file RootInput.h.
Enumerator | |
---|---|
SEQUENTIAL | |
SEEKING_FILE | |
SEEKING_RUN | |
SEEKING_SUBRUN | |
SEEKING_EVENT |
Definition at line 58 of file RootInput.h.
RootInput::AccessState::AccessState | ( | ) |
Definition at line 23 of file RootInput_source.cc.
|
inline |
Definition at line 80 of file RootInput.h.
Referenced by art::RootInput::postSeekChecks(), and art::RootInput::seekToEvent().
|
inline |
Definition at line 75 of file RootInput.h.
References art::DecrepitRelicInputSourceImplementation::state_.
Referenced by art::RootInput::readEvent_(), and art::RootInput::rewind_().
|
inline |
Definition at line 92 of file RootInput.h.
Referenced by art::RootInput::seekToEvent().
void RootInput::AccessState::setLastReadEventID | ( | EventID const & | eid | ) |
Definition at line 37 of file RootInput_source.cc.
References lastReadEventID_.
Referenced by art::RootInput::nextItemType(), and art::RootInput::readEvent_().
void RootInput::AccessState::setRootFileForLastReadEvent | ( | std::shared_ptr< RootInputFile > const & | ptr | ) |
Definition at line 49 of file RootInput_source.cc.
References rootFileForLastReadEvent_.
Referenced by art::RootInput::nextItemType(), and art::RootInput::readEvent_().
void RootInput::AccessState::setState | ( | State | state | ) |
Definition at line 31 of file RootInput_source.cc.
References state(), and state_.
Referenced by art::RootInput::readFile(), art::RootInput::readRun(), art::RootInput::readSubRun(), and art::RootInput::seekToEvent().
void RootInput::AccessState::setWantedEventID | ( | EventID const & | eid | ) |
Definition at line 43 of file RootInput_source.cc.
References wantedEventID_.
Referenced by art::RootInput::seekToEvent().
|
inline |
Definition at line 69 of file RootInput.h.
References art::DecrepitRelicInputSourceImplementation::state(), and art::DecrepitRelicInputSourceImplementation::state_.
Referenced by art::RootInput::nextItemType(), art::RootInput::readEvent_(), art::RootInput::readFile(), art::RootInput::readRun(), art::RootInput::readSubRun(), art::RootInput::seekToEvent(), and setState().
|
inline |
|
private |
Definition at line 100 of file RootInput.h.
Referenced by setLastReadEventID().
|
private |
Definition at line 101 of file RootInput.h.
Referenced by setRootFileForLastReadEvent().
|
private |
Definition at line 99 of file RootInput.h.
Referenced by setState().
|
private |
Definition at line 102 of file RootInput.h.
Referenced by setWantedEventID().