CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 280 of file CaloTower.cc.

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

280  {
281  return s << ct.id() << ":" << ct.et() << " GeV ET (EM=" << ct.emEt() << " HAD=" << ct.hadEt()
282  << " OUTER=" << ct.outerEt() << ") (" << ct.eta() << "," << ct.phi() << ")";
283 }
double hadEt() const
Definition: CaloTower.h:136
double outerEt() const
Definition: CaloTower.h:137
CaloTowerDetId id() const
Definition: CaloTower.h:123
double et(double vtxZ) const
Definition: CaloTower.h:150
double phi() const final
momentum azimuthal angle
double emEt() const
Definition: CaloTower.h:135
double eta() const final
momentum pseudorapidity