#include <iostream>
#include <utility>
#include <string>
#include "boost/cstdint.hpp"
Go to the source code of this file.
Classes | |
class | SiPixelCalibDigiError |
Functions | |
bool | operator< (const SiPixelCalibDigiError &one, const SiPixelCalibDigiError other) |
std::ostream & | operator<< (std::ostream &output, const SiPixelCalibDigiError &err) |
bool operator< | ( | const SiPixelCalibDigiError & | one, | |
const SiPixelCalibDigiError | other | |||
) | [inline] |
Definition at line 48 of file SiPixelCalibDigiError.h.
References SiPixelCalibDigiError::getCol(), and SiPixelCalibDigiError::getRow().
00048 { 00049 if(one.getCol()!=other.getCol()) 00050 return one.getCol() < other.getCol(); 00051 00052 return one.getRow() < other.getRow(); 00053 00054 }
std::ostream& operator<< | ( | std::ostream & | output, | |
const SiPixelCalibDigiError & | err | |||
) | [inline] |
Definition at line 55 of file SiPixelCalibDigiError.h.
References SiPixelCalibDigiError::getCol(), SiPixelCalibDigiError::getErrorType(), SiPixelCalibDigiError::getRow(), and SiPixelCalibDigiError::printError().
00056 { 00057 std::string errorstr = err.printError(); 00058 return output << "pixel SiCalibDigi error in row " << err.getRow() << ", column " << err.getCol() << " of type " << err.getErrorType() << " (" << errorstr << ")"; 00059 00060 }