CMS 3D CMS Logo

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

Go to the source code of this file.

Functions

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

Function Documentation

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

Pretty-print operator for L1GctEtHad.

Definition at line 21 of file L1GctEtHad.cc.

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

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