test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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 74 of file L1CaloEmCand.cc.

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

74  {
75  s << "L1CaloEmCand : ";
76  s << "rank=" << cand.rank();
77  s << ", region=" << cand.rctRegion() << ", card=" << cand.rctCard() << ", crate=" << cand.rctCrate();
78  s << ", iso=" << cand.isolated();
79  s << ", index=" << cand.index() << ", BX=" << cand.bx();
80  return s;
81 }
unsigned rctCrate() const
get RCT crate
Definition: L1CaloEmCand.h:53
bool isolated() const
which stream did this come from
Definition: L1CaloEmCand.h:56
int16_t bx() const
get bunch-crossing index
Definition: L1CaloEmCand.h:62
unsigned rank() const
get rank bits
Definition: L1CaloEmCand.h:44
unsigned rctCard() const
get RCT receiver card
Definition: L1CaloEmCand.h:47
unsigned index() const
get index on cable
Definition: L1CaloEmCand.h:59
unsigned rctRegion() const
get RCT region ID
Definition: L1CaloEmCand.h:50