CMS 3D CMS Logo

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

◆ operator<()

bool operator< ( const CTPPSPixelDigi one,
const CTPPSPixelDigi other 
)
inline

Comparison operator.

Definition at line 57 of file CTPPSPixelDigi.h.

References trackingPlots::other, and CTPPSPixelDigi::rowcol_mask.

57  {
58  return (one.packedData() & CTPPSPixelDigi::rowcol_mask) < (other.packedData() & CTPPSPixelDigi::rowcol_mask);
59 }
static const uint32_t rowcol_mask

◆ operator<<()

std::ostream& operator<< ( std::ostream &  o,
const CTPPSPixelDigi digi 
)
inline

Definition at line 62 of file CTPPSPixelDigi.h.

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

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