CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Classes | Functions
L1GctHtMiss.h File Reference
#include <ostream>
#include <cstdint>

Go to the source code of this file.

Classes

class  L1GctHtMiss
 Persistable copy of missing Et measured at Level-1. More...
 

Functions

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

Detailed Description

Author
: Jim Brooke

Definition in file L1GctHtMiss.h.

Function Documentation

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

Pretty-print operator for L1GctHtMiss.

Definition at line 36 of file L1GctHtMiss.cc.

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

36  {
37  s << " L1GctHtMiss: ";
38  s << " mag=" << c.et() << ", phi=" << c.phi();
39  if (c.overFlow()) {
40  s << "; overflow set";
41  }
42  return s;
43 }
bool overFlow() const
get the overflow
Definition: L1GctHtMiss.h:62
unsigned et() const
get the magnitude
Definition: L1GctHtMiss.h:59
unsigned phi() const
get the Et
Definition: L1GctHtMiss.h:65