CMS 3D CMS Logo

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

Go to the source code of this file.

Functions

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

Function Documentation

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

Definition at line 40 of file L1GctInternEmCand.cc.

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

40  {
41  s << "L1GctInternEmCand : ";
42  s << "rank=" << cand.rank();
43  s << ", etaSign=" << cand.etaSign() << ", eta=" << (cand.etaIndex() & 0xf) << ", phi=" << cand.phiIndex();
44  s << ", iso=" << cand.isolated();
45  s << " cap block=" << hex << cand.capBlock();
46  s << ", index=" << dec << cand.capIndex() << ", BX=" << cand.bx();
47  return s;
48 }
int16_t bx() const
get bunch-crossing index
unsigned etaIndex() const
get eta index - Barrel 1:4, Endcap 5:7, HF 8:11
unsigned capBlock() const
which capture block did this come from
bool isolated() const
which stream did this come from
unsigned phiIndex() const
get phi index (0-17)
unsigned capIndex() const
what index within capture block
unsigned etaSign() const
get eta sign (1 for -ve Z, 0 for +ve Z)
unsigned rank() const
get rank bits