CMS 3D CMS Logo

CaloRecHit.cc
Go to the documentation of this file.
2 
3 std::ostream& operator<<(std::ostream& s, const CaloRecHit& hit) {
4  s << hit.detid().rawId() << ", " << hit.energy() << " GeV, " << hit.time() << " ns ";
5  s << " flags=0x" << std::hex << hit.flags() << std::dec << " ";
6  s << " aux=0x" << std::hex << hit.aux() << std::dec << " ";
7  return s;
8 }
constexpr float energy() const
Definition: CaloRecHit.h:31
std::ostream & operator<<(std::ostream &s, const CaloRecHit &hit)
Definition: CaloRecHit.cc:3
constexpr const DetId & detid() const
Definition: CaloRecHit.h:35
constexpr uint32_t rawId() const
get the raw id
Definition: DetId.h:50
constexpr float time() const
Definition: CaloRecHit.h:33
constexpr uint32_t aux() const
Definition: CaloRecHit.h:52
constexpr uint32_t flags() const
Definition: CaloRecHit.h:36