1 #ifndef art_Framework_IO_Root_RootInput_h 2 #define art_Framework_IO_Root_RootInput_h 21 #include <type_traits> 39 return {
"module_label"};
82 return lastReadEventID_;
84 void setLastReadEventID(
EventID const& eid);
88 return wantedEventID_;
90 void setWantedEventID(
EventID const& eid);
91 std::shared_ptr<RootInputFile>
94 return rootFileForLastReadEvent_;
96 void setRootFileForLastReadEvent(std::shared_ptr<RootInputFile>
const&);
115 std::unique_ptr<EventPrincipal>
readEvent(
116 cet::exempt_ptr<SubRunPrincipal const>)
override;
117 std::unique_ptr<EventPrincipal>
readEvent_()
override;
119 cet::exempt_ptr<SubRunPrincipal const>);
121 cet::exempt_ptr<RunPrincipal const>)
override;
122 std::unique_ptr<SubRunPrincipal>
readSubRun_()
override;
123 std::unique_ptr<RunPrincipal>
readRun()
override;
124 std::unique_ptr<RunPrincipal>
readRun_()
override;
125 std::unique_ptr<FileBlock>
readFile()
override;
126 std::unique_ptr<FileBlock>
readFile_()
override;
134 template <
typename T>
138 template <
typename T>
143 template <
typename T>
149 <<
"Attempted to initiate a random access seek " 173 template <
typename T>
181 <<
"Duplicate Events found: " 182 <<
"both events were " << foundID <<
".\n" 183 <<
"The duplicate will be skipped.\n";
189 template <
typename T>
RunID const & runID() const
SubRunID const & subRunID() const
cet::coded_exception< errors::ErrorCodes, ExceptionDetail::translate > Exception
std::string value(boost::any const &)
MaybeLogger_< ELseverityLevel::ELsev_warning, false > LogWarning