|
CbmRoot
|
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< Diamond > | diamonds {} |
Private Attributes | |
| uint32_t | fSelectionBitsOffset {0} |
| Number of bits to the right from the first bit in the selection mask. | |
A structure to handle BMON QA parameters.
Definition at line 21 of file BmonHitfindQaParameters.h.
|
default |
Default constructor.
| HitfindQaParameters::HitfindQaParameters | ( | const CalibrateSetup & | calSetup, |
| const HitfindSetup & | hitSetup ) |
Constructor.
| calSetup | Calibration parameters |
| hitSetup | Hitfinder parameters |
Definition at line 21 of file BmonHitfindQaParameters.cxx.
References cbm::algo::bmon::CalibrateSetup::diamonds, diamonds, cbm::algo::bmon::HitfindSetup::diamonds, fSelectionBitsOffset, GetDiamondIndex(), cbm::algo::bmon::CalibrateSetup::selectionMask, selectionMask, and cbm::algo::bmon::HitfindSetup::selectionMask.
|
inline |
Returns an index of the diamond by the address.
| address | A hardware address of the digi |
Definition at line 45 of file BmonHitfindQaParameters.h.
References fSelectionBitsOffset, and selectionMask.
Referenced by HitfindQaParameters().
| std::vector<Diamond> cbm::algo::bmon::HitfindQaParameters::diamonds {} |
Definition at line 33 of file BmonHitfindQaParameters.h.
Referenced by HitfindQaParameters().
|
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().
| 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().