CMS 3D CMS Logo

Classes | Functions

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_13_patch3/src/DataFormats/HcalRecHit/interface/HORecHit.h File Reference

#include "DataFormats/HcalDetId/interface/HcalDetId.h"
#include "DataFormats/CaloRecHit/interface/CaloRecHit.h"

Go to the source code of this file.

Classes

class  HORecHit

Functions

std::ostream & operator<< (std::ostream &s, const HORecHit &hit)

Function Documentation

std::ostream& operator<< ( std::ostream &  s,
const HORecHit hit 
)

Definition at line 11 of file HORecHit.cc.

References CaloRecHit::energy(), HORecHit::id(), and CaloRecHit::time().

                                                           {
  return s << hit.id() << ": " << hit.energy() << " GeV, " << hit.time() << " ns";
}