CMS 3D CMS Logo

Functions
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 253 of file CaloTower.cc.

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

253  {
254  return s << ct.id() << ":" << ct.et()
255  << " GeV ET (EM=" << ct.emEt() <<
256  " HAD=" << ct.hadEt() << " OUTER=" << ct.outerEt() << ") (" << ct.eta() << "," << ct.phi() << ")";
257 }
double eta() const final
momentum pseudorapidity
double hadEt() const
Definition: CaloTower.h:116
double outerEt() const
Definition: CaloTower.h:117
CaloTowerDetId id() const
Definition: CaloTower.h:103
double et(double vtxZ) const
Definition: CaloTower.h:132
double phi() const final
momentum azimuthal angle
double emEt() const
Definition: CaloTower.h:115