Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:53:38

0001 #include "DataFormats/HcalRecHit/interface/HcalCalibRecHit.h"
0002 
0003 HcalCalibRecHit::HcalCalibRecHit() : id_(), amplitude_(0), time_(0) {}
0004 
0005 HcalCalibRecHit::HcalCalibRecHit(const HcalCalibDetId& id, float ampl, float time)
0006     : id_(id), amplitude_(ampl), time_(time) {}
0007 
0008 std::ostream& operator<<(std::ostream& s, const HcalCalibRecHit& hit) {
0009   return s << hit.id() << ": " << hit.amplitude() << " , " << hit.time() << " ns";
0010 }