CMS 3D CMS Logo

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 
23 private:
25  float amplitude_, time_;
26 };
27 
28 std::ostream& operator<<(std::ostream& s, const HcalCalibRecHit& hit);
29 
30 #endif
HcalCalibRecHit::time
float time() const
get the hit time (if available)
Definition: HcalCalibRecHit.h:19
HcalCalibDetId
Definition: HcalCalibDetId.h:45
operator<<
std::ostream & operator<<(std::ostream &s, const HcalCalibRecHit &hit)
Definition: HcalCalibRecHit.cc:8
HcalCalibRecHit::amplitude_
float amplitude_
Definition: HcalCalibRecHit.h:25
HcalCalibRecHit::HcalCalibRecHit
HcalCalibRecHit()
Definition: HcalCalibRecHit.cc:3
alignCSCRings.s
s
Definition: alignCSCRings.py:92
HcalCalibRecHit::time_
float time_
Definition: HcalCalibRecHit.h:25
HcalCalibRecHit::key_type
HcalCalibDetId key_type
Definition: HcalCalibRecHit.h:12
HcalCalibDetId.h
HcalCalibRecHit::amplitude
float amplitude() const
get the amplitude (generally fC, but can vary)
Definition: HcalCalibRecHit.h:17
HcalCalibRecHit
Definition: HcalCalibRecHit.h:10
HcalCalibRecHit::id
HcalCalibDetId id() const
get the id
Definition: HcalCalibRecHit.h:21
HcalCalibRecHit::id_
HcalCalibDetId id_
Definition: HcalCalibRecHit.h:24
hit
Definition: SiStripHitEffFromCalibTree.cc:88