CMS 3D CMS Logo

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

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

95  {
96  return o << " " << digi.channel() << " " << digi.adc();
97 }
int channel() const
Definition: PixelDigi.h:77
unsigned short adc() const
Definition: PixelDigi.h:64