CMS 3D CMS Logo

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

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 16 of file EcalEBTriggerPrimitiveSample.cc.

16  {
17  return s << "ET=" << samp.encodedEt() << ", isASpike=" << samp.l1aSpike() << " timing= " << samp.time();
18 }

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

EcalEBTriggerPrimitiveSample::l1aSpike
bool l1aSpike() const
Definition: EcalEBTriggerPrimitiveSample.h:36
alignCSCRings.s
s
Definition: alignCSCRings.py:92
EcalEBTriggerPrimitiveSample::time
int time() const
Definition: EcalEBTriggerPrimitiveSample.h:38
EcalEBTriggerPrimitiveSample::encodedEt
int encodedEt() const
get the encoded Et (10 bits)
Definition: EcalEBTriggerPrimitiveSample.h:34