CMS 3D CMS Logo

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

Go to the documentation of this file.
00001 #include "DataFormats/HcalRecHit/interface/ZDCRecHit.h"
00002 
00003 
00004 ZDCRecHit::ZDCRecHit() : CaloRecHit() {
00005 }
00006 
00007 ZDCRecHit::ZDCRecHit(const HcalZDCDetId& id, float energy, float time) :
00008   CaloRecHit(id,energy,time) {
00009 }
00010 
00011 std::ostream& operator<<(std::ostream& s, const ZDCRecHit& hit) {
00012   return s << hit.id() << ": " << hit.energy() << " GeV, " << hit.time() << " ns";
00013 }
00014