1 #ifndef art_Framework_Core_InputSource_h 2 #define art_Framework_Core_InputSource_h 14 #include "cetlib/exempt_ptr.h" 61 return moduleDescription_;
66 return moduleDescription_.processConfiguration();
74 virtual std::unique_ptr<EventPrincipal> readEvent(
EventID const&
id);
79 virtual void skipEvents(
int n);
83 virtual void rewind();
85 virtual void doBeginJob();
86 virtual void doEndJob();
89 virtual std::unique_ptr<FileBlock> readFile() = 0;
90 virtual void closeFile() = 0;
91 virtual std::unique_ptr<RunPrincipal> readRun() = 0;
92 virtual std::unique_ptr<SubRunPrincipal> readSubRun(
93 cet::exempt_ptr<RunPrincipal const> rp) = 0;
94 virtual std::unique_ptr<EventPrincipal> readEvent(
95 cet::exempt_ptr<SubRunPrincipal const> srp) = 0;
96 virtual std::unique_ptr<RangeSetHandler> runRangeSetHandler() = 0;
97 virtual std::unique_ptr<RangeSetHandler> subRunRangeSetHandler() = 0;