CMS 3D CMS Logo

Functions

/data/refman/pasoursint/CMSSW_4_1_8_patch9/src/DataFormats/HcalRecHit/src/HBHERecHit.cc File Reference

#include "DataFormats/HcalRecHit/interface/HBHERecHit.h"

Go to the source code of this file.

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";
}