CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Classes | Functions
EcalEBTriggerPrimitiveSample.h File Reference
#include <ostream>
#include <cstdint>

Go to the source code of this file.

Classes

class  EcalEBTriggerPrimitiveSample
 

Functions

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

Function Documentation

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

Definition at line 16 of file EcalEBTriggerPrimitiveSample.cc.

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

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