CMS 3D CMS Logo

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

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

33  {
34  s << " L1GctEtMiss: ";
35  s << " mag=" << c.et() << ", phi=" << c.phi();
36  if (c.overFlow()) {
37  s << "; overflow set";
38  }
39  return s;
40 }
unsigned phi() const
get the Et
Definition: L1GctEtMiss.h:62
bool overFlow() const
get the overflow
Definition: L1GctEtMiss.h:59
unsigned et() const
get the magnitude
Definition: L1GctEtMiss.h:56