CMS 3D CMS Logo

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

Go to the source code of this file.

Functions

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

Function Documentation

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

Pretty-print operator for L1GctEtTotal.

Definition at line 25 of file L1GctEtTotal.cc.

References L1GctEtTotal::et(), L1GctEtTotal::overFlow(), and asciidump::s.

25  {
26  s << " L1GctEtTotal: ";
27  s << " et=" << c.et();
28  if (c.overFlow()) { s << "; overflow set"; }
29  return s;
30 }
bool overFlow() const
get the overflow
Definition: L1GctEtTotal.h:48
unsigned et() const
get the Et
Definition: L1GctEtTotal.h:45
string s
Definition: asciidump.py:422