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
SiPixelCalibDigiError::SiPixelCalibDigiError ( uint16_t  row,
uint16_t  col 
)
inline
SiPixelCalibDigiError::SiPixelCalibDigiError ( uint16_t  row,
uint16_t  col,
uint16_t  error 
)
inline
virtual SiPixelCalibDigiError::~SiPixelCalibDigiError ( )
inlinevirtual

Definition at line 31 of file SiPixelCalibDigiError.h.

31 {;}

Member Function Documentation

uint16_t SiPixelCalibDigiError::getCol ( ) const
inline

Definition at line 40 of file SiPixelCalibDigiError.h.

References fCol.

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

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

Definition at line 43 of file SiPixelCalibDigiError.h.

References fErrorType.

Referenced by operator<<().

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

Definition at line 37 of file SiPixelCalibDigiError.h.

References fRow.

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

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

Definition at line 4 of file SiPixelCalibDigiError.cc.

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

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

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

Definition at line 41 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 38 of file SiPixelCalibDigiError.h.

References recoMuon::in.

Member Data Documentation

uint16_t SiPixelCalibDigiError::fCol
private

Definition at line 21 of file SiPixelCalibDigiError.h.

Referenced by getCol().

uint8_t SiPixelCalibDigiError::fErrorType
private

Definition at line 22 of file SiPixelCalibDigiError.h.

Referenced by getErrorType(), and printError().

uint16_t SiPixelCalibDigiError::fRow
private

Definition at line 20 of file SiPixelCalibDigiError.h.

Referenced by getRow().