CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Classes | Functions
L1GctJet.h File Reference
#include <boost/cstdint.hpp>
#include <functional>
#include <vector>
#include <ostream>
#include "DataFormats/L1CaloTrigger/interface/L1CaloRegionDetId.h"
#include "boost/shared_ptr.hpp"

Go to the source code of this file.

Classes

class  L1GctJet
 A Level-1 jet candidate, used within GCT emulation. More...
 

Functions

std::ostream & operator<< (std::ostream &os, const L1GctJet &cand)
 

Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const L1GctJet cand 
)

Definition at line 23 of file L1GctJet.cc.

References L1GctJet::globalEta(), L1GctJet::globalPhi(), L1GctJet::isCentralJet(), L1GctJet::isForwardJet(), L1GctJet::isNullJet(), L1GctJet::isTauJet(), L1GctJet::m_rawsum, and L1GctJet::overFlow().

24 {
25  os << "L1 Gct jet";
26  os << " energy sum " << cand.m_rawsum;
27  if (cand.overFlow()) { os << ", overflow bit set;"; }
28  os << " Eta " << cand.globalEta();
29  os << " Phi " << cand.globalPhi();
30  if (cand.isForwardJet()) { os << ", Forward jet"; }
31  if (cand.isCentralJet()) { os << ", Central jet"; }
32  if (cand.isTauJet()) { os << ", Tau jet"; }
33  if (cand.isNullJet()) { os << ", Null jet"; }
34 
35  return os;
36 }
bool isTauJet() const
test whether this jet candidate is a valid tau jet
Definition: L1GctJet.h:62
uint16_t m_rawsum
Definition: L1GctJet.h:117
bool isNullJet() const
test whether this jet candidate has been filled
Definition: L1GctJet.h:71
unsigned globalPhi() const
phi value in global CMS coordinates
Definition: L1GctJet.h:89
unsigned globalEta() const
eta value in global CMS coordinates
Definition: L1GctJet.h:86
bool overFlow() const
get overflow
Definition: L1GctJet.h:59
bool isForwardJet() const
test whether this jet candidate is a forward jet
Definition: L1GctJet.h:68
bool isCentralJet() const
test whether this jet candidate is a (non-tau) central jet
Definition: L1GctJet.h:65