#include "DataFormats/L1GlobalCaloTrigger/interface/L1GctJetCand.h"
Go to the source code of this file.
Functions | |
ostream & | operator<< (ostream &s, const L1GctJetCand &cand) |
ostream& operator<< | ( | ostream & | s, | |
const L1GctJetCand & | cand | |||
) |
Definition at line 85 of file L1GctJetCand.cc.
References L1GctJetCand::bx(), L1GctJetCand::capBlock(), L1GctJetCand::capIndex(), L1GctJetCand::empty(), L1GctJetCand::etaIndex(), L1GctJetCand::etaSign(), L1GctJetCand::isForward(), L1GctJetCand::isTau(), L1GctJetCand::phiIndex(), and L1GctJetCand::rank().
00085 { 00086 if (cand.empty()) { 00087 s << "L1GctJetCand empty jet"; 00088 } else { 00089 s << "L1GctJetCand : " << hex; 00090 s << "rank=" << cand.rank(); 00091 s << ", etaSign=" << cand.etaSign() << ", eta=" << (cand.etaIndex()&0x7) << ", phi=" << cand.phiIndex() << dec; 00092 s << " type="; 00093 if (cand.isTau()) { s << "tau"; } 00094 else if (cand.isForward()) { s << "forward"; } 00095 else { s << "central"; } 00096 } 00097 s << hex << " cap block=" << cand.capBlock() << ", index=" << cand.capIndex() << ", BX=" << cand.bx() << dec; 00098 return s; 00099 }