CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Classes | Functions
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().

58  {
59  return one.channel() < other.channel();
60 }
int channel() const
Definition: PixelDigi.h:51
std::ostream& operator<< ( std::ostream &  o,
const PixelDigi digi 
)
inline

Definition at line 63 of file PixelDigi.h.

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

63  {
64  return o << " " << digi.channel()
65  << " " << digi.adc();
66 }
int channel() const
Definition: PixelDigi.h:51
unsigned short adc() const
Definition: PixelDigi.h:38