#include <DataFormats/SiPixelDigi/interface/SiPixelCalibDigiError.h>
Public Member Functions | |
uint16_t | getCol () const |
uint16_t | getErrorType () const |
uint16_t | getRow () const |
std::string | printError () const |
void | setCol (const uint16_t &in) |
void | setErrorType (const uint16_t &in) |
void | setRow (const uint16_t &in) |
SiPixelCalibDigiError (uint16_t row, uint16_t col, uint16_t error) | |
SiPixelCalibDigiError (uint16_t row, uint16_t col) | |
SiPixelCalibDigiError () | |
virtual | ~SiPixelCalibDigiError () |
Private Attributes | |
uint16_t | fCol |
uint8_t | fErrorType |
uint16_t | fRow |
Definition at line 16 of file SiPixelCalibDigiError.h.
SiPixelCalibDigiError::SiPixelCalibDigiError | ( | ) | [inline] |
SiPixelCalibDigiError::SiPixelCalibDigiError | ( | uint16_t | row, | |
uint16_t | col | |||
) | [inline] |
SiPixelCalibDigiError::SiPixelCalibDigiError | ( | uint16_t | row, | |
uint16_t | col, | |||
uint16_t | error | |||
) | [inline] |
virtual SiPixelCalibDigiError::~SiPixelCalibDigiError | ( | ) | [inline, virtual] |
uint16_t SiPixelCalibDigiError::getCol | ( | ) | const [inline] |
Definition at line 40 of file SiPixelCalibDigiError.h.
References fCol.
Referenced by operator<(), and operator<<().
00040 { return fCol;}
uint16_t SiPixelCalibDigiError::getErrorType | ( | ) | const [inline] |
Definition at line 43 of file SiPixelCalibDigiError.h.
References fErrorType.
Referenced by operator<<().
00043 { return fErrorType;}
uint16_t SiPixelCalibDigiError::getRow | ( | ) | const [inline] |
Definition at line 37 of file SiPixelCalibDigiError.h.
References fRow.
Referenced by operator<(), and operator<<().
00037 { return fRow;}
std::string SiPixelCalibDigiError::printError | ( | ) | const |
Definition at line 4 of file SiPixelCalibDigiError.cc.
References fErrorType, and HLT_VtxMuL3::result.
Referenced by operator<<().
00005 { 00006 std::string result = "unknown error"; 00007 switch (fErrorType) { 00008 case(1):{ 00009 result="arrived at unexpected pattern."; 00010 break; 00011 } 00012 case(2):{ 00013 result="pixel is not in pattern at all."; 00014 break; 00015 } 00016 } 00017 00018 return result; 00019 }
void SiPixelCalibDigiError::setCol | ( | const uint16_t & | in | ) | [inline] |
void SiPixelCalibDigiError::setErrorType | ( | const uint16_t & | in | ) | [inline] |
Definition at line 44 of file SiPixelCalibDigiError.h.
References fErrorType.
00044 { fErrorType = in; }
void SiPixelCalibDigiError::setRow | ( | const uint16_t & | in | ) | [inline] |
uint16_t SiPixelCalibDigiError::fCol [private] |
uint8_t SiPixelCalibDigiError::fErrorType [private] |
Definition at line 22 of file SiPixelCalibDigiError.h.
Referenced by getErrorType(), printError(), and setErrorType().
uint16_t SiPixelCalibDigiError::fRow [private] |