CbmRoot
|
Unpack algorithm for TRD. More...
#include <Unpack.h>
Public Types | |
using | Result_t = detail::UnpackBase::Result_t |
Public Member Functions | |
Unpack (const ReadoutConfig &readout) | |
Result_t | operator() (const fles::Timeslice &) const |
const ReadoutConfig & | Readout () const |
Protected Types | |
using | Monitor_t = UnpackMonitor<MSMonitor> |
using | Aux_t = UnpackAux<MSAux> |
using | Unpack_t = UnpackMSBase<Digi, MSMonitor, MSAux> |
Protected Member Functions | |
Result_t | DoUnpack (const fles::Subsystem subsystem, const fles::Timeslice &ts) const |
Protected Attributes | |
std::map< UnpackKey, std::unique_ptr< Unpack_t > > | fAlgos |
Private Member Functions | |
void | DoSort (gsl::span< Digi > digis) const |
std::vector< u16 > | GetEqIds () const |
std::vector< u8 > | GetSysVers (u16 eqId) const |
Private Attributes | |
ReadoutConfig | fReadout |
|
protectedinherited |
Definition at line 84 of file CommonUnpacker.h.
|
protectedinherited |
Definition at line 83 of file CommonUnpacker.h.
Definition at line 22 of file trd/Unpack.h.
|
protectedinherited |
Definition at line 86 of file CommonUnpacker.h.
Unpack::Unpack | ( | const ReadoutConfig & | readout | ) |
Definition at line 12 of file trd/Unpack.cxx.
References cbm::algo::trd::UnpackElinkPar::fAddress, cbm::algo::CommonUnpacker< Digi, MSMonitor, MSAux >::fAlgos, cbm::algo::trd::UnpackElinkPar::fChanAddress, cbm::algo::trd::UnpackCrobPar::fElinkParams, fReadout, cbm::algo::trd::UnpackElinkPar::fTimeOffset, cbm::algo::trd::ReadoutConfig::GetElinkTimeOffset(), cbm::algo::trd::ReadoutConfig::GetEquipmentIds(), cbm::algo::trd::ReadoutConfig::GetNumCrobs(), cbm::algo::trd::ReadoutConfig::GetNumElinks(), cbm::algo::trd::ReadoutConfig::GetSystemTimeOffset(), L_, and cbm::algo::trd::ReadoutConfig::Map().
|
inlineprivateinherited |
Definition at line 168 of file CommonUnpacker.h.
References cbm::algo::Sort().
Referenced by cbm::algo::CommonUnpacker< Digi, MSMonitor, MSAux >::DoUnpack().
|
inlineprotectedinherited |
Definition at line 90 of file CommonUnpacker.h.
References CBM_PARALLEL_FOR, cbm::Contains(), cbm::algo::CommonUnpacker< Digi, MSMonitor, MSAux >::DoSort(), cbm::algo::CommonUnpacker< Digi, MSMonitor, MSAux >::fAlgos, cbm::algo::CommonUnpacker< Digi, MSMonitor, MSAux >::GetEqIds(), L_, cbm::algo::detail::MSData::monitor, cbm::algo::detail::UnpackMonitorBase::numMs, size(), cbm::algo::ToString(), and x.
Referenced by cbm::algo::bmon::Unpack::operator()(), cbm::algo::much::Unpack::operator()(), cbm::algo::rich::Unpack::operator()(), cbm::algo::sts::Unpack::operator()(), cbm::algo::tof::Unpack::operator()(), cbm::algo::trd2d::Unpack::operator()(), and operator()().
|
inlineprivateinherited |
Definition at line 173 of file CommonUnpacker.h.
References cbm::algo::CommonUnpacker< Digi, MSMonitor, MSAux >::fAlgos.
Referenced by cbm::algo::CommonUnpacker< Digi, MSMonitor, MSAux >::DoUnpack().
|
inlineprivateinherited |
Definition at line 183 of file CommonUnpacker.h.
References cbm::algo::CommonUnpacker< Digi, MSMonitor, MSAux >::fAlgos.
Unpack::Result_t Unpack::operator() | ( | const fles::Timeslice & | ts | ) | const |
Definition at line 46 of file trd/Unpack.cxx.
References cbm::algo::CommonUnpacker< Digi, MSMonitor, MSAux >::DoUnpack().
|
inline |
Definition at line 28 of file trd/Unpack.h.
References fReadout.
|
protectedinherited |
Definition at line 88 of file CommonUnpacker.h.
Referenced by cbm::algo::CommonUnpacker< Digi, MSMonitor, MSAux >::DoUnpack(), cbm::algo::CommonUnpacker< Digi, MSMonitor, MSAux >::GetEqIds(), cbm::algo::CommonUnpacker< Digi, MSMonitor, MSAux >::GetSysVers(), cbm::algo::bmon::Unpack::Unpack(), cbm::algo::much::Unpack::Unpack(), cbm::algo::rich::Unpack::Unpack(), cbm::algo::sts::Unpack::Unpack(), cbm::algo::tof::Unpack::Unpack(), cbm::algo::trd2d::Unpack::Unpack(), and Unpack().
|
private |
Definition at line 31 of file trd/Unpack.h.