CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 57 of file CTPPSPixelDigi.h.

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

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

Definition at line 62 of file CTPPSPixelDigi.h.

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

62  {
63  return o << " " << digi.row() << " " << digi.column() << " " << digi.adc();
64 }
int row() const
Access to digi information.
int column() const
unsigned short adc() const