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 SiPixelPI::one, 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 submitPVResolutionJobs::err, hcal_dqm_sourceclient-live_cfg::errorstr, convertSQLitetoXML_cfg::output, and AlCaHLTBitMon_QueryRunRegistry::string.

SiPixelPI::one
Definition: SiPixelPayloadInspectorHelper.h:39
convertSQLitetoXML_cfg.output
output
Definition: convertSQLitetoXML_cfg.py:72
hcal_dqm_sourceclient-live_cfg.errorstr
errorstr
Definition: hcal_dqm_sourceclient-live_cfg.py:20
trackingPlots.other
other
Definition: trackingPlots.py:1460
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
submitPVResolutionJobs.err
err
Definition: submitPVResolutionJobs.py:85