LArSoft
v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
|
#include "InfoDumperInputFile.h"
Public Types | |
using | EntryNumber = input::EntryNumber |
using | EntryNumbers = input::EntryNumbers |
Public Member Functions | |
InfoDumperInputFile (std::string const &filename) | |
void | print_process_history (std::ostream &) const |
void | print_range_sets (std::ostream &, bool compactRanges) const |
void | print_event_list (std::ostream &) const |
void | print_file_index (std::ostream &) const |
void | print_branchIDLists (std::ostream &os) const |
TFile * | tfile () const |
Private Member Functions | |
RunAuxiliary | getAuxiliary (TTree *tree, EntryNumber const entry) const |
RangeSet | getRangeSet (TTree *tree, EntryNumbers const &entries, sqlite3 *db, std::string const &filename, bool compactRanges) const |
Private Attributes | |
std::unique_ptr< TFile > | file_ |
BranchIDLists | branchIDLists_ {} |
ProcessHistoryMap | pHistMap_ |
FileIndex | fileIndex_ |
FileFormatVersion | fileFormatVersion_ |
Definition at line 23 of file InfoDumperInputFile.h.
Definition at line 25 of file InfoDumperInputFile.h.
Definition at line 26 of file InfoDumperInputFile.h.
art::detail::InfoDumperInputFile::InfoDumperInputFile | ( | std::string const & | filename | ) |
Definition at line 61 of file InfoDumperInputFile.cc.
References branchIDLists_, file_, fileFormatVersion_, fileIndex_, art::rootNames::metaDataTreeName(), pHistMap_, art::detail::readFileIndex(), and art::detail::readMetadata().
|
private |
Definition at line 210 of file InfoDumperInputFile.cc.
References art::BranchTypeToAuxiliaryBranchName(), and art::InRun.
Referenced by getRangeSet(), and tfile().
|
private |
Definition at line 224 of file InfoDumperInputFile.cc.
References e, getAuxiliary(), art::InRun, art::detail::resolveRangeSet(), and art::detail::resolveRangeSetInfo().
Referenced by print_range_sets(), and tfile().
void art::detail::InfoDumperInputFile::print_branchIDLists | ( | std::ostream & | os | ) | const |
Definition at line 130 of file InfoDumperInputFile.cc.
References branchIDLists_, fileFormatVersion_, art::errors::FileReadError, art::detail::orderedProcessNamesCollection(), pHistMap_, and art::FileFormatVersion::value_.
Referenced by print_branchIDLists().
void art::detail::InfoDumperInputFile::print_event_list | ( | std::ostream & | os | ) | const |
Definition at line 83 of file InfoDumperInputFile.cc.
References fileIndex_, and art::FileIndex::print_event_list().
Referenced by print_event_list().
void art::detail::InfoDumperInputFile::print_file_index | ( | std::ostream & | os | ) | const |
Definition at line 89 of file InfoDumperInputFile.cc.
References fileIndex_.
Referenced by print_file_index().
void art::detail::InfoDumperInputFile::print_process_history | ( | std::ostream & | os | ) | const |
Definition at line 95 of file InfoDumperInputFile.cc.
References art::detail::orderedProcessNamesCollection(), pHistMap_, and art::right().
Referenced by print_process_history().
void art::detail::InfoDumperInputFile::print_range_sets | ( | std::ostream & | os, |
bool | compactRanges | ||
) | const |
Definition at line 163 of file InfoDumperInputFile.cc.
References art::BranchTypeToProductTreeName(), art::FileIndex::cbegin(), art::FileIndex::cend(), file_, fileFormatVersion_, fileIndex_, getRangeSet(), art::InRun, art::FileIndex::kRun, art::detail::rangeSetFromFileIndex(), and art::FileFormatVersion::value_.
Referenced by print_range_sets().
|
inline |
Definition at line 35 of file InfoDumperInputFile.h.
References file_, getAuxiliary(), and getRangeSet().
Referenced by db_to_file().
|
private |
Definition at line 50 of file InfoDumperInputFile.h.
Referenced by InfoDumperInputFile(), and print_branchIDLists().
|
private |
Definition at line 49 of file InfoDumperInputFile.h.
Referenced by InfoDumperInputFile(), print_range_sets(), and tfile().
|
private |
Definition at line 53 of file InfoDumperInputFile.h.
Referenced by InfoDumperInputFile(), print_branchIDLists(), and print_range_sets().
|
private |
Definition at line 52 of file InfoDumperInputFile.h.
Referenced by InfoDumperInputFile(), print_event_list(), print_file_index(), and print_range_sets().
|
private |
Definition at line 51 of file InfoDumperInputFile.h.
Referenced by InfoDumperInputFile(), print_branchIDLists(), and print_process_history().