CMS 3D CMS Logo

HORecHit.cc
Go to the documentation of this file.
2 
3 
5 }
6 
7 HORecHit::HORecHit(const HcalDetId& id, float energy, float time) :
8  CaloRecHit(id,energy,time){
9 }
10 
11 std::ostream& operator<<(std::ostream& s, const HORecHit& hit) {
12  return s << hit.id() << ": " << hit.energy() << " GeV, " << hit.time() << " ns";
13 }
14 
float time() const
Definition: CaloRecHit.h:19
float energy() const
Definition: CaloRecHit.h:17
std::ostream & operator<<(std::ostream &s, const HORecHit &hit)
Definition: HORecHit.cc:11
HORecHit()
Definition: HORecHit.cc:4
HcalDetId id() const
get the id
Definition: HORecHit.h:19