CMS 3D CMS Logo

SiPixelCalibDigi.h File Reference

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

Go to the source code of this file.

Classes

class  SiPixelCalibDigi
struct  SiPixelCalibDigi::datacontainer

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().

00048                                                                                      {
00049   return one.getnpoints() < other.getnpoints();
00050 }

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().

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


Generated on Tue Jun 9 17:52:16 2009 for CMSSW by  doxygen 1.5.4