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 }
static constexpr unsigned int kGainIdMask
Definition: EcalConstants.h:36
int adc() const
get the ADC sample (12 bits)
static constexpr unsigned int kAdcMask
Definition: EcalConstants.h:35
std::ostream & operator<<(std::ostream &s, const EcalLiteDTUSample &samp)
int gainId() const
get the gainId (2 bits)
constexpr int gainId(sample_type sample)
get the gainId (2 bits)
static constexpr unsigned int NBITS
Definition: EcalConstants.h:28
uint16_t *__restrict__ uint16_t const *__restrict__ adc