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 }
EcalEBTriggerPrimitiveSample::l1aSpike
bool l1aSpike() const
Definition: EcalEBTriggerPrimitiveSample.h:36
EcalEBTriggerPrimitiveSample
Definition: EcalEBTriggerPrimitiveSample.h:12
alignCSCRings.s
s
Definition: alignCSCRings.py:92
EcalEBTriggerPrimitiveSample::time
int time() const
Definition: EcalEBTriggerPrimitiveSample.h:38
operator<<
std::ostream & operator<<(std::ostream &s, const EcalEBTriggerPrimitiveSample &samp)
Definition: EcalEBTriggerPrimitiveSample.cc:16
EcalEBTriggerPrimitiveSample::EcalEBTriggerPrimitiveSample
EcalEBTriggerPrimitiveSample()
Definition: EcalEBTriggerPrimitiveSample.cc:3
EcalEBTriggerPrimitiveSample::encodedEt
int encodedEt() const
get the encoded Et (10 bits)
Definition: EcalEBTriggerPrimitiveSample.h:34
ecalMatacq_cfi.timing
timing
Definition: ecalMatacq_cfi.py:26
EcalEBTriggerPrimitiveSample.h
data
char data[epos_bytes_allocation]
Definition: EPOS_Wrapper.h:79
EcalEBTriggerPrimitiveSample::theSample
uint16_t theSample
Definition: EcalEBTriggerPrimitiveSample.h:44