CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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 161 of file L1GctInternJetData.cc.

References L1GctInternJetData::bx(), L1GctInternJetData::capBlock(), L1GctInternJetData::capIndex(), 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  }
166  if (c.type()==L1GctInternJetData::jet_cluster){
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();
180  } else if (c.type()==L1GctInternJetData::jet_cluster_minimal){
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 }