CMS 3D CMS Logo

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

Go to the source code of this file.

Functions

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

Function Documentation

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

Definition at line 52 of file L1CaloEmCand.cc.

References L1CaloEmCand::bx(), L1CaloEmCand::index(), L1CaloEmCand::isolated(), L1CaloEmCand::rank(), L1CaloEmCand::rctCard(), L1CaloEmCand::rctCrate(), L1CaloEmCand::rctRegion(), and alignCSCRings::s.

52  {
53  s << "L1CaloEmCand : ";
54  s << "rank=" << cand.rank();
55  s << ", region=" << cand.rctRegion() << ", card=" << cand.rctCard() << ", crate=" << cand.rctCrate();
56  s << ", iso=" << cand.isolated();
57  s << ", index=" << cand.index() << ", BX=" << cand.bx();
58  return s;
59 }
unsigned rctCrate() const
get RCT crate
Definition: L1CaloEmCand.h:51
bool isolated() const
which stream did this come from
Definition: L1CaloEmCand.h:54
int16_t bx() const
get bunch-crossing index
Definition: L1CaloEmCand.h:60
unsigned rank() const
get rank bits
Definition: L1CaloEmCand.h:42
unsigned rctCard() const
get RCT receiver card
Definition: L1CaloEmCand.h:45
unsigned index() const
get index on cable
Definition: L1CaloEmCand.h:57
unsigned rctRegion() const
get RCT region ID
Definition: L1CaloEmCand.h:48