CMS 3D CMS Logo

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

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

21  {
22  s << " L1GctEtTotal: ";
23  s << " et=" << c.et();
24  if (c.overFlow()) {
25  s << "; overflow set";
26  }
27  return s;
28 }
bool overFlow() const
get the overflow
Definition: L1GctEtTotal.h:46
unsigned et() const
get the Et
Definition: L1GctEtTotal.h:43