CMS 3D CMS Logo

Functions

/data/doxygen/doxygen-1.7.3/gen/CMSSW_4_2_8/src/DataFormats/HcalRecHit/src/ZDCRecHit.cc File Reference

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

Go to the source code of this file.

Functions

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

Function Documentation

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

Definition at line 11 of file ZDCRecHit.cc.

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

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