DataFormats
EcalDigi
src
EcalFEMSample.cc
Go to the documentation of this file.
1
#include "
DataFormats/EcalDigi/interface/EcalFEMSample.h
"
2
3
EcalFEMSample::EcalFEMSample
(
int
adc
,
int
gainId
) {
theSample
= (
adc
& 0xFFF) | ((
gainId
& 0x3) << 12); }
4
5
std::ostream&
operator<<
(std::ostream&
s
,
const
EcalFEMSample
& samp) {
6
s
<<
"ADC="
<< samp.
adc
() <<
", gainId="
<< samp.
gainId
();
7
return
s
;
8
}
EcalFEMSample::theSample
uint16_t theSample
Definition:
EcalFEMSample.h:30
ecalLiteDTU::gainId
constexpr int gainId(sample_type sample)
get the gainId (2 bits)
Definition:
EcalLiteDTUSample.h:14
EcalFEMSample::EcalFEMSample
EcalFEMSample()
Definition:
EcalFEMSample.h:16
EcalFEMSample::gainId
int gainId() const
get the gainId (2 bits)
Definition:
EcalFEMSample.h:25
gpuClustering::adc
uint16_t *__restrict__ uint16_t const *__restrict__ adc
Definition:
gpuClusterChargeCut.h:20
alignCSCRings.s
s
Definition:
alignCSCRings.py:92
operator<<
std::ostream & operator<<(std::ostream &s, const EcalFEMSample &samp)
Definition:
EcalFEMSample.cc:5
EcalFEMSample.h
EcalFEMSample
Definition:
EcalFEMSample.h:14
EcalFEMSample::adc
int adc() const
get the ADC sample (12 bits)
Definition:
EcalFEMSample.h:23
Generated for CMSSW Reference Manual by
1.8.16