![]() |
Project
|
#include <RawDataManager.h>
Public Member Functions | |
RawDataManager (std::filesystem::path dir=".") | |
The RawDataManager constructor: connects all data files and sets up trees, readers etc. | |
bool | nextTimeFrame () |
bool | nextEvent () |
o2::dataformats::TFIDInfo | getTimeFrameInfo () |
access time frame info | |
std::vector< o2::dataformats::TrackTPCITS > * | getTimeFrameTracks () |
RawDataSpan | getEvent () |
float | getTriggerTime () |
size_t | getTimeFrameNumber () |
size_t | getEventNumber () |
o2::steer::DigitizationContext * | getCollisionContext () |
std::string | describeFiles () |
std::string | describeTimeFrame () |
std::string | describeEvent () |
RawDataManager: read raw, MC and reconstruced data files and loop over them
The input for the RawDataManager are directories with raw and, optionally, reconstructed and Monte-Carlo files. It scans for available files, reads them and provides access functions to loop over time frames and events. Supported data files:
The following file types had some support in previous private branches, but need further cleanup before integration into O2:
Definition at line 112 of file RawDataManager.h.
RawDataManager::RawDataManager | ( | std::filesystem::path | dir = "." | ) |
The RawDataManager constructor: connects all data files and sets up trees, readers etc.
Definition at line 293 of file RawDataManager.cxx.
std::string RawDataManager::describeEvent | ( | ) |
Definition at line 506 of file RawDataManager.cxx.
std::string RawDataManager::describeFiles | ( | ) |
Definition at line 473 of file RawDataManager.cxx.
std::string RawDataManager::describeTimeFrame | ( | ) |
Definition at line 498 of file RawDataManager.cxx.
|
inline |
Definition at line 138 of file RawDataManager.h.
RawDataSpan RawDataManager::getEvent | ( | ) |
Definition at line 408 of file RawDataManager.cxx.
|
inline |
Definition at line 136 of file RawDataManager.h.
o2::dataformats::TFIDInfo RawDataManager::getTimeFrameInfo | ( | ) |
access time frame info
Definition at line 452 of file RawDataManager.cxx.
|
inline |
Definition at line 135 of file RawDataManager.h.
|
inline |
Definition at line 129 of file RawDataManager.h.
float RawDataManager::getTriggerTime | ( | ) |
Definition at line 461 of file RawDataManager.cxx.
bool RawDataManager::nextEvent | ( | ) |
Definition at line 369 of file RawDataManager.cxx.
bool RawDataManager::nextTimeFrame | ( | ) |
Definition at line 353 of file RawDataManager.cxx.