CMS 3D CMS Logo

SiPixelCalibDigiError Class Reference

#include <DataFormats/SiPixelDigi/interface/SiPixelCalibDigiError.h>

List of all members.

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


Detailed Description

Definition at line 16 of file SiPixelCalibDigiError.h.


Constructor & Destructor Documentation

SiPixelCalibDigiError::SiPixelCalibDigiError (  )  [inline]

Definition at line 26 of file SiPixelCalibDigiError.h.

00026 :fRow(0),fCol(0),fErrorType(0) {;}

SiPixelCalibDigiError::SiPixelCalibDigiError ( uint16_t  row,
uint16_t  col 
) [inline]

Definition at line 28 of file SiPixelCalibDigiError.h.

00028 :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.

00029 :fRow(row),fCol(col),fErrorType(error) {;}

virtual SiPixelCalibDigiError::~SiPixelCalibDigiError (  )  [inline, virtual]

Definition at line 31 of file SiPixelCalibDigiError.h.

00031 {;}


Member Function Documentation

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]

Definition at line 41 of file SiPixelCalibDigiError.h.

References fCol.

00041 { fCol = in; }

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]

Definition at line 38 of file SiPixelCalibDigiError.h.

References fRow.

00038 { fRow = in; }


Member Data Documentation

uint16_t SiPixelCalibDigiError::fCol [private]

Definition at line 21 of file SiPixelCalibDigiError.h.

Referenced by getCol(), and setCol().

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.

Referenced by getRow(), and setRow().


The documentation for this class was generated from the following files:
Generated on Tue Jun 9 18:31:50 2009 for CMSSW by  doxygen 1.5.4