CMS 3D CMS Logo

/data/doxygen/doxygen-1.7.3/gen/CMSSW_4_2_8/src/DataFormats/HcalRecHit/interface/HcalCalibRecHit.h

Go to the documentation of this file.
00001 #ifndef DATAFORMATS_HCALRECHIT_HcalCalibRECHIT_H
00002 #define DATAFORMATS_HCALRECHIT_HcalCalibRECHIT_H 1
00003 
00004 #include "DataFormats/HcalDetId/interface/HcalCalibDetId.h"
00005 
00012 class HcalCalibRecHit {
00013 public:
00014   typedef HcalCalibDetId key_type;
00015 
00016   HcalCalibRecHit();
00017   HcalCalibRecHit(const HcalCalibDetId& id, float amplitude, float time);
00019   float amplitude() const { return amplitude_; }
00021   float time() const { return time_; }
00023   HcalCalibDetId id() const { return id_; }
00024 private:
00025   HcalCalibDetId id_;
00026   float amplitude_,time_;
00027 };
00028 
00029 std::ostream& operator<<(std::ostream& s, const HcalCalibRecHit& hit);
00030 
00031 #endif