1 #ifndef art_Framework_Core_InputSource_h 2 #define art_Framework_Core_InputSource_h 13 #include "cetlib/exempt_ptr.h" 81 virtual std::unique_ptr<FileBlock> readFile() = 0;
82 virtual void closeFile() = 0;
83 virtual std::unique_ptr<RunPrincipal> readRun() = 0;
84 virtual std::unique_ptr<SubRunPrincipal> readSubRun(
85 cet::exempt_ptr<RunPrincipal const> rp) = 0;
86 virtual std::unique_ptr<EventPrincipal> readEvent(
87 cet::exempt_ptr<SubRunPrincipal const> srp) = 0;
88 virtual std::unique_ptr<RangeSetHandler> runRangeSetHandler() = 0;
89 virtual std::unique_ptr<RangeSetHandler> subRunRangeSetHandler() = 0;
92 virtual void doBeginJob();
93 virtual void doEndJob();
100 virtual void skipEvents(
int n);