Back to home page

Project CMSSW displayed by LXR

 
 

    


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

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 }