test
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 
11 public:
13 
15  HcalCalibRecHit(const HcalCalibDetId& id, float amplitude, float time);
17  float amplitude() const { return amplitude_; }
19  float time() const { return time_; }
21  HcalCalibDetId id() const { return id_; }
22 private:
25 };
26 
27 std::ostream& operator<<(std::ostream& s, const HcalCalibRecHit& hit);
28 
29 #endif
float amplitude() const
get the amplitude (generally fC, but can vary)
std::ostream & operator<<(std::ostream &out, const ALILine &li)
Definition: ALILine.cc:188
HcalCalibDetId id_
float time() const
get the hit time (if available)
HcalCalibDetId id() const
get the id
HcalCalibDetId key_type