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.

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

References SiPixelCalibDigiError::getCol(), SiPixelCalibDigiError::getRow(), and trackingPlots::other.

◆ operator<<()

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

Definition at line 50 of file SiPixelCalibDigiError.h.

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 }

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

convertSQLitetoXML_cfg.output
output
Definition: convertSQLitetoXML_cfg.py:32
hcal_dqm_sourceclient-live_cfg.errorstr
errorstr
Definition: hcal_dqm_sourceclient-live_cfg.py:20
SiPixelCalibDigiError::getRow
uint16_t getRow() const
Definition: SiPixelCalibDigiError.h:34
trackingPlots.other
other
Definition: trackingPlots.py:1465
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
runTheMatrix.err
err
Definition: runTheMatrix.py:288
SiPixelCalibDigiError::getCol
uint16_t getCol() const
Definition: SiPixelCalibDigiError.h:37