CMS 3D CMS Logo

Functions

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_13_patch3/src/DataFormats/HcalRecHit/src/HFRecHit.cc File Reference

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

Go to the source code of this file.

Functions

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

Function Documentation

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

Definition at line 11 of file HFRecHit.cc.

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

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