CMS 3D CMS Logo

EcalEBTriggerPrimitiveSample.cc
Go to the documentation of this file.
2 #include <iostream>
3 
6 
8  theSample = (encodedEt & 0x3FF) | ((isASpike) ? (0x400) : (0));
9 }
10 
12  theSample = (encodedEt & 0x3FF) | ((isASpike) ? (0x400) : (0)) | timing << 11;
13 }
14 
16 
17 std::ostream& operator<<(std::ostream& s, const EcalEBTriggerPrimitiveSample& samp) {
18  return s << "ET=" << samp.encodedEt() << ", isASpike=" << samp.l1aSpike() << " timing= " << samp.time();
19 }
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:80