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