CMS 3D CMS Logo

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

Go to the source code of this file.

Classes

class  L1CaloEmCand
 Level-1 Region Calorimeter Trigger EM candidate. More...
 

Functions

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

Function Documentation

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