CMS 3D CMS Logo

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

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 44 of file L1GctHtMiss.cc.

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

44  {
45  s << " L1GctHtMiss: ";
46  s << " mag=" << c.et() << ", phi=" << c.phi();
47  if (c.overFlow()) { s << "; overflow set"; }
48  return s;
49 }
bool overFlow() const
get the overflow
Definition: L1GctHtMiss.h:63
unsigned et() const
get the magnitude
Definition: L1GctHtMiss.h:60
unsigned phi() const
get the Et
Definition: L1GctHtMiss.h:66