#include <datatypes.h>
Public Member Functions | |
pixel () | |
pixel (uint8_t roc_id, uint8_t column, uint8_t row, double value) | |
pixel (uint32_t rawdata, uint8_t rocid, bool invertAddress=false) | |
uint8_t | roc () const |
void | setRoc (uint8_t roc) |
uint8_t | column () const |
void | setColumn (uint8_t column) |
uint8_t | row () const |
void | setRow (uint8_t row) |
double | variance () |
void | setVariance (double var) |
double | value () |
void | setValue (double val) |
bool | operator== (const pixel &px) |
bool | operator< (const pixel &px) const |
Friends | |
std::ostream & | operator<< (std::ostream &out, pixel &px) |
Class for storing decoded pixel readout data
Definition at line 30 of file datatypes.h.
|
inline |
Default constructor for pixel objects, defaulting all member variables to zero
Definition at line 35 of file datatypes.h.
|
inline |
Constructor for pixel objects with address and value initialization.
Definition at line 39 of file datatypes.h.
|
inline |
Constructor for pixel objects with rawdata pixel address & value and ROC id initialization.
Definition at line 43 of file datatypes.h.
|
inline |
Getter function to return column id
Definition at line 55 of file datatypes.h.
|
inline |
Overloaded < operator
Definition at line 99 of file datatypes.h.
|
inline |
Overloaded comparison operator
Definition at line 91 of file datatypes.h.
|
inline |
Getter function to return ROC ID
Definition at line 47 of file datatypes.h.
|
inline |
Getter function to return row id
Definition at line 63 of file datatypes.h.
|
inline |
Setter function to set the column id
Definition at line 59 of file datatypes.h.
|
inline |
Setter function to set the ROC id
Definition at line 51 of file datatypes.h.
|
inline |
Setter function to set the row id
Definition at line 67 of file datatypes.h.
|
inline |
Member function to get the value stored for this pixel hit
Definition at line 85 of file datatypes.h.
|
inline |
Member function to set the signal variance for this pixel hit
Definition at line 75 of file datatypes.h.
|
inline |
Member function to get the value stored for this pixel hit
Definition at line 79 of file datatypes.h.
|
inline |
Member function to get the signal variance for this pixel hit
Definition at line 71 of file datatypes.h.
|
friend |
Overloaded ostream operator for simple printing of pixel data
Definition at line 157 of file datatypes.h.