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