CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Classes | Functions
L1GctEmCand.h File Reference
#include <ostream>
#include <string>
#include "DataFormats/L1GlobalCaloTrigger/interface/L1GctCand.h"
#include "DataFormats/L1CaloTrigger/interface/L1CaloRegionDetId.h"
#include "DataFormats/L1CaloTrigger/interface/L1CaloEmCand.h"

Go to the source code of this file.

Classes

class  L1GctEmCand
 Level-1 Trigger EM candidate at output of GCT. More...
 

Functions

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

Function Documentation

std::ostream& operator<< ( std::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