CMS 3D CMS Logo

Functions
EcalEBTriggerPrimitiveSample.cc File Reference
#include "DataFormats/EcalDigi/interface/EcalEBTriggerPrimitiveSample.h"
#include <iostream>

Go to the source code of this file.

Functions

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

Function Documentation

◆ operator<<()

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

Definition at line 17 of file EcalEBTriggerPrimitiveSample.cc.

References EcalEBTriggerPrimitiveSample::encodedEt(), EcalEBTriggerPrimitiveSample::l1aSpike(), alignCSCRings::s, and EcalEBTriggerPrimitiveSample::time().

17  {
18  return s << "ET=" << samp.encodedEt() << ", isASpike=" << samp.l1aSpike() << " timing= " << samp.time();
19 }
int encodedEt() const
get the encoded Et (10 bits)