CMS 3D CMS Logo

Classes | Functions
CaloTower.h File Reference
#include "DataFormats/Candidate/interface/LeafCandidate.h"
#include "DataFormats/DetId/interface/DetId.h"
#include "DataFormats/CaloTowers/interface/CaloTowerDetId.h"
#include "DataFormats/Math/interface/Vector3D.h"
#include "DataFormats/HcalDetId/interface/HcalSubdetector.h"
#include "Rtypes.h"
#include <vector>
#include <cmath>
#include "DataFormats/GeometryVector/interface/GlobalPoint.h"

Go to the source code of this file.

Classes

class  CaloTower
 

Functions

std::ostream & operator<< (std::ostream &s, const CaloTower &ct)
 
bool operator== (const CaloTower &t1, const CaloTower &t2)
 

Function Documentation

◆ operator<<()

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(), reco::LeafCandidate::phi(), and alignCSCRings::s.

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
double et(double vtxZ) const
Definition: CaloTower.h:150
double emEt() const
Definition: CaloTower.h:135
double phi() const final
momentum azimuthal angle
CaloTowerDetId id() const
Definition: CaloTower.h:123
double eta() const final
momentum pseudorapidity

◆ operator==()

bool operator== ( const CaloTower t1,
const CaloTower t2 
)
inline

Definition at line 260 of file CaloTower.h.

References RandomServiceHelper::t1, and RandomServiceHelper::t2.