test
CMS 3D CMS Logo

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

Go to the source code of this file.

Functions

ostream & operator<< (ostream &os, const L1CaloRegion &reg)
 

Function Documentation

ostream& operator<< ( ostream &  os,
const L1CaloRegion reg 
)

Definition at line 173 of file L1CaloRegion.cc.

References L1CaloRegion::bx(), L1CaloRegion::capBlock(), L1CaloRegion::capIndex(), L1CaloRegion::et(), L1CaloRegion::fineGrain(), L1CaloRegion::gctEta(), L1CaloRegion::gctPhi(), L1CaloRegion::overFlow(), L1CaloRegion::rctCard(), L1CaloRegion::rctCrate(), L1CaloRegion::rctEta(), L1CaloRegion::rctPhi(), L1CaloRegion::rctRegionIndex(), and L1CaloRegion::tauVeto().

173  {
174  os << "L1CaloRegion:";
175  os << " Et=" << reg.et();
176  os << " o/f=" << reg.overFlow();
177  os << " f/g=" << reg.fineGrain();
178  os << " tau=" << reg.tauVeto() << endl;
179  os << " RCT crate=" << reg.rctCrate();
180  os << " RCT card=" << reg.rctCard();
181  os << " RCT rgn=" << reg.rctRegionIndex();
182  os << " RCT eta=" << reg.rctEta();
183  os << " RCT phi=" << reg.rctPhi() << endl;
184  os << " GCT eta=" << reg.gctEta();
185  os << " GCT phi=" << reg.gctPhi() << endl;
186  os << hex << " cap block=" << reg.capBlock() << dec << ", index=" << reg.capIndex() << ", BX=" << reg.bx();
187  return os;
188 }
int16_t bx() const
get bunch-crossing index
Definition: L1CaloRegion.h:192
unsigned capIndex() const
what index within capture block
Definition: L1CaloRegion.h:189
unsigned et() const
get Et
Definition: L1CaloRegion.h:116
bool overFlow() const
get overflow
Definition: L1CaloRegion.h:122
unsigned rctEta() const
get local eta index (within RCT crate)
Definition: L1CaloRegion.h:174
unsigned rctCrate() const
get RCT crate ID
Definition: L1CaloRegion.h:165
unsigned rctCard() const
get RCT reciever card ID (valid output for HB/HE)
Definition: L1CaloRegion.h:168
unsigned rctRegionIndex() const
get RCT region index
Definition: L1CaloRegion.h:171
bool tauVeto() const
get tau veto bit
Definition: L1CaloRegion.h:125
unsigned rctPhi() const
get local phi index (within RCT crate)
Definition: L1CaloRegion.h:177
bool fineGrain() const
get fine grain bit
Definition: L1CaloRegion.h:128
unsigned gctEta() const
get GCT eta index
Definition: L1CaloRegion.h:180
unsigned gctPhi() const
get GCT phi index
Definition: L1CaloRegion.h:183
unsigned capBlock() const
which capture block did this come from
Definition: L1CaloRegion.h:186