#include <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) | |
SiPixelCalibDigiError () | |
SiPixelCalibDigiError (uint16_t row, uint16_t col, uint16_t error) | |
virtual | ~SiPixelCalibDigiError () |
Private Attributes | |
uint16_t | fCol |
uint8_t | fErrorType |
uint16_t | fRow |
Definition at line 16 of file SiPixelCalibDigiError.h.
SiPixelCalibDigiError::SiPixelCalibDigiError | ( | ) | [inline] |
Definition at line 26 of file SiPixelCalibDigiError.h.
:fRow(0),fCol(0),fErrorType(0) {;}
SiPixelCalibDigiError::SiPixelCalibDigiError | ( | uint16_t | row, |
uint16_t | col | ||
) | [inline] |
Definition at line 28 of file SiPixelCalibDigiError.h.
:fRow(row),fCol(col),fErrorType(0) {;}
SiPixelCalibDigiError::SiPixelCalibDigiError | ( | uint16_t | row, |
uint16_t | col, | ||
uint16_t | error | ||
) | [inline] |
Definition at line 29 of file SiPixelCalibDigiError.h.
:fRow(row),fCol(col),fErrorType(error) {;}
virtual SiPixelCalibDigiError::~SiPixelCalibDigiError | ( | ) | [inline, virtual] |
Definition at line 31 of file SiPixelCalibDigiError.h.
{;}
uint16_t SiPixelCalibDigiError::getCol | ( | ) | const [inline] |
Definition at line 40 of file SiPixelCalibDigiError.h.
References fCol.
Referenced by operator<(), and operator<<().
{ return fCol;}
uint16_t SiPixelCalibDigiError::getErrorType | ( | ) | const [inline] |
Definition at line 43 of file SiPixelCalibDigiError.h.
References fErrorType.
Referenced by operator<<().
{ return fErrorType;}
uint16_t SiPixelCalibDigiError::getRow | ( | ) | const [inline] |
Definition at line 37 of file SiPixelCalibDigiError.h.
References fRow.
Referenced by operator<(), and operator<<().
{ return fRow;}
std::string SiPixelCalibDigiError::printError | ( | ) | const |
Definition at line 4 of file SiPixelCalibDigiError.cc.
References fErrorType, and query::result.
Referenced by operator<<().
{ std::string result = "unknown error"; switch (fErrorType) { case(1):{ result="arrived at unexpected pattern."; break; } case(2):{ result="pixel is not in pattern at all."; break; } } return result; }
void SiPixelCalibDigiError::setCol | ( | const uint16_t & | in | ) | [inline] |
Definition at line 41 of file SiPixelCalibDigiError.h.
References fCol, and recoMuon::in.
void SiPixelCalibDigiError::setErrorType | ( | const uint16_t & | in | ) | [inline] |
Definition at line 44 of file SiPixelCalibDigiError.h.
References fErrorType, and recoMuon::in.
{ fErrorType = in; }
void SiPixelCalibDigiError::setRow | ( | const uint16_t & | in | ) | [inline] |
Definition at line 38 of file SiPixelCalibDigiError.h.
References fRow, and recoMuon::in.
uint16_t SiPixelCalibDigiError::fCol [private] |
Definition at line 21 of file SiPixelCalibDigiError.h.
uint8_t SiPixelCalibDigiError::fErrorType [private] |
Definition at line 22 of file SiPixelCalibDigiError.h.
Referenced by getErrorType(), printError(), and setErrorType().
uint16_t SiPixelCalibDigiError::fRow [private] |
Definition at line 20 of file SiPixelCalibDigiError.h.