CMS 3D CMS Logo

Classes | Functions

/data/doxygen/doxygen-1.7.3/gen/CMSSW_4_2_8/src/DataFormats/L1GlobalCaloTrigger/interface/L1GctHFRingEtSums.h File Reference

#include <ostream>
#include <string>
#include <stdint.h>

Go to the source code of this file.

Classes

class  L1GctHFRingEtSums
 L1 GCT HF ring Et sums. More...

Functions

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

Function Documentation

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

Definition at line 77 of file L1GctHFRingEtSums.cc.

References L1GctHFRingEtSums::bx(), L1GctHFRingEtSums::capBlock(), L1GctHFRingEtSums::capIndex(), L1GctHFRingEtSums::empty(), L1GctHFRingEtSums::etSum(), and asciidump::s.

{
  s << "L1GctHFRingEtSums :";

  if (cand.empty()) {
    s << " empty";
  } else {    
    s << " ring1 eta+=" << cand.etSum(0);
    s << " ring1 eta-=" << cand.etSum(1);
    s << " ring2 eta+=" << cand.etSum(2);
    s << " ring2 eta-=" << cand.etSum(3);
    s << std::endl;
  }

  s << std::hex << " cap block=" << cand.capBlock() << std::dec << " index=" << cand.capIndex() << " BX=" << cand.bx();

  return s;
}