CMS 3D CMS Logo

Classes | Functions
PixelDigi.h File Reference
#include <utility>
#include <algorithm>
#include "DataFormats/SiPixelDetId/interface/PixelChannelIdentifier.h"
#include <iostream>

Go to the source code of this file.

Classes

class  PixelDigi
 

Functions

bool operator< (const PixelDigi &one, const PixelDigi &other)
 
std::ostream & operator<< (std::ostream &o, const PixelDigi &digi)
 

Function Documentation

bool operator< ( const PixelDigi one,
const PixelDigi other 
)
inline
std::ostream& operator<< ( std::ostream &  o,
const PixelDigi digi 
)
inline

Definition at line 89 of file PixelDigi.h.

References PixelDigi::adc(), and PixelDigi::channel().

89  {
90  return o << " " << digi.channel()
91  << " " << digi.adc();
92 }
int channel() const
Definition: PixelDigi.h:72
unsigned short adc() const
Definition: PixelDigi.h:59