CMS 3D CMS Logo

Classes | Functions
CTPPSPixelDigi.h File Reference
#include "FWCore/Utilities/interface/Exception.h"
#include <iostream>

Go to the source code of this file.

Classes

class  CTPPSPixelDigi
 

Functions

bool operator< (const CTPPSPixelDigi &one, const CTPPSPixelDigi &other)
 Comparison operator. More...
 
std::ostream & operator<< (std::ostream &o, const CTPPSPixelDigi &digi)
 

Function Documentation

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

Comparison operator.

Definition at line 64 of file CTPPSPixelDigi.h.

References CTPPSPixelDigi::packedData(), and CTPPSPixelDigi::rowcol_mask.

64  {
66 }
static const uint32_t rowcol_mask
uint32_t packedData() const
std::ostream& operator<< ( std::ostream &  o,
const CTPPSPixelDigi digi 
)
inline

Definition at line 69 of file CTPPSPixelDigi.h.

References CTPPSPixelDigi::adc(), CTPPSPixelDigi::column(), and CTPPSPixelDigi::row().

69  {
70  return o << " " << digi.row() << " " << digi.column()
71  << " " << digi.adc();
72 }
int row() const
Access to digi information.
int column() const
unsigned short adc() const