CMS 3D CMS Logo

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

Go to the source code of this file.

Classes

class  EcalTriggerPrimitiveSample
 

Functions

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

Function Documentation

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

Definition at line 19 of file EcalTriggerPrimitiveSample.cc.

References EcalTriggerPrimitiveSample::compressedEt(), EcalTriggerPrimitiveSample::fineGrain(), EcalTriggerPrimitiveSample::sFGVB(), and EcalTriggerPrimitiveSample::ttFlag().

19  {
20  return s << "ET=" << samp.compressedEt() << ", FG=" << samp.fineGrain()
21  << ", sFGVB=" << samp.sFGVB() << ", TTF=" << samp.ttFlag();
22 }
int compressedEt() const
get the encoded/compressed Et (8 bits)
bool fineGrain() const
get the fine-grain bit (1 bit)
int ttFlag() const
get the Trigger tower Flag (3 bits)