1 #ifndef art_Framework_IO_Root_RootInput_h 2 #define art_Framework_IO_Root_RootInput_h 22 #include <type_traits> 42 return {
"module_label"};
72 EventID const& lastReadEventID()
const;
74 void setLastReadEventID(
EventID const&);
76 EventID const& wantedEventID()
const;
78 void setWantedEventID(
EventID const&);
80 std::shared_ptr<RootInputFile> rootFileForLastReadEvent()
const;
82 void setRootFileForLastReadEvent(std::shared_ptr<RootInputFile>
const&);
111 template <
typename T>
119 virtual std::unique_ptr<FileBlock>
readFile()
override;
126 virtual std::unique_ptr<RunPrincipal>
readRun()
override;
128 virtual std::unique_ptr<SubRunPrincipal>
readSubRun(
131 virtual std::unique_ptr<EventPrincipal>
readEvent(
144 virtual void endJob()
override;
167 virtual std::unique_ptr<RunPrincipal>
readRun_()
override;
169 virtual std::unique_ptr<SubRunPrincipal>
readSubRun_(
172 virtual std::unique_ptr<EventPrincipal>
readEvent_()
override;
176 virtual std::unique_ptr<FileBlock>
readFile_()
override;
180 virtual void rewind_()
override;
187 template <
typename T>
191 template <
typename T>
201 template <
typename T>
207 <<
"Attempted to initiate a random access seek " 231 template <
typename T>
239 <<
"Duplicate Events found: " 240 <<
"both events were " << foundID <<
".\n" 241 <<
"The duplicate will be skipped.\n";
247 template <
typename T>
RunID const & runID() const
SubRunID const & subRunID() const
cet::coded_exception< errors::ErrorCodes, ExceptionDetail::translate > Exception
MaybeLogger_< ELseverityLevel::ELsev_warning, false > LogWarning