CMS 3D CMS Logo

HORecHit.cc
Go to the documentation of this file.
2 
3 std::ostream& operator<<(std::ostream& s, const HORecHit& hit) {
4  return s << hit.id() << ": " << hit.energy() << " GeV, " << hit.time() << " ns";
5 }
constexpr float energy() const
Definition: CaloRecHit.h:31
constexpr float time() const
Definition: CaloRecHit.h:33
std::ostream & operator<<(std::ostream &s, const HORecHit &hit)
Definition: HORecHit.cc:3
HcalDetId id() const
get the id
Definition: HORecHit.h:21