Main Page
Namespaces
Classes
Package Documentation
DataFormats
EcalDigi
src
ESSample.cc
Go to the documentation of this file.
1
#include "
DataFormats/EcalDigi/interface/ESSample.h
"
2
3
ESSample::ESSample
(
int
adc
) {
4
theSample
= (int16_t)adc;
5
}
6
7
std::ostream&
operator<<
(std::ostream&
s
,
const
ESSample
& samp) {
8
s <<
"ADC = "
<< samp.
adc
() ;
9
return
s
;
10
}
alignCSCRings.s
s
Definition:
alignCSCRings.py:92
operator<<
std::ostream & operator<<(std::ostream &s, const ESSample &samp)
Definition:
ESSample.cc:7
ESSample::ESSample
ESSample()
Definition:
ESSample.h:11
ESSample::theSample
int16_t theSample
Definition:
ESSample.h:24
ESSample.h
ecalMGPA::adc
constexpr int adc(sample_type sample)
get the ADC sample (12 bits)
Definition:
EcalMGPASample.h:11
ESSample::adc
int adc() const
get the ADC sample (singed 16 bits)
Definition:
ESSample.h:18
ESSample
Definition:
ESSample.h:7
Generated for CMSSW Reference Manual by
1.8.11