CMS 3D CMS Logo

ZDCRecHit.cc
Go to the documentation of this file.
2 
3 ZDCRecHit::ZDCRecHit() : CaloRecHit(), lowGainEnergy_() {}
4 
5 ZDCRecHit::ZDCRecHit(const HcalZDCDetId& id, float energy, float time, float lowGainEnergy)
6  : CaloRecHit(id, energy, time), lowGainEnergy_(lowGainEnergy) {}
7 
8 std::ostream& operator<<(std::ostream& s, const ZDCRecHit& hit) {
9  return s << hit.id() << ": " << hit.energy() << " GeV, " << hit.time() << " ns";
10 }
ZDCRecHit()
Definition: ZDCRecHit.cc:3
unsigned int id
std::ostream & operator<<(std::ostream &s, const ZDCRecHit &hit)
Definition: ZDCRecHit.cc:8