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.

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

References SiPixelPI::one, and trackingPlots::other.

◆ operator<<()

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

Definition at line 58 of file SiPixelCalibDigi.h.

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 }

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

SiPixelPI::one
Definition: SiPixelPayloadInspectorHelper.h:39
convertSQLitetoXML_cfg.output
output
Definition: convertSQLitetoXML_cfg.py:72
SiPixelCalibDigi::getnpoints
uint32_t getnpoints() const
Definition: SiPixelCalibDigi.h:24
trackingPlots.other
other
Definition: trackingPlots.py:1460
SiPixelCalibDigi::row
uint16_t row() const
Definition: SiPixelCalibDigi.h:37
SiPixelCalibDigi::col
uint16_t col() const
Definition: SiPixelCalibDigi.h:38