test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Classes | Functions
EcalPseudoStripInputSample.h File Reference
#include <boost/cstdint.hpp>
#include <ostream>

Go to the source code of this file.

Classes

class  EcalPseudoStripInputSample
 

Functions

std::ostream & operator<< (std::ostream &s, const EcalPseudoStripInputSample &samp)
 

Function Documentation

std::ostream& operator<< ( std::ostream &  s,
const EcalPseudoStripInputSample samp 
)

Definition at line 12 of file EcalPseudoStripInputSample.cc.

References EcalPseudoStripInputSample::fineGrain(), and EcalPseudoStripInputSample::pseudoStripInput().

12  {
13  return s << "PSInput=" << samp.pseudoStripInput() << ", FG=" << samp.fineGrain();
14 }
bool fineGrain() const
get the fine-grain bit (1 bit, the 13-th)
int pseudoStripInput() const
get the pseudoStrip Input amplitude (12 bits)