#include <Event.h>
Public Types | |
| template<typename T > | |
| using | HandleT = Handle< T > |
Public Member Functions | |
| Event (std::vector< std::string > const &fileNames, bool useTTreeCache=true, unsigned int eventsToLearnUsedBranches=7) | |
| template<typename PROD > | |
| gallery::ValidHandle< PROD > | getValidHandle (art::InputTag const &) const |
| template<typename PROD > | |
| bool | getByLabel (art::InputTag const &, Handle< PROD > &result) const |
| template<typename PROD > | |
| void | getManyByType (std::vector< Handle< PROD >> &result) const |
| template<typename PROD > | |
| std::vector< art::InputTag > | getInputTags () const |
| template<typename PROD > | |
| std::vector< art::ProductToken< PROD > > | getProductTokens () const |
| art::EventAuxiliary const & | eventAuxiliary () const |
| art::History const & | history () const |
| art::ProcessHistoryID const & | processHistoryID () const |
| art::ProcessHistory const & | processHistory () const |
| art::BranchDescription const & | getProductDescription (art::ProductID) const |
| long long | numberOfEventsInFile () const |
| long long | eventEntry () const |
| long long | fileEntry () const |
| void | goToEntry (long long entry) |
| bool | isValid () const |
| bool | atEnd () const |
| void | toBegin () |
| void | first () |
| Event & | operator++ () |
| void | next () |
| Event & | operator-- () |
| void | previous () |
| TFile * | getTFile () const |
| TTree * | getTTree () const |
Private Member Functions | |
| ProductWithID | getByLabel (std::type_info const &typeInfoOfWrapper, art::InputTag const &inputTag) const |
| std::vector< ProductWithID > | getManyByType (std::type_info const &typeInfoOfWrapper) const |
| void | throwProductNotFoundException (std::type_info const &typeInfo, art::InputTag const &tag) const |
| std::shared_ptr< art::Exception const > | makeProductNotFoundException (std::type_info const &typeInfo, art::InputTag const &tag) const |
| void | checkForEnd () const |
| void | updateAfterEventChange (long long oldFileEntry) |
Private Attributes | |
| bool | randomAccessOK_ |
| std::unique_ptr< EventNavigator > | eventNavigator_ |
| std::unique_ptr< DataGetterHelper > | dataGetterHelper_ |
| bool | useTTreeCache_ |
| unsigned int | eventsToLearnUsedBranches_ |
| unsigned int | eventsProcessed_ {} |
| using gallery::Event::HandleT = Handle<T> |
|
explicit |
Definition at line 12 of file Event.cc.
| bool gallery::Event::atEnd | ( | ) | const |
Definition at line 101 of file Event.cc.
|
private |
Definition at line 220 of file Event.cc.
| art::EventAuxiliary const & gallery::Event::eventAuxiliary | ( | ) | const |
Definition at line 35 of file Event.cc.
| long long gallery::Event::eventEntry | ( | ) | const |
Definition at line 71 of file Event.cc.
| long long gallery::Event::fileEntry | ( | ) | const |
Definition at line 77 of file Event.cc.
|
inline |
|
inline |
Definition at line 174 of file Event.h.
|
private |
Definition at line 185 of file Event.cc.
|
inline |
Definition at line 218 of file Event.h.
|
inline |
Definition at line 200 of file Event.h.
|
private |
Definition at line 192 of file Event.cc.
| art::BranchDescription const & gallery::Event::getProductDescription | ( | art::ProductID | pid | ) | const |
Definition at line 59 of file Event.cc.
|
inline |
Definition at line 226 of file Event.h.
| TFile * gallery::Event::getTFile | ( | ) | const |
Definition at line 173 of file Event.cc.
| TTree * gallery::Event::getTTree | ( | ) | const |
Definition at line 179 of file Event.cc.
|
inline |
Definition at line 156 of file Event.h.
| void gallery::Event::goToEntry | ( | long long | entry | ) |
Definition at line 83 of file Event.cc.
| art::History const & gallery::Event::history | ( | ) | const |
Definition at line 41 of file Event.cc.
| bool gallery::Event::isValid | ( | ) | const |
Definition at line 95 of file Event.cc.
|
private |
| void gallery::Event::next | ( | ) |
| long long gallery::Event::numberOfEventsInFile | ( | ) | const |
Definition at line 65 of file Event.cc.
| Event & gallery::Event::operator++ | ( | ) |
Definition at line 119 of file Event.cc.
| Event & gallery::Event::operator-- | ( | ) |
Definition at line 128 of file Event.cc.
| void gallery::Event::previous | ( | ) |
| art::ProcessHistory const & gallery::Event::processHistory | ( | ) | const |
Definition at line 53 of file Event.cc.
| art::ProcessHistoryID const & gallery::Event::processHistoryID | ( | ) | const |
Definition at line 47 of file Event.cc.
|
private |
Definition at line 198 of file Event.cc.
| void gallery::Event::toBegin | ( | ) |
Definition at line 107 of file Event.cc.
|
private |
Definition at line 141 of file Event.cc.
|
private |
|
private |
|
private |
1.8.11