CMS 3D CMS Logo

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

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &s, const L1GctHtMiss &c)
 Pretty-print operator for L1GctHtMiss. More...
 

Function Documentation

std::ostream& operator<< ( std::ostream &  s,
const L1GctHtMiss c 
)

Pretty-print operator for L1GctHtMiss.

Definition at line 36 of file L1GctHtMiss.cc.

References L1GctHtMiss::et(), L1GctHtMiss::overFlow(), L1GctHtMiss::phi(), and alignCSCRings::s.

36  {
37  s << " L1GctHtMiss: ";
38  s << " mag=" << c.et() << ", phi=" << c.phi();
39  if (c.overFlow()) {
40  s << "; overflow set";
41  }
42  return s;
43 }
bool overFlow() const
get the overflow
Definition: L1GctHtMiss.h:62
unsigned et() const
get the magnitude
Definition: L1GctHtMiss.h:59
unsigned phi() const
get the Et
Definition: L1GctHtMiss.h:65