CMS 3D CMS Logo

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

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &s, const L1GctInternJetData &c)
 pretty print More...
 

Function Documentation

std::ostream& operator<< ( std::ostream &  s,
const L1GctInternJetData c 
)

pretty print

Definition at line 161 of file L1GctInternJetData.cc.

References L1GctInternJetData::bx(), L1GctInternJetData::capBlock(), L1GctInternJetData::capIndex(), TauDecayModes::dec, L1GctInternJetData::empty(), L1GctInternJetData::et(), L1GctInternJetData::eta(), L1GctInternJetData::gct_trig_object, L1GctInternJetData::jet_cluster, L1GctInternJetData::jet_cluster_minimal, L1GctInternJetData::jet_precluster, L1GctInternJetData::oflow(), L1GctInternJetData::phi(), L1GctInternJetData::rank(), alignCSCRings::s, L1GctInternJetData::tauVeto(), and L1GctInternJetData::type().

161  {
162  s << "L1GctInternJetData :";
163  if (c.empty()) {
164  s << " empty!";
165  }
167  s << " type=jet_cluster";
168  s << " oflow=" << c.oflow();
169  s << " et=" << c.et();
170  s << " eta=" << c.eta();
171  s << " phi=" << c.phi();
172  s << " tauVeto=" << c.tauVeto();
173  s << " rank=" << c.rank();
174  } else if (c.type()==L1GctInternJetData::jet_precluster){
175  s << " type=jet_precluster";
176  s << " oflow=" << c.oflow();
177  s << " et=" << c.et();
178  s << " eta=" << c.eta();
179  s << " tauVeto=" << c.tauVeto();
181  s << " type=jet_cluster_minimal";
182  s << " oflow=" << c.oflow();
183  s << " eta=" << c.eta();
184  s << " phi=" << c.phi();
185  s << " tauVeto=" << c.tauVeto();
186  s << " rank=" << c.rank();
187  } else if (c.type()==L1GctInternJetData::gct_trig_object){
188  s << " type=gct_trig_object";
189  s << " eta=" << c.eta();
190  s << " phi=" << c.phi();
191  s << " rank=" << c.rank();
192  }
193  s << " cap block=" << std::hex << c.capBlock();
194  s << " index=" << std::dec << c.capIndex();
195  s << " BX=" << c.bx();
196 
197  return s;
198 }
uint16_t rank() const
get rank bits
uint16_t tauVeto() const
get tau veto
uint16_t capIndex() const
get index within capture block
uint16_t eta() const
get eta
uint16_t oflow() const
get oflow
bool empty() const
was an object really found?
int16_t bx() const
get BX number
uint16_t et() const
get et
uint16_t phi() const
get phi
L1GctInternJetData::L1GctInternJetType type() const
&#39;type&#39; of object
uint16_t capBlock() const
get capture block