test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Classes | Functions
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().

48  {
49  return one.getnpoints() < other.getnpoints();
50 }
uint32_t getnpoints() const
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().

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