Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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
}
EcalTBTDCSample::tdcChannel
unsigned int tdcChannel() const
get the gainId (8 bits)
Definition:
EcalTBTDCSample.h:26
EcalTBTDCSample::EcalTBTDCSample
EcalTBTDCSample()
Definition:
EcalTBTDCSample.h:17
operator<<
std::ostream & operator<<(std::ostream &out, const ALILine &li)
Definition:
ALILine.cc:187
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
alignCSCRings.s
list s
Definition:
alignCSCRings.py:91
EcalTBTDCSample.h
Generated for CMSSW Reference Manual by
1.8.5