CMS 3D CMS Logo

Functions

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

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(), 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().

                                                                   {
  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; 
}