CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions
HcalTriggerPrimitiveSample.cc File Reference
#include "DataFormats/HcalDigi/interface/HcalTriggerPrimitiveSample.h"

Go to the source code of this file.

Functions

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

Function Documentation

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

Definition at line 16 of file HcalTriggerPrimitiveSample.cc.

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

16  {
17  return s << "Value=" << samp.compressedEt() << ", FG=" << samp.fineGrain();
18 }
bool fineGrain(int i=0) const
get fine-grain bit (traditional)
int compressedEt() const
get the encoded/compressed Et