CMS 3D CMS Logo

CastorRecHit.cc
Go to the documentation of this file.
2 
3 
5 }
6 
8  CaloRecHit(id,energy,time) {
9 }
10 
11 std::ostream& operator<<(std::ostream& s, const CastorRecHit& hit) {
12  return s << hit.id() << ": " << hit.energy() << " GeV, " << hit.time() << " ns";
13 }
constexpr float energy() const
Definition: CaloRecHit.h:31
HcalCastorDetId id() const
get the id
Definition: CastorRecHit.h:15
std::ostream & operator<<(std::ostream &s, const CastorRecHit &hit)
Definition: CastorRecHit.cc:11
constexpr float time() const
Definition: CaloRecHit.h:33