CMS 3D CMS Logo

ZDCRecHit.cc
Go to the documentation of this file.
2 
4  : CaloRecHit(), lowGainEnergy_(), energySOIp1_(-99), ratioSOIp1_(-99), TDCtime_(-99), chargeWeightedTime_(-99) {}
5 
6 ZDCRecHit::ZDCRecHit(const HcalZDCDetId& id, float energy, float time, float lowGainEnergy)
8  lowGainEnergy_(lowGainEnergy),
9  energySOIp1_(-99),
10  ratioSOIp1_(-99),
11  TDCtime_(-99),
12  chargeWeightedTime_(-99) {}
13 
14 std::ostream& operator<<(std::ostream& s, const ZDCRecHit& hit) {
15  return s << hit.id() << ": " << hit.energy() << " GeV, " << hit.time() << " ns";
16 }
ZDCRecHit()
Definition: ZDCRecHit.cc:3
unsigned int id
std::ostream & operator<<(std::ostream &s, const ZDCRecHit &hit)
Definition: ZDCRecHit.cc:14