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

◆ operator<<()

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

Definition at line 280 of file CaloTower.cc.

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 }

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

CaloTower::outerEt
double outerEt() const
Definition: CaloTower.h:137
CaloTower::id
CaloTowerDetId id() const
Definition: CaloTower.h:123
alignCSCRings.s
s
Definition: alignCSCRings.py:92
reco::LeafCandidate::eta
double eta() const final
momentum pseudorapidity
Definition: LeafCandidate.h:152
CaloTower::et
double et(double vtxZ) const
Definition: CaloTower.h:150
reco::LeafCandidate::phi
double phi() const final
momentum azimuthal angle
Definition: LeafCandidate.h:148
CaloTower::hadEt
double hadEt() const
Definition: CaloTower.h:136
CaloTower::emEt
double emEt() const
Definition: CaloTower.h:135