File indexing completed on 2024-04-06 12:04:19
0001 #include "DataFormats/HcalRecHit/interface/ZDCRecHit.h"
0002
0003 ZDCRecHit::ZDCRecHit() : CaloRecHit(), lowGainEnergy_() {}
0004
0005 ZDCRecHit::ZDCRecHit(const HcalZDCDetId& id, float energy, float time, float lowGainEnergy)
0006 : CaloRecHit(id, energy, time), lowGainEnergy_(lowGainEnergy) {}
0007
0008 std::ostream& operator<<(std::ostream& s, const ZDCRecHit& hit) {
0009 return s << hit.id() << ": " << hit.energy() << " GeV, " << hit.time() << " ns";
0010 }