CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups 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 120 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().

120  {
121  s << "L1GctInternJetData :";
122  if (c.empty()) {
123  s << " empty!";
124  }
126  s << " type=jet_cluster";
127  s << " oflow=" << c.oflow();
128  s << " et=" << c.et();
129  s << " eta=" << c.eta();
130  s << " phi=" << c.phi();
131  s << " tauVeto=" << c.tauVeto();
132  s << " rank=" << c.rank();
133  } else if (c.type() == L1GctInternJetData::jet_precluster) {
134  s << " type=jet_precluster";
135  s << " oflow=" << c.oflow();
136  s << " et=" << c.et();
137  s << " eta=" << c.eta();
138  s << " tauVeto=" << c.tauVeto();
139  } else if (c.type() == L1GctInternJetData::jet_cluster_minimal) {
140  s << " type=jet_cluster_minimal";
141  s << " oflow=" << c.oflow();
142  s << " eta=" << c.eta();
143  s << " phi=" << c.phi();
144  s << " tauVeto=" << c.tauVeto();
145  s << " rank=" << c.rank();
146  } else if (c.type() == L1GctInternJetData::gct_trig_object) {
147  s << " type=gct_trig_object";
148  s << " eta=" << c.eta();
149  s << " phi=" << c.phi();
150  s << " rank=" << c.rank();
151  }
152  s << " cap block=" << std::hex << c.capBlock();
153  s << " index=" << std::dec << c.capIndex();
154  s << " BX=" << c.bx();
155 
156  return s;
157 }
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