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 
14 class HORecHit : public CaloRecHit {
15 public:
17 
18  HORecHit();
19  HORecHit(const HcalDetId& id, float energy, float time);
21  HcalDetId id() const { return HcalDetId(detid()); }
22 };
23 
24 std::ostream& operator<<(std::ostream& s, const HORecHit& hit);
25 
26 
27 #endif
const DetId & detid() const
Definition: CaloRecHit.h:21
std::ostream & operator<<(std::ostream &out, const ALILine &li)
Definition: ALILine.cc:187
float time() const
Definition: CaloRecHit.h:20
HcalDetId key_type
Definition: HORecHit.h:16
float energy() const
Definition: CaloRecHit.h:19
HORecHit()
Definition: HORecHit.cc:4
string s
Definition: asciidump.py:422
HcalDetId id() const
get the id
Definition: HORecHit.h:21