CMS 3D CMS Logo

Functions
L1GctJetCand.cc File Reference
#include "DataFormats/L1GlobalCaloTrigger/interface/L1GctJetCand.h"

Go to the source code of this file.

Functions

ostream & operator<< (ostream &s, const L1GctJetCand &cand)
 

Function Documentation

◆ operator<<()

ostream& operator<< ( ostream &  s,
const L1GctJetCand cand 
)

Definition at line 70 of file L1GctJetCand.cc.

References TauDecayModes::dec, and alignCSCRings::s.

70  {
71  if (cand.empty()) {
72  s << "L1GctJetCand empty jet";
73  } else {
74  s << "L1GctJetCand : ";
75  s << "rank=" << cand.rank();
76  s << ", etaSign=" << cand.etaSign() << ", eta=" << (cand.etaIndex() & 0x7) << ", phi=" << cand.phiIndex();
77  s << " type=";
78  if (cand.isTau()) {
79  s << "tau";
80  } else if (cand.isForward()) {
81  s << "forward";
82  } else {
83  s << "central";
84  }
85  }
86  s << hex << " cap block=" << cand.capBlock() << dec << ", index=" << cand.capIndex() << ", BX=" << cand.bx();
87  return s;
88 }