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() [1/3]

SiPixelCalibDigiError::SiPixelCalibDigiError ( )
inline

Definition at line 23 of file SiPixelCalibDigiError.h.

◆ SiPixelCalibDigiError() [2/3]

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

Definition at line 25 of file SiPixelCalibDigiError.h.

◆ SiPixelCalibDigiError() [3/3]

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

◆ ~SiPixelCalibDigiError()

virtual SiPixelCalibDigiError::~SiPixelCalibDigiError ( )
inlinevirtual

Definition at line 28 of file SiPixelCalibDigiError.h.

28 { ; }

Member Function Documentation

◆ getCol()

uint16_t SiPixelCalibDigiError::getCol ( ) const
inline

Definition at line 37 of file SiPixelCalibDigiError.h.

References fCol.

37 { return fCol; }

◆ getErrorType()

uint16_t SiPixelCalibDigiError::getErrorType ( ) const
inline

Definition at line 40 of file SiPixelCalibDigiError.h.

References fErrorType.

40 { return fErrorType; }

◆ getRow()

uint16_t SiPixelCalibDigiError::getRow ( ) const
inline

Definition at line 34 of file SiPixelCalibDigiError.h.

References fRow.

34 { return fRow; }

◆ printError()

std::string SiPixelCalibDigiError::printError ( ) const

Definition at line 3 of file SiPixelCalibDigiError.cc.

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

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 }

◆ setCol()

void SiPixelCalibDigiError::setCol ( const uint16_t &  in)
inline

Definition at line 38 of file SiPixelCalibDigiError.h.

References fCol, and recoMuon::in.

◆ setErrorType()

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

Definition at line 41 of file SiPixelCalibDigiError.h.

References fErrorType, and recoMuon::in.

◆ setRow()

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

Definition at line 35 of file SiPixelCalibDigiError.h.

References fRow, and recoMuon::in.

Member Data Documentation

◆ fCol

uint16_t SiPixelCalibDigiError::fCol
private

Definition at line 19 of file SiPixelCalibDigiError.h.

Referenced by getCol(), and setCol().

◆ fErrorType

uint8_t SiPixelCalibDigiError::fErrorType
private

Definition at line 20 of file SiPixelCalibDigiError.h.

Referenced by getErrorType(), printError(), and setErrorType().

◆ fRow

uint16_t SiPixelCalibDigiError::fRow
private

Definition at line 18 of file SiPixelCalibDigiError.h.

Referenced by getRow(), and setRow().