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

◆ operator<<()

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 tdcValue() const
get the ADC sample (24 bits)
unsigned int tdcChannel() const
get the gainId (8 bits)