CMS 3D CMS Logo

HFRecHit.cc
Go to the documentation of this file.
2 
3 std::ostream& operator<<(std::ostream& s, const HFRecHit& hit) {
4  s << hit.id() << ": " << hit.energy() << " GeV";
5  if(hit.time() > -998) {
6  s << ", t= " << hit.time() << " to " << hit.timeFalling() << " ns";
7  }
8  return s;
9 }
constexpr float energy() const
Definition: CaloRecHit.h:31
float timeFalling() const
Definition: HFRecHit.h:29
constexpr float time() const
Definition: CaloRecHit.h:33
std::ostream & operator<<(std::ostream &s, const HFRecHit &hit)
Definition: HFRecHit.cc:3
HcalDetId id() const
Definition: HFRecHit.h:31