CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_9_patch3/src/DataFormats/SiPixelDigi/src/SiPixelCalibDigiError.cc

Go to the documentation of this file.
00001 #include "DataFormats/SiPixelDigi/interface/SiPixelCalibDigiError.h"
00002 
00003 
00004 std::string SiPixelCalibDigiError::printError() const
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 }