test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HFRecHit.h
Go to the documentation of this file.
1 #ifndef DATAFORMATS_HCALRECHIT_HFRECHIT_H
2 #define DATAFORMATS_HCALRECHIT_HFRECHIT_H 1
3 
6 
7 
12 class HFRecHit : public CaloRecHit {
13 public:
15 
16  HFRecHit();
17  //HFRecHit(const HcalDetId& id, float energy, float time);
19  HFRecHit(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 private:
26 
27  float timeFalling_;
28 
29 };
30 
31 std::ostream& operator<<(std::ostream& s, const HFRecHit& hit);
32 
33 #endif
const DetId & detid() const
Definition: CaloRecHit.h:20
float timeFalling() const
Definition: HFRecHit.h:22
std::ostream & operator<<(std::ostream &out, const ALILine &li)
Definition: ALILine.cc:187
HcalDetId key_type
Definition: HFRecHit.h:14
HFRecHit()
Definition: HFRecHit.cc:4
float timeFalling_
Definition: HFRecHit.h:27
HcalDetId id() const
Definition: HFRecHit.h:23