CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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:29
constexpr float timeFalling() const
Definition: HFRecHit.h:24
std::ostream & operator<<(std::ostream &out, const ALILine &li)
Definition: ALILine.cc:167
constexpr float time() const
Definition: CaloRecHit.h:31
constexpr HcalDetId id() const
Definition: HFRecHit.h:26