CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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:29
constexpr const DetId & detid() const
Definition: CaloRecHit.h:33
constexpr uint32_t rawId() const
get the raw id
Definition: DetId.h:57
std::ostream & operator<<(std::ostream &out, const ALILine &li)
Definition: ALILine.cc:167
constexpr float time() const
Definition: CaloRecHit.h:31
constexpr uint32_t aux() const
Definition: CaloRecHit.h:50
constexpr uint32_t flags() const
Definition: CaloRecHit.h:34