|
|
| | alcor_data_streamer (const std::string &fname) |
| | Open fname and bind to the "alcor" TTree.
|
| |
| | alcor_data_streamer (alcor_data_streamer &&other) noexcept |
| | Transfer ownership of file/tree resources from other.
|
| |
| alcor_data_streamer & | operator= (alcor_data_streamer &&other) noexcept |
| | Move-assign; source is left invalid after the operation.
|
| |
|
| alcor_data_streamer (const alcor_data_streamer &)=delete |
| |
|
alcor_data_streamer & | operator= (const alcor_data_streamer &)=delete |
| |
|
| ~alcor_data_streamer () noexcept |
| | Reset branch addresses, close and delete the underlying TFile.
|
| |
|
|
bool | is_valid () const noexcept |
| | true if the file and TTree were opened successfully.
|
| |
|
bool | eof () const noexcept |
| | true once the cursor has passed the last entry.
|
| |
|
|
std::string | get_filename () const noexcept |
| | Path of the underlying ROOT file.
|
| |
|
const alcor_data & | current () const noexcept |
| | Read-only view of the entry last loaded by read_next().
|
| |
|
alcor_data & | current () noexcept |
| | Mutable view of the entry last loaded by read_next().
|
| |
|
Long64_t | entry () const noexcept |
| | Zero-based index of the entry that will be read next.
|
| |
|
Long64_t | entries () const noexcept |
| | Total number of entries in the TTree.
|
| |
|
|
bool | read_next () noexcept |
| | Load the next entry into current(); returns false at EOF or on error.
|
| |
|
void | rewind () noexcept |
| | Reset the cursor to 0 without re-opening the file.
|
| |
◆ alcor_data_streamer() [1/2]
| alcor_data_streamer::alcor_data_streamer |
( |
const std::string & |
fname | ) |
|
|
explicit |
Open fname and bind to the "alcor" TTree.
- Parameters
-
| fname | Path to the ROOT file to read. |
◆ alcor_data_streamer() [2/2]
Transfer ownership of file/tree resources from other.
- Parameters
-
| other | Source streamer; left in an invalid state after the move. |
◆ operator=()
Move-assign; source is left invalid after the operation.
- Parameters
-
| other | Source streamer to move from. |
- Returns
- Reference to
*this.
The documentation for this class was generated from the following files:
- /home/runner/work/epic-drich-beam-test-analysis/epic-drich-beam-test-analysis/include/alcor_data_streamer.h
- /home/runner/work/epic-drich-beam-test-analysis/epic-drich-beam-test-analysis/src/alcor_data_streamer.cxx