CMS 3D CMS Logo

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