test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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 44 of file L1GctHtMiss.cc.

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

44  {
45  s << " L1GctHtMiss: ";
46  s << " mag=" << c.et() << ", phi=" << c.phi();
47  if (c.overFlow()) { s << "; overflow set"; }
48  return s;
49 }
bool overFlow() const
get the overflow
Definition: L1GctHtMiss.h:63
unsigned et() const
get the magnitude
Definition: L1GctHtMiss.h:60
unsigned phi() const
get the Et
Definition: L1GctHtMiss.h:66