CMS 3D CMS Logo

Functions
EcalTBTDCSample.cc File Reference
#include "TBDataFormats/EcalTBObjects/interface/EcalTBTDCSample.h"

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &s, const EcalTBTDCSample &samp)
 

Function Documentation

std::ostream& operator<< ( std::ostream &  s,
const EcalTBTDCSample samp 
)

Definition at line 8 of file EcalTBTDCSample.cc.

References alignCSCRings::s, EcalTBTDCSample::tdcChannel(), and EcalTBTDCSample::tdcValue().

8  {
9  s << "TDC Channel=" << samp.tdcChannel() << ", Value=" << samp.tdcValue();
10  return s;
11 }
unsigned int tdcChannel() const
get the gainId (8 bits)
unsigned int tdcValue() const
get the ADC sample (24 bits)