class for digital (0/1) calibration values per srtip
More...
#include <SVDCalibrationsBitmap.h>
class for digital (0/1) calibration values per srtip
Definition at line 23 of file SVDCalibrationsBitmap.h.
◆ bundleType
◆ calibrationType
◆ payloadContainerType
◆ SVDCalibrationsBitmap()
◆ ~SVDCalibrationsBitmap()
◆ get()
get the calibration value of that strip
Definition at line 39 of file SVDCalibrationsBitmap.h.
40 {
41 std::bitset<nBitsInBundle> bundle = svdBitmap.at(strip / (
nBitsInBundle));
43 }
static const int nBitsInBundle
nuber of bits in the bundle
◆ init()
static void init |
( |
payloadContainerType & |
svdBitmap, |
|
|
unsigned int |
layer, |
|
|
unsigned int |
, |
|
|
unsigned int |
, |
|
|
unsigned int |
side, |
|
|
bool |
defaultB |
|
) |
| |
|
inlinestatic |
initialize the calibration bitmap
Definition at line 55 of file SVDCalibrationsBitmap.h.
58 {
59 unsigned int numberOfStrips = 0;
60
61 if (layer < 3)
62 return;
63
64 switch (side) {
65 case SVDCalibrationsBase< SVDCalibrationsBitmap >::Uindex :
66 numberOfStrips = 768;
67 break;
68
69 case SVDCalibrationsBase< SVDCalibrationsBitmap >::Vindex :
70 numberOfStrips = layer == 3 ? 768 : 512;
71 }
72
73 if (!defaultB)
75 else
77 }
◆ set()
◆ nBitsInBundle
const int nBitsInBundle = CHAR_BIT * sizeof(bundleType) |
|
static |
The documentation for this class was generated from the following file: