TPCCondData
|
class to store the mapping of the pixel modes of the TimePix a TimePixPixelMode contains three integers, the ChipID, the PixelID and the PixelMode furthermore it contains a struct called PixelKey of ChipID and PixelID as the key for the map More...
#include <TimePixPixelMode.h>
Classes | |
struct | PixelKey |
Public Member Functions | |
TimePixPixelMode (int ChipID=0, int PixelID=0, int PixelMode=0, int PixelStatus=0, int PixelCalibration=0) | |
TimePixPixelMode (EVENT::LCObject *obj) | |
virtual | ~TimePixPixelMode () |
int | getChipID () |
Gets the chipID of the chip. More... | |
int | getPixelID () |
Gets the pixelID of the pixel count begins with 0. More... | |
int | getPixelMode () |
Gets the mode of the pixel four possibilities: MEDIPIX, TOT, TIMEPIX, ONEHIT. More... | |
int | getPixelStatus () |
Gets the status of the pixel three possibilities: INTACT (default), NOISY, DEAD. More... | |
int | getPixelStatusWord () |
Gets the status word which is a combination of the pixel mode and the pixel status. More... | |
int | getPixelCalibration () |
Gets the pixel calibration value to correct clock distribution. More... | |
PixelKey | getPixelKey () |
Gets the pixelKey of the pixel. More... | |
virtual const std::string | getTypeName () const |
virtual const std::string | getDataDescription () const |
void | setPixelMode (int Mode) |
Sets the mode of this pixel. More... | |
void | setPixelStatus (int Status) |
Sets the status of this pixel. More... | |
void | setPixelStatusWord (int StatusWord) |
Sets the status word of a pixel. More... | |
void | setPixelCalibration (int Calibration) |
Sets the calibration correction value. More... | |
Static Public Member Functions | |
static std::string | getRevision () |
Static Public Attributes | |
static const int | MEDIPIX = 0 |
static const int | TOT = 1 |
static const int | ONEHIT = 2 |
static const int | TIMEPIX = 3 |
static const int | INTACT = 0 |
static const int | NOISY = 0x10000 |
static const int | DEAD = 0x20000 |
Protected Member Functions | |
void | setChipID (int Chip) |
void | setPixelID (int Pixel) |
class to store the mapping of the pixel modes of the TimePix a TimePixPixelMode contains three integers, the ChipID, the PixelID and the PixelMode furthermore it contains a struct called PixelKey of ChipID and PixelID as the key for the map
the possible modes are: MEDIPIX = 0 TOT = 1 ONEHIT = 2 TIMEPIX = 3
Definition at line 37 of file TimePixPixelMode.h.
tpcconddata::TimePixPixelMode::TimePixPixelMode | ( | int | ChipID = 0 , |
int | PixelID = 0 , |
||
int | PixelMode = 0 , |
||
int | PixelStatus = 0 , |
||
int | PixelCalibration = 0 |
||
) |
Definition at line 14 of file TimePixPixelMode.cc.
|
inline |
Definition at line 45 of file TimePixPixelMode.h.
|
virtual |
Definition at line 22 of file TimePixPixelMode.cc.
int tpcconddata::TimePixPixelMode::getChipID | ( | ) |
Gets the chipID of the chip.
Definition at line 24 of file TimePixPixelMode.cc.
|
inlinevirtual |
Definition at line 140 of file TimePixPixelMode.h.
int tpcconddata::TimePixPixelMode::getPixelCalibration | ( | ) |
Gets the pixel calibration value to correct clock distribution.
Definition at line 44 of file TimePixPixelMode.cc.
int tpcconddata::TimePixPixelMode::getPixelID | ( | ) |
Gets the pixelID of the pixel count begins with 0.
Definition at line 28 of file TimePixPixelMode.cc.
TimePixPixelMode::PixelKey tpcconddata::TimePixPixelMode::getPixelKey | ( | ) |
Gets the pixelKey of the pixel.
The PixelKey consists of the chipID and the pixelID.
Definition at line 48 of file TimePixPixelMode.cc.
int tpcconddata::TimePixPixelMode::getPixelMode | ( | ) |
Gets the mode of the pixel four possibilities: MEDIPIX, TOT, TIMEPIX, ONEHIT.
Definition at line 32 of file TimePixPixelMode.cc.
int tpcconddata::TimePixPixelMode::getPixelStatus | ( | ) |
Gets the status of the pixel three possibilities: INTACT (default), NOISY, DEAD.
Definition at line 36 of file TimePixPixelMode.cc.
int tpcconddata::TimePixPixelMode::getPixelStatusWord | ( | ) |
Gets the status word which is a combination of the pixel mode and the pixel status.
Definition at line 40 of file TimePixPixelMode.cc.
|
static |
Definition at line 9 of file TimePixPixelMode.cc.
|
inlinevirtual |
Definition at line 136 of file TimePixPixelMode.h.
|
protected |
Definition at line 54 of file TimePixPixelMode.cc.
void tpcconddata::TimePixPixelMode::setPixelCalibration | ( | int | Calibration | ) |
Sets the calibration correction value.
Definition at line 84 of file TimePixPixelMode.cc.
|
protected |
Definition at line 58 of file TimePixPixelMode.cc.
void tpcconddata::TimePixPixelMode::setPixelMode | ( | int | Mode | ) |
Sets the mode of this pixel.
From the given int
only the bits describing the mode are taken to replace the mode bits in the status word. This means you can pass the Mode or a complete StatusWord as argument.
Definition at line 62 of file TimePixPixelMode.cc.
void tpcconddata::TimePixPixelMode::setPixelStatus | ( | int | Status | ) |
Sets the status of this pixel.
From the given int
only the bits describing the status are taken to replace the status bits in the status word. This means you can pass the Status or a complete StatusWord as argument.
Definition at line 70 of file TimePixPixelMode.cc.
void tpcconddata::TimePixPixelMode::setPixelStatusWord | ( | int | StatusWord | ) |
Sets the status word of a pixel.
Definition at line 80 of file TimePixPixelMode.cc.
|
static |
Definition at line 172 of file TimePixPixelMode.h.
|
static |
Definition at line 170 of file TimePixPixelMode.h.
|
static |
Definition at line 165 of file TimePixPixelMode.h.
|
static |
Definition at line 171 of file TimePixPixelMode.h.
|
static |
Definition at line 167 of file TimePixPixelMode.h.
|
static |
Definition at line 168 of file TimePixPixelMode.h.
|
static |
Definition at line 166 of file TimePixPixelMode.h.