LArSoft
v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
|
#include "InputSource.h"
Public Types | |
enum | ProcessingMode { Runs, RunsAndSubRuns, RunsSubRunsAndEvents } |
Public Member Functions | |
InputSource (ModuleDescription const &md) | |
virtual | ~InputSource () noexcept=default |
auto const & | moduleDescription () const |
auto const & | processConfiguration () const |
virtual std::unique_ptr< EventPrincipal > | readEvent (EventID const &id) |
virtual void | skipEvents (int n) |
virtual void | rewind () |
virtual void | doBeginJob () |
virtual void | doEndJob () |
virtual input::ItemType | nextItemType ()=0 |
virtual std::unique_ptr< FileBlock > | readFile ()=0 |
virtual void | closeFile ()=0 |
virtual std::unique_ptr< RunPrincipal > | readRun ()=0 |
virtual std::unique_ptr< SubRunPrincipal > | readSubRun (cet::exempt_ptr< RunPrincipal const > rp)=0 |
virtual std::unique_ptr< EventPrincipal > | readEvent (cet::exempt_ptr< SubRunPrincipal const > srp)=0 |
virtual std::unique_ptr< RangeSetHandler > | runRangeSetHandler ()=0 |
virtual std::unique_ptr< RangeSetHandler > | subRunRangeSetHandler ()=0 |
Private Attributes | |
ModuleDescription | moduleDescription_ |
Definition at line 48 of file InputSource.h.
Enumerator | |
---|---|
Runs | |
RunsAndSubRuns | |
RunsSubRunsAndEvents |
Definition at line 52 of file InputSource.h.
|
inlineexplicit |
Definition at line 54 of file InputSource.h.
|
virtualdefaultnoexcept |
|
pure virtual |
Implemented in art::Source< T >, and art::DecrepitRelicInputSourceImplementation.
|
virtual |
Reimplemented in art::DecrepitRelicInputSourceImplementation.
Definition at line 31 of file InputSource.cc.
|
virtual |
Reimplemented in art::DecrepitRelicInputSourceImplementation.
Definition at line 35 of file InputSource.cc.
|
inline |
Definition at line 59 of file InputSource.h.
Referenced by art::EmptyEvent::readRun_(), and art::EmptyEvent::readSubRun_().
|
pure virtual |
Implemented in art::Source< T >, art::RootInput, and art::DecrepitRelicInputSourceImplementation.
|
inline |
Definition at line 64 of file InputSource.h.
References n.
Referenced by art::EmptyEvent::readRun_(), art::EmptyEvent::readSubRun_(), art::EmptyEvent::reallyReadEvent(), and art::RootInput::RootInput().
|
virtual |
Reimplemented in art::DecrepitRelicInputSourceImplementation.
Definition at line 4 of file InputSource.cc.
References art::errors::Configuration.
|
pure virtual |
Implemented in art::Source< T >, art::RootInput, and art::DecrepitRelicInputSourceImplementation.
|
pure virtual |
Implemented in art::Source< T >, art::RootInput, and art::DecrepitRelicInputSourceImplementation.
|
pure virtual |
Implemented in art::Source< T >, art::RootInput, and art::DecrepitRelicInputSourceImplementation.
|
pure virtual |
Implemented in art::Source< T >, art::RootInput, and art::DecrepitRelicInputSourceImplementation.
|
virtual |
Reimplemented in art::DecrepitRelicInputSourceImplementation.
Definition at line 22 of file InputSource.cc.
References art::errors::Configuration.
|
pure virtual |
Implemented in art::Source< T >, art::RootInput, and art::EmptyEvent.
|
virtual |
Reimplemented in art::DecrepitRelicInputSourceImplementation.
Definition at line 13 of file InputSource.cc.
References art::errors::Configuration.
|
pure virtual |
Implemented in art::Source< T >, art::RootInput, and art::EmptyEvent.
|
private |
Definition at line 100 of file InputSource.h.