10 return std::string(
"$Rev: 2624 $");
25 return obj()->getIntVal( 0 ) ;
29 return obj()->getIntVal( 1 ) ;
33 return obj()->getIntVal( 2 ) & 0x3 ;
37 return obj()->getIntVal( 2 ) & 0x30000 ;
41 return obj()->getIntVal( 2 ) ;
45 return obj()->getIntVal( 3 ) ;
50 obj()->getIntVal( 1 ) ) ;
55 obj()->setIntVal( 0, Chip) ;
59 obj()->setIntVal( 1, Pixel) ;
65 (obj()->getIntVal( 2 ) & ~0x3) |
73 (obj()->getIntVal( 2 ) & ~0x30000) |
75 (Status & 0x30000) ) ;
81 obj()->setIntVal( 2, StatusWord) ;
85 obj()->setIntVal( 3, Calibration) ;
static std::string getRevision()
void setPixelStatus(int Status)
Sets the status of this pixel.
TimePixPixelMode(int ChipID=0, int PixelID=0, int PixelMode=0, int PixelStatus=0, int PixelCalibration=0)
int getPixelMode()
Gets the mode of the pixel four possibilities: MEDIPIX, TOT, TIMEPIX, ONEHIT.
virtual ~TimePixPixelMode()
void setPixelID(int Pixel)
void setPixelMode(int Mode)
Sets the mode of this pixel.
int getPixelCalibration()
Gets the pixel calibration value to correct clock distribution.
void setPixelCalibration(int Calibration)
Sets the calibration correction value.
void setPixelStatusWord(int StatusWord)
Sets the status word of a pixel.
int getPixelStatus()
Gets the status of the pixel three possibilities: INTACT (default), NOISY, DEAD.
PixelKey getPixelKey()
Gets the pixelKey of the pixel.
PixelKey(int _chipID, int _pixelID)
int getPixelID()
Gets the pixelID of the pixel count begins with 0.
int getPixelStatusWord()
Gets the status word which is a combination of the pixel mode and the pixel status.
int getChipID()
Gets the chipID of the chip.