CMS 3D CMS Logo

Classes | Namespaces | Typedefs | Functions
EcalMGPASample.h File Reference
#include <iosfwd>
#include <cstdint>

Go to the source code of this file.

Classes

class  EcalMGPASample
 

Namespaces

 ecalMGPA
 

Typedefs

typedef uint16_t ecalMGPA::sample_type
 

Functions

constexpr int ecalMGPA::adc (sample_type sample)
 get the ADC sample (12 bits) More...
 
constexpr int ecalMGPA::gainId (sample_type sample)
 get the gainId (2 bits) More...
 
std::ostream & operator<< (std::ostream &, const EcalMGPASample &)
 
constexpr sample_type ecalMGPA::pack (int adc, int gainId)
 

Function Documentation

◆ operator<<()

std::ostream& operator<< ( std::ostream &  ,
const EcalMGPASample  
)

Definition at line 6 of file EcalMGPASample.cc.

6  {
7  s << "ADC=" << samp.adc() << ", gainId=" << samp.gainId();
8  return s;
9 }

References EcalMGPASample::adc(), EcalMGPASample::gainId(), and alignCSCRings::s.

alignCSCRings.s
s
Definition: alignCSCRings.py:92