CMS 3D CMS Logo

Classes | Functions

/data/refman/pasoursint/CMSSW_5_3_1/src/DataFormats/HcalRecHit/interface/ZDCRecHit.h File Reference

#include "DataFormats/HcalDetId/interface/HcalZDCDetId.h"
#include "DataFormats/CaloRecHit/interface/CaloRecHit.h"

Go to the source code of this file.

Classes

class  ZDCRecHit

Functions

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

Function Documentation

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

Definition at line 13 of file ZDCRecHit.cc.

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

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