CMS 3D CMS Logo

Functions
L1GctJet.cc File Reference
#include "L1Trigger/GlobalCaloTrigger/interface/L1GctJet.h"
#include "L1Trigger/GlobalCaloTrigger/interface/L1GctJetEtCalibrationLut.h"
#include "DataFormats/L1GlobalCaloTrigger/interface/L1GctJetCand.h"

Go to the source code of this file.

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