CMS 3D CMS Logo

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

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

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