CMS 3D CMS Logo

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

Go to the source code of this file.

Classes

class  L1GctInternJetData
 L1 GCT internal jet candidate. More...
 

Functions

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

Function Documentation

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

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  }
125  if (c.type() == L1GctInternJetData::jet_cluster) {
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 }
const edm::EventSetup & c