CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HcalCalibRecHit.h
Go to the documentation of this file.
1 #ifndef DATAFORMATS_HCALRECHIT_HcalCalibRECHIT_H
2 #define DATAFORMATS_HCALRECHIT_HcalCalibRECHIT_H 1
3 
5 
13 public:
15 
17  HcalCalibRecHit(const HcalCalibDetId& id, float amplitude, float time);
19  float amplitude() const { return amplitude_; }
21  float time() const { return time_; }
23  HcalCalibDetId id() const { return id_; }
24 private:
27 };
28 
29 std::ostream& operator<<(std::ostream& s, const HcalCalibRecHit& hit);
30 
31 #endif
float amplitude() const
get the amplitude (generally fC, but can vary)
std::ostream & operator<<(std::ostream &out, const ALILine &li)
Definition: ALILine.cc:187
HcalCalibDetId id_
float time() const
get the hit time (if available)
HcalCalibDetId id() const
get the id
HcalCalibDetId key_type