![]() |
Project
|
#include <RawDataManager.h>
Public Member Functions | |
void | sort () |
template<typename keyfunc > | |
std::vector< RawDataSpan > | iterateBy () |
std::vector< RawDataSpan > | iterateByMCM () |
std::vector< RawDataSpan > | iterateByPadRow () |
std::vector< TrackSegment > | makeMCTrackSegments () |
Public Attributes | |
boost::iterator_range< std::vector< o2::trd::Digit >::iterator > | digits |
boost::iterator_range< std::vector< o2::trd::Tracklet64 >::iterator > | tracklets |
boost::iterator_range< std::vector< HitPoint >::iterator > | hits |
RawDataSpan holds ranges pointing to parts of other containers This class helps with restricting the view of digits/trackets/... to part of a timeframe, e.g. data from one event, detector, padrow or MCM. It also provides methods to help with iterating over the data The main data members are public, and can be accessed without setters/getters.
Definition at line 51 of file RawDataManager.h.
template std::vector< RawDataSpan > RawDataSpan::iterateBy< MCM_ID > | ( | ) |
Return a vector with one data span for each MCM that has digits, tracklets or both IterateBy provides a more flexible interface, and should replace this method. Return a vector with data spans, split according to the keyfunc struct The keyfunc struct must have a method key
to calculate a key for tracklets and digits that uniquely identifies the span this digit or tracklet will be part of. The key must be monotonically increasing for the digits and tracklets
Definition at line 103 of file RawDataManager.cxx.
std::vector< RawDataSpan > RawDataSpan::iterateByMCM | ( | ) |
Definition at line 223 of file RawDataManager.cxx.
std::vector< RawDataSpan > RawDataSpan::iterateByPadRow | ( | ) |
Definition at line 188 of file RawDataManager.cxx.
std::vector< TrackSegment > RawDataSpan::makeMCTrackSegments | ( | ) |
Definition at line 246 of file RawDataManager.cxx.
void RawDataSpan::sort | ( | ) |
Sort digits, tracklets and space points by detector, pad row, column The digits, tracklets, hits and other future data members must be sorted for the IterateBy method.
Definition at line 95 of file RawDataManager.cxx.
boost::iterator_range<std::vector<o2::trd::Digit>::iterator> o2::trd::RawDataSpan::digits |
Definition at line 53 of file RawDataManager.h.
boost::iterator_range<std::vector<HitPoint>::iterator> o2::trd::RawDataSpan::hits |
Definition at line 55 of file RawDataManager.h.
boost::iterator_range<std::vector<o2::trd::Tracklet64>::iterator> o2::trd::RawDataSpan::tracklets |
Definition at line 54 of file RawDataManager.h.