CMS 3D CMS Logo

Classes | Functions
L1GctEtTotal.h File Reference
#include <ostream>
#include <cstdint>

Go to the source code of this file.

Classes

class  L1GctEtTotal
 Persistable copy of total Et measured at Level-1. More...
 

Functions

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

Detailed Description

file for the GCT energy sum output

Author
: Jim Brooke

Definition in file L1GctEtTotal.h.

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 alignCSCRings::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