CMS 3D CMS Logo

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

Go to the source code of this file.

Classes

class  HcalTriggerPrimitiveSample
 

Functions

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

Function Documentation

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

Definition at line 12 of file HcalTriggerPrimitiveSample.cc.

References HcalTriggerPrimitiveSample::compressedEt(), and HcalTriggerPrimitiveSample::fineGrain().

12  {
13  return s << "Value=" << samp.compressedEt() << ", FG=" << samp.fineGrain();
14 }
bool fineGrain() const
get the fine-grain bit
int compressedEt() const
get the encoded/compressed Et