File indexing completed on 2024-04-06 12:04:19
0001 #ifndef DATAFORMATS_HCALRECHIT_CASTORRECHIT_H
0002 #define DATAFORMATS_HCALRECHIT_CASTORRECHIT_H 1
0003
0004 #include "DataFormats/HcalDetId/interface/HcalCastorDetId.h"
0005 #include "DataFormats/CaloRecHit/interface/CaloRecHit.h"
0006
0007 class CastorRecHit : public CaloRecHit {
0008 public:
0009 typedef HcalCastorDetId key_type;
0010
0011 CastorRecHit();
0012 CastorRecHit(const HcalCastorDetId& id, float energy, float time);
0013
0014 HcalCastorDetId id() const { return HcalCastorDetId(detid()); }
0015 };
0016
0017 std::ostream& operator<<(std::ostream& s, const CastorRecHit& hit);
0018
0019 #endif