CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_1_8_patch13/src/DataFormats/HcalRecHit/src/HcalCalibRecHit.cc

Go to the documentation of this file.
00001 #include "DataFormats/HcalRecHit/interface/HcalCalibRecHit.h"
00002 
00003 
00004 HcalCalibRecHit::HcalCalibRecHit() : id_(), amplitude_(0), time_(0) {
00005 }
00006 
00007 HcalCalibRecHit::HcalCalibRecHit(const HcalCalibDetId& id, float ampl, float time) : id_(id), amplitude_(ampl), time_(time) {
00008 
00009 }
00010 
00011 std::ostream& operator<<(std::ostream& s, const HcalCalibRecHit& hit) {
00012   return s << hit.id() << ": " << hit.amplitude() << " , " << hit.time() << " ns";
00013 }
00014