CMS 3D CMS Logo

Functions

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_6_2_7/src/L1Trigger/GlobalCaloTrigger/src/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().

{
  os << "L1 Gct jet";
  os << " energy sum " << cand.m_rawsum;
  if (cand.overFlow()) { os << ", overflow bit set;"; }
  os << " Eta " << cand.globalEta();
  os << " Phi " << cand.globalPhi();
  if (cand.isForwardJet()) { os << ", Forward jet"; }
  if (cand.isCentralJet()) { os << ", Central jet"; }
  if (cand.isTauJet()) { os << ", Tau jet"; }
  if (cand.isNullJet()) { os << ", Null jet"; }

  return os;
}