CMS 3D CMS Logo

HORecHit.h
Go to the documentation of this file.
1 #ifndef DATAFORMATS_HCALRECHIT_HORECHIT_H
2 #define DATAFORMATS_HCALRECHIT_HORECHIT_H 1
3 
6 
7 
12 class HORecHit : public CaloRecHit {
13 public:
15 
16  HORecHit();
17  HORecHit(const HcalDetId& id, float energy, float time);
19  HcalDetId id() const { return HcalDetId(detid()); }
20 };
21 
22 std::ostream& operator<<(std::ostream& s, const HORecHit& hit);
23 
24 
25 #endif
std::ostream & operator<<(std::ostream &s, const HORecHit &hit)
Definition: HORecHit.cc:11
const DetId & detid() const
Definition: CaloRecHit.h:21
float time() const
Definition: CaloRecHit.h:19
HcalDetId key_type
Definition: HORecHit.h:14
float energy() const
Definition: CaloRecHit.h:17
HORecHit()
Definition: HORecHit.cc:4
HcalDetId id() const
get the id
Definition: HORecHit.h:19