CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HFRecHit.h
Go to the documentation of this file.
1 #ifndef DATAFORMATS_HCALRECHIT_HFRECHIT_H
2 #define DATAFORMATS_HCALRECHIT_HFRECHIT_H 1
3 
6 
7 
14 class HFRecHit : public CaloRecHit {
15 public:
17 
18  HFRecHit();
19  HFRecHit(const HcalDetId& id, float energy, float time);
21  HcalDetId id() const { return HcalDetId(detid()); }
22 };
23 
24 std::ostream& operator<<(std::ostream& s, const HFRecHit& hit);
25 
26 #endif
const DetId & detid() const
Definition: CaloRecHit.h:22
std::ostream & operator<<(std::ostream &out, const ALILine &li)
Definition: ALILine.cc:187
float time() const
Definition: CaloRecHit.h:21
HcalDetId key_type
Definition: HFRecHit.h:16
float energy() const
Definition: CaloRecHit.h:19
HFRecHit()
Definition: HFRecHit.cc:4
HcalDetId id() const
get the id
Definition: HFRecHit.h:21