CMS 3D CMS Logo

Classes | Functions

/data/refman/pasoursint/CMSSW_6_1_2_SLHC2/src/DataFormats/HcalRecHit/interface/HBHERecHit.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  HBHERecHit

Functions

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

Function Documentation

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

Definition at line 11 of file HBHERecHit.cc.

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

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