CMS 3D CMS Logo

Classes | Functions
SiPixelCalibDigi.h File Reference
#include <utility>
#include <vector>
#include <iostream>
#include <cstdint>

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

◆ operator<()

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

Definition at line 54 of file SiPixelCalibDigi.h.

References trackingPlots::other.

54  {
55  return one.getnpoints() < other.getnpoints();
56 }

◆ operator<<()

std::ostream& operator<< ( std::ostream &  output,
const SiPixelCalibDigi digi 
)
inline

Definition at line 58 of file SiPixelCalibDigi.h.

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

58  {
59  /* std::ostream result; */
60  /* result << "this SiPixelCalibDigi object contains: " << m_nentries.size() << " and represents pixel (row,col) (" << m_row_and_column.first << ","<< m_row_and_colum.second <<") \n"; */
61  /* for(int iter=0; iter<m_nentries.size(); ++iter) */
62  /* result << "calib point " << iter << ", nentries " << m_nentries[iter] << ", sum " << m_adccountsum[iter] << ", sum of squares " << m_adccountsumsq[iter] <<".\n"; */
63  /* return output << result; */
64  return output << "this pixel (row " << digi.row() << ", col " << digi.col() << " has " << digi.getnpoints()
65  << " calibration points.";
66 }
uint32_t getnpoints() const
uint16_t row() const
Definition: output.py:1
uint16_t col() const