CMS 3D CMS Logo

Classes | Functions

/data/refman/pasoursint/CMSSW_5_3_10_patch1/src/DataFormats/SiPixelDigi/interface/SiPixelCalibDigi.h File Reference

#include <utility>
#include <vector>
#include <iostream>
#include "boost/cstdint.hpp"

Go to the source code of this file.

Classes

struct  SiPixelCalibDigi::datacontainer
class  SiPixelCalibDigi

Functions

bool operator< (const SiPixelCalibDigi &one, const SiPixelCalibDigi &other)
std::ostream & operator<< (std::ostream &output, const SiPixelCalibDigi &digi)

Function Documentation

bool operator< ( const SiPixelCalibDigi one,
const SiPixelCalibDigi other 
) [inline]

Definition at line 48 of file SiPixelCalibDigi.h.

References SiPixelCalibDigi::getnpoints().

                                                                                     {
  return one.getnpoints() < other.getnpoints();
}
std::ostream& operator<< ( std::ostream &  output,
const SiPixelCalibDigi digi 
) [inline]

Definition at line 52 of file SiPixelCalibDigi.h.

References SiPixelCalibDigi::col(), SiPixelCalibDigi::getnpoints(), and SiPixelCalibDigi::row().

                                                                                   {
/*   std::ostream result; */
/*   result << "this SiPixelCalibDigi object contains: " << m_nentries.size() << " and represents pixel (row,col) (" << m_row_and_column.first << ","<< m_row_and_colum.second <<") \n"; */
/*   for(int iter=0; iter<m_nentries.size(); ++iter) */
/*     result << "calib point " << iter << ", nentries " << m_nentries[iter] << ", sum " << m_adccountsum[iter] << ", sum of squares " << m_adccountsumsq[iter] <<".\n"; */
/*   return output << result; */
  return output << "this pixel (row " << digi.row() << ", col " << digi.col() << " has " << digi.getnpoints() << " calibration points."; 
}