CMS 3D CMS Logo

Classes | Functions

/data/doxygen/doxygen-1.7.3/gen/CMSSW_4_2_8/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";
}