CMS 3D CMS Logo

Classes | Functions
SiPixelCalibDigiError.h File Reference
#include <iostream>
#include <utility>
#include <string>
#include <cstdint>

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)
 

Function Documentation

◆ operator<()

bool operator< ( const SiPixelCalibDigiError one,
const SiPixelCalibDigiError  other 
)
inline

Definition at line 44 of file SiPixelCalibDigiError.h.

References trackingPlots::other.

44  {
45  if (one.getCol() != other.getCol())
46  return one.getCol() < other.getCol();
47 
48  return one.getRow() < other.getRow();
49 }

◆ operator<<()

std::ostream& operator<< ( std::ostream &  output,
const SiPixelCalibDigiError err 
)
inline

Definition at line 50 of file SiPixelCalibDigiError.h.

References submitPVResolutionJobs::err, hcal_dqm_sourceclient-live_cfg::errorstr, convertSQLitetoXML_cfg::output, and AlCaHLTBitMon_QueryRunRegistry::string.

50  {
51  std::string errorstr = err.printError();
52  return output << "pixel SiCalibDigi error in row " << err.getRow() << ", column " << err.getCol() << " of type "
53  << err.getErrorType() << " (" << errorstr << ")";
54 }