CMS 3D CMS Logo

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

◆ operator<<()

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

Definition at line 136 of file L1CaloRegion.cc.

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

136  {
137  os << "L1CaloRegion:";
138  os << " Et=" << reg.et();
139  os << " o/f=" << reg.overFlow();
140  os << " f/g=" << reg.fineGrain();
141  os << " tau=" << reg.tauVeto() << endl;
142  os << " RCT crate=" << reg.rctCrate();
143  os << " RCT card=" << reg.rctCard();
144  os << " RCT rgn=" << reg.rctRegionIndex();
145  os << " RCT eta=" << reg.rctEta();
146  os << " RCT phi=" << reg.rctPhi() << endl;
147  os << " GCT eta=" << reg.gctEta();
148  os << " GCT phi=" << reg.gctPhi() << endl;
149  os << hex << " cap block=" << reg.capBlock() << dec << ", index=" << reg.capIndex() << ", BX=" << reg.bx();
150  return os;
151 }
bool overFlow() const
get overflow
Definition: L1CaloRegion.h:96
unsigned rctCrate() const
get RCT crate ID
Definition: L1CaloRegion.h:138
unsigned rctPhi() const
get local phi index (within RCT crate)
Definition: L1CaloRegion.h:150
unsigned rctCard() const
get RCT reciever card ID (valid output for HB/HE)
Definition: L1CaloRegion.h:141
unsigned capBlock() const
which capture block did this come from
Definition: L1CaloRegion.h:159
unsigned capIndex() const
what index within capture block
Definition: L1CaloRegion.h:162
unsigned rctRegionIndex() const
get RCT region index
Definition: L1CaloRegion.h:144
bool fineGrain() const
get fine grain bit
Definition: L1CaloRegion.h:102
int16_t bx() const
get bunch-crossing index
Definition: L1CaloRegion.h:165
unsigned gctEta() const
get GCT eta index
Definition: L1CaloRegion.h:153
unsigned et() const
get Et
Definition: L1CaloRegion.h:90
unsigned rctEta() const
get local eta index (within RCT crate)
Definition: L1CaloRegion.h:147
unsigned gctPhi() const
get GCT phi index
Definition: L1CaloRegion.h:156
bool tauVeto() const
get tau veto bit
Definition: L1CaloRegion.h:99