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

Readout setup / Hardware cabling for BMon Used to create the hardware mapping for the BMon unpacker. More...

#include <ReadoutConfig.h>

Classes

struct  CROB
 

Public Member Functions

 CBM_YAML_PROPERTIES (yaml::Property(&ReadoutSetup::timeOffset, "timeOffset", "Time offset for BMon"), 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 BMON DPBs", YAML::Flow, YAML::Hex))
 
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
 

Detailed Description

Readout setup / Hardware cabling for BMon Used to create the hardware mapping for the BMon unpacker.

Definition at line 23 of file bmon/ReadoutConfig.h.

Member Function Documentation

◆ CBM_YAML_PROPERTIES()

cbm::algo::bmon::ReadoutSetup::CBM_YAML_PROPERTIES ( yaml::Property &::, "", " " BMon,
yaml::Property &::, "", " " component,
yaml::Property &::, "", " " FEB,
yaml::Property &::, "", " " ASIC,
yaml::Property &::, "", " " component,
yaml::Property &::, "", "", {}, ::Flow ,
yaml::Property(&::, "", " ID for all BMON DPBs" ,
YAML::Flow ,
YAML::Hex  )

◆ CheckBmonComp()

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

Definition at line 65 of file bmon/ReadoutConfig.h.

◆ CheckInnerComp()

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

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

◆ NChansPerComponent()

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

Definition at line 60 of file bmon/ReadoutConfig.h.

References nChannelsPerAsic, and NElinksPerComponent().

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

◆ NChansPerFeb()

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

Definition at line 59 of file bmon/ReadoutConfig.h.

References nAsicsPerFeb, and nChannelsPerAsic.

◆ NComponents()

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

◆ NCrobs()

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

Definition at line 57 of file bmon/ReadoutConfig.h.

References crobs.

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

◆ NCrobsPerComponent()

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

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

References nCrobPerComponent.

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

◆ NElinksPerComponent()

i32 cbm::algo::bmon::ReadoutSetup::NElinksPerComponent ( ) const
inline

◆ NElinksPerCrob()

◆ NFebsPerCrob()

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

Definition at line 58 of file bmon/ReadoutConfig.h.

References nCrobPerComponent, and nFebsPerComponent.

Referenced by NElinksPerCrob().

Member Data Documentation

◆ crobs

◆ eqIds

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

Definition at line 46 of file bmon/ReadoutConfig.h.

Referenced by cbm::algo::bmon::ReadoutConfig::Init(), and NComponents().

◆ nAsicsPerFeb

i32 cbm::algo::bmon::ReadoutSetup::nAsicsPerFeb

◆ nChannelsPerAsic

◆ nCrobPerComponent

i32 cbm::algo::bmon::ReadoutSetup::nCrobPerComponent

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

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

◆ nFebsPerComponent

i32 cbm::algo::bmon::ReadoutSetup::nFebsPerComponent

◆ timeOffset

i32 cbm::algo::bmon::ReadoutSetup::timeOffset

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

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


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