CMS 3D CMS Logo

Functions

/data/refman/pasoursint/CMSSW_5_3_6/src/DataFormats/CaloTowers/src/CaloTower.cc File Reference

#include "DataFormats/CaloTowers/interface/CaloTower.h"

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &s, const CaloTower &ct)

Function Documentation

std::ostream& operator<< ( std::ostream &  s,
const CaloTower ct 
)

Definition at line 229 of file CaloTower.cc.

References CaloTower::emEt(), CaloTower::et(), reco::LeafCandidate::eta(), CaloTower::hadEt(), CaloTower::id(), CaloTower::outerEt(), and reco::LeafCandidate::phi().

                                                           {
  return s << ct.id() << ":"  << ct.et()
           << " GeV ET (EM=" << ct.emEt() <<
    " HAD=" << ct.hadEt() << " OUTER=" << ct.outerEt() << ") (" << ct.eta() << "," << ct.phi() << ")";    
}