test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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
const DetId & detid() const
Definition: CaloRecHit.h:20
std::ostream & operator<<(std::ostream &out, const ALILine &li)
Definition: ALILine.cc:187
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