CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions
L1GctEmCand.cc File Reference
#include "DataFormats/L1GlobalCaloTrigger/interface/L1GctEmCand.h"
#include <iostream>

Go to the source code of this file.

Functions

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

Function Documentation

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

Definition at line 110 of file L1GctEmCand.cc.

References L1GctEmCand::bx(), L1GctEmCand::capBlock(), L1GctEmCand::capIndex(), L1GctEmCand::etaIndex(), L1GctEmCand::etaSign(), L1GctEmCand::isolated(), L1GctEmCand::phiIndex(), L1GctEmCand::rank(), and alignCSCRings::s.

110  {
111  s << "L1GctEmCand : ";
112  s << "rank=" << cand.rank();
113  s << ", etaSign=" << cand.etaSign() << ", eta=" << (cand.etaIndex()&0x7) << ", phi=" << cand.phiIndex();
114  s << ", iso=" << cand.isolated();
115  s << hex << " cap block=" << cand.capBlock() << dec << ", index=" << cand.capIndex() << ", BX=" << cand.bx();
116  return s;
117 }
unsigned capIndex() const
what index within capture block
Definition: L1GctEmCand.h:79
unsigned etaSign() const
get eta sign (1 for -ve Z, 0 for +ve Z)
Definition: L1GctEmCand.h:67
unsigned rank() const
get rank bits
Definition: L1GctEmCand.h:61
unsigned phiIndex() const
get phi index (0-17)
Definition: L1GctEmCand.h:70
unsigned etaIndex() const
get eta index -6 to -0, +0 to +6 (bit 3 is sign, 1 for -ve Z, 0 for +ve Z)
Definition: L1GctEmCand.h:64
bool isolated() const
which stream did this come from
Definition: L1GctEmCand.h:73
int16_t bx() const
get bunch-crossing index
Definition: L1GctEmCand.h:82
unsigned capBlock() const
which capture block did this come from
Definition: L1GctEmCand.h:76