![]() |
Project
|
#include <CMVHelper.h>
Public Member Functions | |
| bool | open (const std::string &path) |
| Open path and set up branch addresses. Returns false on any error. | |
| const CMVPerTF * | getEntry (long long iEntry) |
| Load entry iEntry and return a pointer to the decoded CMVPerTF, or nullptr on error. | |
| void | close () |
| Release all resources. | |
Public Attributes | |
| TFile * | file {nullptr} |
| TTree * | tree {nullptr} |
| bool | isCompressed {false} |
| CMVPerTFCompressed * | tfCompressed {nullptr} |
| CMVPerTF * | tfRaw {nullptr} |
| CMVPerTF * | tfDecoded {nullptr} |
| scratch buffer used when decompressing | |
| long | firstTFInTree {-1} |
| first global TF index from tree UserInfo ("firstTF"); -1 if absent | |
| long | lastTFInTree {-1} |
| last global TF index from tree UserInfo ("lastTF"); -1 if absent | |
Definition at line 30 of file CMVHelper.h.
| void o2::tpc::CMVFileHandle::close | ( | ) |
Release all resources.
Definition at line 81 of file CMVHelper.cxx.
Load entry iEntry and return a pointer to the decoded CMVPerTF, or nullptr on error.
Definition at line 68 of file CMVHelper.cxx.
| bool o2::tpc::CMVFileHandle::open | ( | const std::string & | path | ) |
Open path and set up branch addresses. Returns false on any error.
Definition at line 26 of file CMVHelper.cxx.
| TFile* o2::tpc::CMVFileHandle::file {nullptr} |
Definition at line 31 of file CMVHelper.h.
| long o2::tpc::CMVFileHandle::firstTFInTree {-1} |
first global TF index from tree UserInfo ("firstTF"); -1 if absent
Definition at line 37 of file CMVHelper.h.
| bool o2::tpc::CMVFileHandle::isCompressed {false} |
Definition at line 33 of file CMVHelper.h.
| long o2::tpc::CMVFileHandle::lastTFInTree {-1} |
last global TF index from tree UserInfo ("lastTF"); -1 if absent
Definition at line 38 of file CMVHelper.h.
| CMVPerTFCompressed* o2::tpc::CMVFileHandle::tfCompressed {nullptr} |
Definition at line 34 of file CMVHelper.h.
| CMVPerTF* o2::tpc::CMVFileHandle::tfDecoded {nullptr} |
scratch buffer used when decompressing
Definition at line 36 of file CMVHelper.h.
| CMVPerTF* o2::tpc::CMVFileHandle::tfRaw {nullptr} |
Definition at line 35 of file CMVHelper.h.
| TTree* o2::tpc::CMVFileHandle::tree {nullptr} |
Definition at line 32 of file CMVHelper.h.