CMS 3D CMS Logo

EcalLiteDTUSample.cc
Go to the documentation of this file.
2 #include <iostream>
3 
6 }
7 
8 std::ostream& operator<<(std::ostream& s, const EcalLiteDTUSample& samp) {
9  s << "ADC=" << samp.adc() << ", gainId=" << samp.gainId();
10  return s;
11 }
operator<<
std::ostream & operator<<(std::ostream &s, const EcalLiteDTUSample &samp)
Definition: EcalLiteDTUSample.cc:8
EcalLiteDTUSample::EcalLiteDTUSample
EcalLiteDTUSample()
Definition: EcalLiteDTUSample.h:27
ecalLiteDTU::gainId
constexpr int gainId(sample_type sample)
get the gainId (2 bits)
Definition: EcalLiteDTUSample.h:14
ecalPh2::kGainIdMask
static constexpr unsigned int kGainIdMask
Definition: EcalConstants.h:19
EcalLiteDTUSample.h
EcalLiteDTUSample::adc
int adc() const
get the ADC sample (12 bits)
Definition: EcalLiteDTUSample.h:34
ecalLiteDTU::adc
constexpr int adc(sample_type sample)
get the ADC sample (12 bits)
Definition: EcalLiteDTUSample.h:12
alignCSCRings.s
s
Definition: alignCSCRings.py:92
EcalLiteDTUSample
Definition: EcalLiteDTUSample.h:25
EcalLiteDTUSample::theSample
uint16_t theSample
Definition: EcalLiteDTUSample.h:42
EcalLiteDTUSample::gainId
int gainId() const
get the gainId (2 bits)
Definition: EcalLiteDTUSample.h:36
ecalPh2::kAdcMask
static constexpr unsigned int kAdcMask
Definition: EcalConstants.h:18
ecalPh2::NBITS
static constexpr unsigned int NBITS
Definition: EcalConstants.h:13