#include <EventNavigator.h>
Public Member Functions | |
EventNavigator (std::vector< std::string > const &iFileNames) | |
bool | isValid () const |
bool | atEnd () const |
void | toBegin () |
void | next () |
void | previous () |
void | goToEntry (long long entry) |
void | nextFile () |
art::EventAuxiliary const & | eventAuxiliary () const |
art::History const & | history () const |
art::ProcessHistoryID const & | processHistoryID () const |
art::ProcessHistory const & | processHistory () const |
TFile * | getTFile () const |
TTree * | getTTree () const |
TBranch * | eventAuxiliaryBranch () const |
long long | fileEntry () const |
long long | entriesInCurrentFile () const |
long long | eventEntry () const |
Private Member Functions | |
void | initializeTTreePointers () |
void | initializeTBranchPointers () |
Private Attributes | |
std::vector< std::string > | fileNames_ |
long long | numberOfFiles_ |
long long | fileEntry_ {-1} |
long long | firstFileWithEvent_ {} |
long long | entriesInCurrentFile_ {} |
long long | eventEntry_ {} |
std::unique_ptr< TFile > | file_ {nullptr} |
TTree * | eventsTree_ {nullptr} |
TBranch * | eventAuxiliaryBranch_ {nullptr} |
art::EventAuxiliary | eventAuxiliary_ {} |
art::EventAuxiliary * | pEventAuxiliary_ {&eventAuxiliary_} |
long long | previousEventAuxiliaryEntry_ {-1} |
TTree * | eventHistoryTree_ {nullptr} |
TBranch * | eventHistoryBranch_ {nullptr} |
art::History | eventHistory_ {} |
art::History * | pEventHistory_ {&eventHistory_} |
long long | previousEventHistoryEntry_ {-1} |
art::ProcessHistoryMap | historyMap_ {} |
Definition at line 26 of file EventNavigator.h.
|
explicit |
Definition at line 15 of file EventNavigator.cc.
|
inline |
Definition at line 43 of file EventNavigator.h.
|
inline |
Definition at line 73 of file EventNavigator.h.
art::EventAuxiliary const & gallery::EventNavigator::eventAuxiliary | ( | ) | const |
Definition at line 136 of file EventNavigator.cc.
|
inline |
Definition at line 62 of file EventNavigator.h.
|
inline |
Definition at line 78 of file EventNavigator.h.
|
inline |
Definition at line 68 of file EventNavigator.h.
TFile * gallery::EventNavigator::getTFile | ( | ) | const |
Definition at line 193 of file EventNavigator.cc.
TTree * gallery::EventNavigator::getTTree | ( | ) | const |
Definition at line 199 of file EventNavigator.cc.
void gallery::EventNavigator::goToEntry | ( | long long | entry | ) |
Definition at line 81 of file EventNavigator.cc.
art::History const & gallery::EventNavigator::history | ( | ) | const |
Definition at line 146 of file EventNavigator.cc.
|
private |
Definition at line 224 of file EventNavigator.cc.
|
private |
Definition at line 205 of file EventNavigator.cc.
|
inline |
Definition at line 36 of file EventNavigator.h.
void gallery::EventNavigator::next | ( | ) |
Definition at line 47 of file EventNavigator.cc.
void gallery::EventNavigator::nextFile | ( | ) |
Definition at line 90 of file EventNavigator.cc.
void gallery::EventNavigator::previous | ( | ) |
Definition at line 71 of file EventNavigator.cc.
art::ProcessHistory const & gallery::EventNavigator::processHistory | ( | ) | const |
Definition at line 166 of file EventNavigator.cc.
art::ProcessHistoryID const & gallery::EventNavigator::processHistoryID | ( | ) | const |
Definition at line 156 of file EventNavigator.cc.
void gallery::EventNavigator::toBegin | ( | ) |
Definition at line 33 of file EventNavigator.cc.
|
private |
Definition at line 92 of file EventNavigator.h.
|
mutableprivate |
Definition at line 99 of file EventNavigator.h.
|
private |
Definition at line 98 of file EventNavigator.h.
|
private |
Definition at line 93 of file EventNavigator.h.
|
mutableprivate |
Definition at line 105 of file EventNavigator.h.
|
private |
Definition at line 104 of file EventNavigator.h.
|
private |
Definition at line 103 of file EventNavigator.h.
|
private |
Definition at line 97 of file EventNavigator.h.
|
private |
Definition at line 95 of file EventNavigator.h.
|
private |
Definition at line 89 of file EventNavigator.h.
|
private |
Definition at line 87 of file EventNavigator.h.
|
private |
Definition at line 90 of file EventNavigator.h.
|
mutableprivate |
Definition at line 109 of file EventNavigator.h.
|
private |
Definition at line 88 of file EventNavigator.h.
|
private |
Definition at line 100 of file EventNavigator.h.
|
private |
Definition at line 106 of file EventNavigator.h.
|
mutableprivate |
Definition at line 101 of file EventNavigator.h.
|
mutableprivate |
Definition at line 107 of file EventNavigator.h.