CMS 3D CMS Logo

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 93 of file L1GctEmCand.cc.

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

93  {
94  s << "L1GctEmCand : ";
95  s << "rank=" << cand.rank();
96  s << ", etaSign=" << cand.etaSign() << ", eta=" << (cand.etaIndex() & 0x7) << ", phi=" << cand.phiIndex();
97  s << ", iso=" << cand.isolated();
98  s << hex << " cap block=" << cand.capBlock() << dec << ", index=" << cand.capIndex() << ", BX=" << cand.bx();
99  return s;
100 }
unsigned capIndex() const
what index within capture block
Definition: L1GctEmCand.h:77
unsigned rank() const override
get rank bits
Definition: L1GctEmCand.h:59
unsigned phiIndex() const override
get phi index (0-17)
Definition: L1GctEmCand.h:68
unsigned etaIndex() const override
get eta index -6 to -0, +0 to +6 (bit 3 is sign, 1 for -ve Z, 0 for +ve Z)
Definition: L1GctEmCand.h:62
unsigned etaSign() const override
get eta sign (1 for -ve Z, 0 for +ve Z)
Definition: L1GctEmCand.h:65
bool isolated() const
which stream did this come from
Definition: L1GctEmCand.h:71
int16_t bx() const
get bunch-crossing index
Definition: L1GctEmCand.h:80
unsigned capBlock() const
which capture block did this come from
Definition: L1GctEmCand.h:74