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 
12 class HBHERecHit : public CaloRecHit {
13 public:
15 
16  HBHERecHit();
17  //HBHERecHit(const HcalDetId& id, float energy, float time);
19  HBHERecHit(const HcalDetId& id, float amplitude, float timeRising, float timeFalling=0);
22  float timeFalling() const { return timeFalling_; }
23  HcalDetId id() const { return HcalDetId(detid()); }
24 
25 
26 
27 private:
28 
29  float timeFalling_;
30 };
31 
32 std::ostream& operator<<(std::ostream& s, const HBHERecHit& hit);
33 
34 
35 #endif
const DetId & detid() const
Definition: CaloRecHit.h:20
HcalDetId id() const
Definition: HBHERecHit.h:23
std::ostream & operator<<(std::ostream &out, const ALILine &li)
Definition: ALILine.cc:187
HcalDetId key_type
Definition: HBHERecHit.h:14
float timeFalling_
Definition: HBHERecHit.h:29
float timeFalling() const
Definition: HBHERecHit.h:22