CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
EcalEBTriggerPrimitiveSample.cc
Go to the documentation of this file.
2 
5 
7  theSample = (encodedEt & 0x3FF) | ((isASpike) ? (0x400) : (0));
8 }
9 
10 EcalEBTriggerPrimitiveSample::EcalEBTriggerPrimitiveSample(int encodedEt, bool isASpike, int timing) {
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 &out, const ALILine &li)
Definition: ALILine.cc:167
int encodedEt() const
get the encoded Et (10 bits)
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:79