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

A structure to handle BMON QA parameters. More...

#include <BmonHitfindQaParameters.h>

Classes

struct  Diamond
 A diamond representation. More...
 

Public Member Functions

 HitfindQaParameters ()=default
 Default constructor.
 
 HitfindQaParameters (const CalibrateSetup &calSetup, const HitfindSetup &hitSetup)
 Constructor.
 
size_t GetDiamondIndex (uint32_t address) const
 Returns an index of the diamond by the address.
 

Public Attributes

uint32_t selectionMask {0}
 A bitmask to distinguish different diamonds.
 
std::vector< Diamonddiamonds {}
 

Private Attributes

uint32_t fSelectionBitsOffset {0}
 Number of bits to the right from the first bit in the selection mask.
 

Detailed Description

A structure to handle BMON QA parameters.

Definition at line 21 of file BmonHitfindQaParameters.h.

Constructor & Destructor Documentation

◆ HitfindQaParameters() [1/2]

cbm::algo::bmon::HitfindQaParameters::HitfindQaParameters ( )
default

Default constructor.

◆ HitfindQaParameters() [2/2]

HitfindQaParameters::HitfindQaParameters ( const CalibrateSetup & calSetup,
const HitfindSetup & hitSetup )

Member Function Documentation

◆ GetDiamondIndex()

size_t cbm::algo::bmon::HitfindQaParameters::GetDiamondIndex ( uint32_t address) const
inline

Returns an index of the diamond by the address.

Parameters
addressA hardware address of the digi

Definition at line 45 of file BmonHitfindQaParameters.h.

References fSelectionBitsOffset, and selectionMask.

Referenced by cbm::algo::bmon::HitfindQa::Exec(), and HitfindQaParameters().

Member Data Documentation

◆ diamonds

std::vector<Diamond> cbm::algo::bmon::HitfindQaParameters::diamonds {}

◆ fSelectionBitsOffset

uint32_t cbm::algo::bmon::HitfindQaParameters::fSelectionBitsOffset {0}
private

Number of bits to the right from the first bit in the selection mask.

Definition at line 48 of file BmonHitfindQaParameters.h.

Referenced by GetDiamondIndex(), and HitfindQaParameters().

◆ selectionMask

uint32_t cbm::algo::bmon::HitfindQaParameters::selectionMask {0}

A bitmask to distinguish different diamonds.

Definition at line 32 of file BmonHitfindQaParameters.h.

Referenced by GetDiamondIndex(), and HitfindQaParameters().


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