CbmRoot
Loading...
Searching...
No Matches
cbm::algo::tof::ReadoutSetup Struct Reference

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< CROBcrobs
 
std::vector< u16eqIds
 
std::vector< i32elink2Asic
 
std::vector< i32elink2AsicInner
 
std::vector< i32asic2PadI
 

Detailed Description

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.

Member Function Documentation

◆ CBM_YAML_PROPERTIES()

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  ) &

◆ CheckBmonComp()

bool cbm::algo::tof::ReadoutSetup::CheckBmonComp ( uint32_t uCompId) const
inline

Definition at line 71 of file tof/ReadoutConfig.h.

◆ CheckInnerComp()

bool cbm::algo::tof::ReadoutSetup::CheckInnerComp ( uint32_t uCompId) const
inline

Definition at line 72 of file tof/ReadoutConfig.h.

Referenced by cbm::algo::tof::ReadoutConfig::Init().

◆ NChansPerComponent()

i32 cbm::algo::tof::ReadoutSetup::NChansPerComponent ( ) const
inline

Definition at line 66 of file tof/ReadoutConfig.h.

References nChannelsPerAsic, and NElinksPerComponent().

Referenced by cbm::algo::tof::ReadoutConfig::Init().

◆ NChansPerFeb()

i32 cbm::algo::tof::ReadoutSetup::NChansPerFeb ( ) const
inline

◆ NComponents()

size_t cbm::algo::tof::ReadoutSetup::NComponents ( ) const
inline

◆ NCrobs()

size_t cbm::algo::tof::ReadoutSetup::NCrobs ( ) const
inline

Definition at line 63 of file tof/ReadoutConfig.h.

References crobs.

Referenced by cbm::algo::tof::ReadoutConfig::BuildChannelsUidMap().

◆ NCrobsPerComponent()

i32 cbm::algo::tof::ReadoutSetup::NCrobsPerComponent ( ) const
inline

Definition at line 69 of file tof/ReadoutConfig.h.

References nCrobPerComponent.

Referenced by cbm::algo::tof::ReadoutConfig::Init().

◆ NElinksPerComponent()

◆ NElinksPerCrob()

◆ NFebsPerCrob()

i32 cbm::algo::tof::ReadoutSetup::NFebsPerCrob ( ) const
inline

Definition at line 64 of file tof/ReadoutConfig.h.

References nCrobPerComponent, and nFebsPerComponent.

Referenced by NElinksPerCrob().

Member Data Documentation

◆ asic2PadI

std::vector<i32> cbm::algo::tof::ReadoutSetup::asic2PadI

◆ crobs

std::vector<CROB> cbm::algo::tof::ReadoutSetup::crobs

◆ elink2Asic

std::vector<i32> cbm::algo::tof::ReadoutSetup::elink2Asic

◆ elink2AsicInner

std::vector<i32> cbm::algo::tof::ReadoutSetup::elink2AsicInner

◆ eqIds

std::vector<u16> cbm::algo::tof::ReadoutSetup::eqIds

◆ nAsicsPerFeb

i32 cbm::algo::tof::ReadoutSetup::nAsicsPerFeb

◆ nChannelsPerAsic

i32 cbm::algo::tof::ReadoutSetup::nChannelsPerAsic

◆ nCrobPerComponent

i32 cbm::algo::tof::ReadoutSetup::nCrobPerComponent

Definition at line 44 of file tof/ReadoutConfig.h.

Referenced by NCrobsPerComponent(), NElinksPerComponent(), and NFebsPerCrob().

◆ nFebsPerComponent

i32 cbm::algo::tof::ReadoutSetup::nFebsPerComponent

◆ timeOffset

i32 cbm::algo::tof::ReadoutSetup::timeOffset

Definition at line 40 of file tof/ReadoutConfig.h.

Referenced by cbm::algo::tof::ReadoutConfig::Init().


The documentation for this struct was generated from the following file: