CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_0/src/DataFormats/HcalRecHit/interface/HORecHit.h

Go to the documentation of this file.
00001 #ifndef DATAFORMATS_HCALRECHIT_HORECHIT_H
00002 #define DATAFORMATS_HCALRECHIT_HORECHIT_H 1
00003 
00004 #include "DataFormats/HcalDetId/interface/HcalDetId.h"
00005 #include "DataFormats/CaloRecHit/interface/CaloRecHit.h"
00006 
00007 
00014 class HORecHit : public CaloRecHit {
00015 public:
00016   typedef HcalDetId key_type;
00017 
00018   HORecHit();
00019   HORecHit(const HcalDetId& id, float energy, float time);
00021   HcalDetId id() const { return HcalDetId(detid()); }
00022 };
00023 
00024 std::ostream& operator<<(std::ostream& s, const HORecHit& hit);
00025 
00026 
00027 #endif