CMS 3D CMS Logo

EcalEBTriggerPrimitiveSample.cc
Go to the documentation of this file.
2 
3 
4 
7 
9  theSample=(encodedEt&0x3FF)| ((isASpike)?(0x400):(0));
10 }
11 
12 
14  theSample=(encodedEt&0x3FF)| ((isASpike)?(0x400):(0)) | timing<<11;
15 }
16 
17 
19  theSample=encodedEt&0x3FF;
20 }
21 
22 
23 
24 std::ostream& operator<<(std::ostream& s, const EcalEBTriggerPrimitiveSample& samp) {
25  return s << "ET=" << samp.encodedEt() << ", isASpike=" << samp.l1aSpike()<< " timing= " << samp.time() ;
26 
27 }
28 
29 
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:82