CMS 3D CMS Logo

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

Go to the source code of this file.

Functions

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

Function Documentation

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

Pretty-print operator for L1GctEtMiss.

Definition at line 37 of file L1GctEtMiss.cc.

References L1GctEtMiss::et(), L1GctEtMiss::overFlow(), L1GctEtMiss::phi(), and asciidump::s.

37  {
38  s << " L1GctEtMiss: ";
39  s << " mag=" << c.et() << ", phi=" << c.phi();
40  if (c.overFlow()) { s << "; overflow set"; }
41  return s;
42 }
unsigned phi() const
get the Et
Definition: L1GctEtMiss.h:64
bool overFlow() const
get the overflow
Definition: L1GctEtMiss.h:61
unsigned et() const
get the magnitude
Definition: L1GctEtMiss.h:58
string s
Definition: asciidump.py:422