CMS 3D CMS Logo

EcalEBTriggerPrimitiveSample.cc
Go to the documentation of this file.
2 
5 
7  theSample = (encodedEt & 0x3FF) | ((isASpike) ? (0x400) : (0));
8 }
9 
11  theSample = (encodedEt & 0x3FF) | ((isASpike) ? (0x400) : (0)) | timing << 11;
12 }
13 
15 
16 std::ostream& operator<<(std::ostream& s, const EcalEBTriggerPrimitiveSample& samp) {
17  return s << "ET=" << samp.encodedEt() << ", isASpike=" << samp.l1aSpike() << " timing= " << samp.time();
18 }
std::ostream & operator<<(std::ostream &s, const EcalEBTriggerPrimitiveSample &samp)
int encodedEt() const
get the encoded Et (10 bits)
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:79