13 bool const useTTreeCache,
14 unsigned int const eventsToLearnUsedBranches)
15 : randomAccessOK_{fileNames.size() == 1}
27 bool constexpr initializeTheCache{
false};
110 long long const oldFileEntry =
fileEntry();
147 bool initializeTheCache =
191 std::vector<ProductWithID>
205 std::shared_ptr<art::Exception const>
210 *
e <<
"Failed to find product for \n type = '" 212 <<
"'\n productInstance = '" 215 << ((!tag.
process().empty()) ? tag.
process().c_str() :
"") <<
"'\n";
224 <<
"You have requested data past the last event\n";
long long eventEntry() const
void throwIllegalRandomAccess()
std::unique_ptr< DataGetterHelper > dataGetterHelper_
void throwIllegalDecrement()
art::EventAuxiliary const & eventAuxiliary() const
void goToEntry(long long entry)
std::shared_ptr< art::Exception const > makeProductNotFoundException(std::type_info const &typeInfo, art::InputTag const &tag) const
std::string className() const
std::unique_ptr< EventNavigator > eventNavigator_
long long fileEntry() const
unsigned int eventsProcessed_
long long numberOfEventsInFile() const
bool getByLabel(art::InputTag const &, Handle< PROD > &result) const
void throwProductNotFoundException(std::type_info const &typeInfo, art::InputTag const &tag) const
void updateAfterEventChange(long long oldFileEntry)
cet::coded_exception< errors::ErrorCodes, ExceptionDetail::translate > Exception
void getManyByType(std::vector< Handle< PROD >> &result) const
std::pair< art::EDProduct const *, art::ProductID > ProductWithID
art::ProcessHistory const & processHistory() const
unsigned int eventsToLearnUsedBranches_
art::ProcessHistoryID const & processHistoryID() const
art::BranchDescription const & getProductDescription(art::ProductID) const
Event(std::vector< std::string > const &fileNames, bool useTTreeCache=true, unsigned int eventsToLearnUsedBranches=7)
art::History const & history() const