CMS 3D CMS Logo

Classes | Functions

/data/refman/pasoursint/CMSSW_4_4_5_patch3/src/DataFormats/L1GlobalCaloTrigger/interface/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

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(), asciidump::s, L1GctInternJetData::tauVeto(), and L1GctInternJetData::type().

                                                                   {
  s << "L1GctInternJetData :";
  if (c.empty()) { 
    s << " empty!"; 
  }
  if (c.type()==L1GctInternJetData::jet_cluster){
    s << " type=jet_cluster";
    s << " oflow=" << c.oflow();
    s << " et=" << c.et();
    s << " eta=" << c.eta();
    s << " phi=" << c.phi();
    s << " tauVeto=" << c.tauVeto();
    s << " rank=" << c.rank();
  } else if (c.type()==L1GctInternJetData::jet_precluster){
    s << " type=jet_precluster";
    s << " oflow=" << c.oflow();
    s << " et=" << c.et();
    s << " eta=" << c.eta();
    s << " tauVeto=" << c.tauVeto();
  } else if (c.type()==L1GctInternJetData::jet_cluster_minimal){
    s << " type=jet_cluster_minimal";
    s << " oflow=" << c.oflow();
    s << " eta=" << c.eta();
    s << " phi=" << c.phi();
    s << " tauVeto=" << c.tauVeto();
    s << " rank=" << c.rank();
  } else if (c.type()==L1GctInternJetData::gct_trig_object){
    s << " type=gct_trig_object";
    s << " eta=" << c.eta();
    s << " phi=" << c.phi();
    s << " rank=" << c.rank();
  }
  s << " cap block=" << std::hex << c.capBlock();
  s << " index=" << std::dec << c.capIndex();
  s << " BX=" << c.bx();

  return s; 
}