Main Page
Namespaces
Classes
Package Documentation
src
TBDataFormats
EcalTBObjects
src
EcalTBTDCSample.cc
Go to the documentation of this file.
1
#include "
TBDataFormats/EcalTBObjects/interface/EcalTBTDCSample.h
"
2
3
4
EcalTBTDCSample::EcalTBTDCSample
(
unsigned
int
tdcChan,
unsigned
int
tdcVal) {
5
theSample
=(tdcVal&0xFFFFFF) | ((tdcChan&0xFF)<<24);
6
}
7
8
std::ostream&
operator<<
(std::ostream&
s
,
const
EcalTBTDCSample
& samp) {
9
s <<
"TDC Channel="
<< samp.
tdcChannel
() <<
", Value="
<< samp.
tdcValue
();
10
return
s
;
11
}
operator<<
std::ostream & operator<<(std::ostream &s, const EcalTBTDCSample &samp)
Definition:
EcalTBTDCSample.cc:8
EcalTBTDCSample::tdcChannel
unsigned int tdcChannel() const
get the gainId (8 bits)
Definition:
EcalTBTDCSample.h:26
alignCSCRings.s
s
Definition:
alignCSCRings.py:91
EcalTBTDCSample::EcalTBTDCSample
EcalTBTDCSample()
Definition:
EcalTBTDCSample.h:17
EcalTBTDCSample::tdcValue
unsigned int tdcValue() const
get the ADC sample (24 bits)
Definition:
EcalTBTDCSample.h:24
EcalTBTDCSample::theSample
uint32_t theSample
Definition:
EcalTBTDCSample.h:31
EcalTBTDCSample
Definition:
EcalTBTDCSample.h:15
EcalTBTDCSample.h
Generated for CMSSW Reference Manual by
1.8.11