The payload telling which PXD pixel to mask (ignore)
More...
#include <PXDMaskedPixelPar.h>
|
typedef std::unordered_set< unsigned int > | MaskedSinglePixelsSet |
| Structure to hold set of masked single pixels indexed by their unique id (unsigned int), stored in hash table.
|
|
|
std::unordered_map< unsigned short, MaskedSinglePixelsSet > | m_MapSingles |
| Structure holding sets of masked single pixels for all sensors by sensor id (unsigned short).
|
|
The payload telling which PXD pixel to mask (ignore)
Definition at line 24 of file PXDMaskedPixelPar.h.
◆ maskSinglePixel()
void maskSinglePixel |
( |
unsigned short |
sensorID, |
|
|
unsigned int |
pixID |
|
) |
| |
|
inline |
Mask single pixel.
- Parameters
-
sensorID | unique ID of the sensor |
pixID | unique ID of single pixel to mask |
Definition at line 39 of file PXDMaskedPixelPar.h.
44 auto& singles = mapIterSingles->second;
46 if (singles.find(pixID) == singles.end())
47 singles.insert(pixID);
52 singles.insert(pixID);
std::unordered_map< unsigned short, MaskedSinglePixelsSet > m_MapSingles
Structure holding sets of masked single pixels for all sensors by sensor id (unsigned short).
std::unordered_set< unsigned int > MaskedSinglePixelsSet
Structure to hold set of masked single pixels indexed by their unique id (unsigned int),...
◆ pixelOK()
bool pixelOK |
( |
unsigned short |
sensorID, |
|
|
unsigned int |
pixID |
|
) |
| const |
|
inline |
Check whether a pixel on a given sensor is OK or not.
- Parameters
-
sensorID | unique ID of the sensor |
pixID | unique ID of single pixel to mask |
- Returns
- true if pixel is not masked, otherwise false.
Definition at line 62 of file PXDMaskedPixelPar.h.
The documentation for this class was generated from the following file: