96 <<
"Illegal call to EventNavigator::nextFile() when atEnd() is true";
100 std::cout <<
"Closing file, read " <<
file_->GetBytesRead()
101 <<
" bytes in " <<
file_->GetReadCalls() <<
" transactions\n";
171 std::unique_ptr<TTree> metaDataTree{
179 TBranch* processHistoryBranch = metaDataTree->GetBranch(
180 art::rootNames::metaBranchRootName<art::ProcessHistoryMap>());
182 if (!processHistoryBranch) {
184 art::rootNames::metaBranchRootName<art::ProcessHistoryMap>());
186 processHistoryBranch->SetAddress(&pHistMapPtr);
187 processHistoryBranch->GetEntry(0);
213 <<
"Unable to get the number of entries in events TTree.\n" 214 "This might be a corrupted file.\n";
art::ProcessHistoryMap historyMap_
std::unique_ptr< TFile > file_
std::vector< std::string > fileNames_
std::string const & eventHistoryTreeName()
art::ProcessHistory const & processHistory() const
std::string const & BranchTypeToAuxiliaryBranchName(BranchType const bt)
long long entriesInCurrentFile_
void goToEntry(long long entry)
art::ProcessHistoryID const & processHistoryID() const
void throwTreeNotFound(std::string const &treeName)
art::History * pEventHistory_
std::string const & metaDataTreeName()
long long previousEventHistoryEntry_
TBranch * eventAuxiliaryBranch_
TTree * eventHistoryTree_
art::EventAuxiliary eventAuxiliary_
void throwBranchNotFound(std::string const &branchName)
void initializeTBranchPointers()
EventNavigator(std::vector< std::string > const &iFileNames)
art::EventAuxiliary * pEventAuxiliary_
cet::coded_exception< errors::ErrorCodes, ExceptionDetail::translate > Exception
std::string const & eventHistoryBranchName()
ProcessHistoryID const & processHistoryID() const noexcept
long long previousEventAuxiliaryEntry_
art::History eventHistory_
std::string const & eventTreeName()
long long firstFileWithEvent_
TBranch * eventHistoryBranch_
void initializeTTreePointers()
art::History const & history() const
QTextStream & endl(QTextStream &s)
art::EventAuxiliary const & eventAuxiliary() const