CMS 3D CMS Logo

Classes | Functions

/data/refman/pasoursint/CMSSW_4_1_8_patch13/src/DataFormats/SiPixelDigi/interface/PixelDigi.h File Reference

#include <utility>
#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]

Definition at line 58 of file PixelDigi.h.

References PixelDigi::channel().

                                                                     {
  return one.channel() < other.channel();
}
std::ostream& operator<< ( std::ostream &  o,
const PixelDigi digi 
) [inline]

Definition at line 63 of file PixelDigi.h.

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

                                                                      {
  return o << " " << digi.channel()
           << " " << digi.adc();
}