CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
SiPixelCalibDigiError Class Reference

#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 ()
 
 SiPixelCalibDigiError (uint16_t row, uint16_t col)
 
 SiPixelCalibDigiError (uint16_t row, uint16_t col, uint16_t error)
 
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 23 of file SiPixelCalibDigiError.h.

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

Definition at line 25 of file SiPixelCalibDigiError.h.

SiPixelCalibDigiError::SiPixelCalibDigiError ( uint16_t  row,
uint16_t  col,
uint16_t  error 
)
inline
virtual SiPixelCalibDigiError::~SiPixelCalibDigiError ( )
inlinevirtual

Definition at line 28 of file SiPixelCalibDigiError.h.

28 { ; }

Member Function Documentation

uint16_t SiPixelCalibDigiError::getCol ( ) const
inline

Definition at line 37 of file SiPixelCalibDigiError.h.

References fCol.

Referenced by operator<(), and operator<<().

37 { return fCol; }
uint16_t SiPixelCalibDigiError::getErrorType ( ) const
inline

Definition at line 40 of file SiPixelCalibDigiError.h.

References fErrorType.

Referenced by operator<<().

40 { return fErrorType; }
uint16_t SiPixelCalibDigiError::getRow ( ) const
inline

Definition at line 34 of file SiPixelCalibDigiError.h.

References fRow.

Referenced by operator<(), and operator<<().

34 { return fRow; }
std::string SiPixelCalibDigiError::printError ( ) const

Definition at line 3 of file SiPixelCalibDigiError.cc.

References fErrorType, mps_fire::result, and AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by operator<<(), and setErrorType().

3  {
4  std::string result = "unknown error";
5  switch (fErrorType) {
6  case (1): {
7  result = "arrived at unexpected pattern.";
8  break;
9  }
10  case (2): {
11  result = "pixel is not in pattern at all.";
12  break;
13  }
14  }
15 
16  return result;
17 }
void SiPixelCalibDigiError::setCol ( const uint16_t &  in)
inline

Definition at line 38 of file SiPixelCalibDigiError.h.

References recoMuon::in.

void SiPixelCalibDigiError::setErrorType ( const uint16_t &  in)
inline
void SiPixelCalibDigiError::setRow ( const uint16_t &  in)
inline

Definition at line 35 of file SiPixelCalibDigiError.h.

References recoMuon::in.

Member Data Documentation

uint16_t SiPixelCalibDigiError::fCol
private

Definition at line 19 of file SiPixelCalibDigiError.h.

Referenced by getCol().

uint8_t SiPixelCalibDigiError::fErrorType
private

Definition at line 20 of file SiPixelCalibDigiError.h.

Referenced by getErrorType(), and printError().

uint16_t SiPixelCalibDigiError::fRow
private

Definition at line 18 of file SiPixelCalibDigiError.h.

Referenced by getRow().