CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_6_1_2_SLHC4_patch1/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(), lowGainEnergy_() {
00005 }
00006 
00007 ZDCRecHit::ZDCRecHit(const HcalZDCDetId& id, float energy, float time, float lowGainEnergy) :
00008   CaloRecHit(id,energy,time),
00009   lowGainEnergy_(lowGainEnergy)
00010   {
00011 }
00012 
00013 std::ostream& operator<<(std::ostream& s, const ZDCRecHit& hit) {
00014   return s << hit.id() << ": " << hit.energy() << " GeV, " << hit.time() << " ns";
00015 }
00016 
00017