CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_13_patch3/src/DataFormats/HcalRecHit/interface/CastorRecHit.h

Go to the documentation of this file.
00001 #ifndef DATAFORMATS_HCALRECHIT_CASTORRECHIT_H
00002 #define DATAFORMATS_HCALRECHIT_CASTORRECHIT_H 1
00003 
00004 #include "DataFormats/HcalDetId/interface/HcalCastorDetId.h"
00005 #include "DataFormats/CaloRecHit/interface/CaloRecHit.h"
00006 
00007 
00008 class CastorRecHit : public CaloRecHit {
00009 public:
00010   typedef HcalCastorDetId key_type;
00011 
00012   CastorRecHit();
00013   CastorRecHit(const HcalCastorDetId& id, float energy, float time);
00015   HcalCastorDetId id() const { return HcalCastorDetId(detid()); }
00016 };
00017 
00018 std::ostream& operator<<(std::ostream& s, const CastorRecHit& hit);
00019 
00020 #endif
00021