CbmRoot
|
Readout setup / Hardware cabling for TOF Used to create the hardware mapping for the TOF unpacker. More...
#include <ReadoutConfig.h>
Classes | |
struct | CROB |
Public Member Functions | |
CBM_YAML_PROPERTIES (yaml::Property(&ReadoutSetup::timeOffset, "timeOffset", "Time offset for TOF"), yaml::Property(&ReadoutSetup::nFebsPerComponent, "nFebsPerComponent", "Number of FEBs per component"), yaml::Property(&ReadoutSetup::nAsicsPerFeb, "nAsicsPerFeb", "Number of ASICs per FEB"), yaml::Property(&ReadoutSetup::nChannelsPerAsic, "nChannelsPerAsic", "Number of channels per ASIC"), yaml::Property(&ReadoutSetup::nCrobPerComponent, "nCrobPerComponent", "Number of CROBs per component"), yaml::Property(&ReadoutSetup::crobs, "crobs", "Crobs", {}, YAML::Flow), yaml::Property(&ReadoutSetup::eqIds, "eqIds", "Array to hold the unique IDs (equipment ID) for all TOF DPBs", YAML::Flow, YAML::Hex), yaml::Property(&ReadoutSetup::elink2Asic, "elink2Asic", "Mapping to eLink to ASIC number within CROB. Mapping is the same for each CROB. (size: nElinksPerCrob)", YAML::Flow), yaml::Property(&ReadoutSetup::elink2AsicInner, "elink2AsicInner", "add explanation", YAML::Flow), yaml::Property(&ReadoutSetup::asic2PadI, "asic2PadI", "Mapping in Readout chain PCBs; Map from GET4 channel to PADI channel (size: nChansPerFeb)", YAML::Flow)) | |
size_t | NComponents () const |
size_t | NCrobs () const |
i32 | NFebsPerCrob () const |
i32 | NChansPerFeb () const |
i32 | NChansPerComponent () const |
i32 | NElinksPerCrob () const |
i32 | NElinksPerComponent () const |
i32 | NCrobsPerComponent () const |
bool | CheckBmonComp (uint32_t uCompId) const |
bool | CheckInnerComp (uint32_t uCompId) const |
Public Attributes | |
i32 | timeOffset |
i32 | nFebsPerComponent |
i32 | nAsicsPerFeb |
i32 | nChannelsPerAsic |
i32 | nCrobPerComponent |
std::vector< CROB > | crobs |
std::vector< u16 > | eqIds |
std::vector< i32 > | elink2Asic |
std::vector< i32 > | elink2AsicInner |
std::vector< i32 > | asic2PadI |
Readout setup / Hardware cabling for TOF Used to create the hardware mapping for the TOF unpacker.
Definition at line 23 of file tof/ReadoutConfig.h.
cbm::algo::tof::ReadoutSetup::CBM_YAML_PROPERTIES | ( | yaml::Property &::, "", " " | TOF, |
yaml::Property &::, "", " " | component, | ||
yaml::Property &::, "", " " | FEB, | ||
yaml::Property &::, "", " " | ASIC, | ||
yaml::Property &::, "", " " | component, | ||
yaml::Property &::, "", "", {}, ::Flow | , | ||
yaml::Property(&::, "", " ID for all TOF DPBs" | , | ||
YAML::Flow | , | ||
YAML::Hex | ) & |
|
inline |
Definition at line 71 of file tof/ReadoutConfig.h.
|
inline |
Definition at line 72 of file tof/ReadoutConfig.h.
Referenced by cbm::algo::tof::ReadoutConfig::Init().
|
inline |
Definition at line 66 of file tof/ReadoutConfig.h.
References nChannelsPerAsic, and NElinksPerComponent().
Referenced by cbm::algo::tof::ReadoutConfig::Init().
|
inline |
Definition at line 65 of file tof/ReadoutConfig.h.
References nAsicsPerFeb, and nChannelsPerAsic.
Referenced by cbm::algo::tof::ReadoutConfig::Get4ChanToPadiChan(), and cbm::algo::tof::ReadoutConfig::Init().
|
inline |
Definition at line 62 of file tof/ReadoutConfig.h.
References eqIds.
Referenced by cbm::algo::tof::ReadoutConfig::BuildChannelsUidMap(), and cbm::algo::tof::ReadoutConfig::Init().
|
inline |
Definition at line 63 of file tof/ReadoutConfig.h.
References crobs.
Referenced by cbm::algo::tof::ReadoutConfig::BuildChannelsUidMap().
|
inline |
Definition at line 69 of file tof/ReadoutConfig.h.
References nCrobPerComponent.
Referenced by cbm::algo::tof::ReadoutConfig::Init().
|
inline |
Definition at line 68 of file tof/ReadoutConfig.h.
References nCrobPerComponent, and NElinksPerCrob().
Referenced by cbm::algo::tof::ReadoutConfig::ElinkIdxToGet4Idx(), cbm::algo::tof::ReadoutConfig::ElinkIdxToGet4IdxInner(), cbm::algo::tof::ReadoutConfig::Init(), and NChansPerComponent().
|
inline |
Definition at line 67 of file tof/ReadoutConfig.h.
References nAsicsPerFeb, and NFebsPerCrob().
Referenced by cbm::algo::tof::ReadoutConfig::ElinkIdxToGet4Idx(), cbm::algo::tof::ReadoutConfig::ElinkIdxToGet4IdxInner(), cbm::algo::tof::ReadoutConfig::Init(), and NElinksPerComponent().
|
inline |
Definition at line 64 of file tof/ReadoutConfig.h.
References nCrobPerComponent, and nFebsPerComponent.
Referenced by NElinksPerCrob().
std::vector<i32> cbm::algo::tof::ReadoutSetup::asic2PadI |
Definition at line 49 of file tof/ReadoutConfig.h.
Referenced by cbm::algo::tof::ReadoutConfig::Get4ChanToPadiChan().
std::vector<CROB> cbm::algo::tof::ReadoutSetup::crobs |
Definition at line 45 of file tof/ReadoutConfig.h.
Referenced by cbm::algo::tof::ReadoutConfig::BuildChannelsUidMap(), cbm::algo::tof::ReadoutConfig::Init(), and NCrobs().
std::vector<i32> cbm::algo::tof::ReadoutSetup::elink2Asic |
Definition at line 47 of file tof/ReadoutConfig.h.
Referenced by cbm::algo::tof::ReadoutConfig::ElinkIdxToGet4Idx().
std::vector<i32> cbm::algo::tof::ReadoutSetup::elink2AsicInner |
Definition at line 48 of file tof/ReadoutConfig.h.
Referenced by cbm::algo::tof::ReadoutConfig::BuildChannelsUidMap(), and cbm::algo::tof::ReadoutConfig::ElinkIdxToGet4IdxInner().
std::vector<u16> cbm::algo::tof::ReadoutSetup::eqIds |
Definition at line 46 of file tof/ReadoutConfig.h.
Referenced by cbm::algo::tof::ReadoutConfig::BuildChannelsUidMap(), cbm::algo::tof::ReadoutConfig::Init(), and NComponents().
i32 cbm::algo::tof::ReadoutSetup::nAsicsPerFeb |
Definition at line 42 of file tof/ReadoutConfig.h.
Referenced by cbm::algo::tof::ReadoutConfig::BuildChannelsUidMap(), cbm::algo::tof::ReadoutConfig::Init(), NChansPerFeb(), and NElinksPerCrob().
i32 cbm::algo::tof::ReadoutSetup::nChannelsPerAsic |
Definition at line 43 of file tof/ReadoutConfig.h.
Referenced by cbm::algo::tof::ReadoutConfig::BuildChannelsUidMap(), cbm::algo::tof::ReadoutConfig::Init(), NChansPerComponent(), and NChansPerFeb().
i32 cbm::algo::tof::ReadoutSetup::nCrobPerComponent |
Definition at line 44 of file tof/ReadoutConfig.h.
Referenced by NCrobsPerComponent(), NElinksPerComponent(), and NFebsPerCrob().
i32 cbm::algo::tof::ReadoutSetup::nFebsPerComponent |
Definition at line 41 of file tof/ReadoutConfig.h.
Referenced by cbm::algo::tof::ReadoutConfig::BuildChannelsUidMap(), and NFebsPerCrob().
i32 cbm::algo::tof::ReadoutSetup::timeOffset |
Definition at line 40 of file tof/ReadoutConfig.h.
Referenced by cbm::algo::tof::ReadoutConfig::Init().