CMS 3D CMS Logo

EcalRecHit.h

Go to the documentation of this file.
00001 #ifndef DATAFORMATS_ECALRECHIT_H
00002 #define DATAFORMATS_ECALRECHIT_H 1
00003 
00004 #include "DataFormats/CaloRecHit/interface/CaloRecHit.h"
00005 
00012 class EcalRecHit : public CaloRecHit {
00013 public:
00014   typedef DetId key_type;
00015 
00016   static const int kRECOVERED = 9999;
00017 
00018   EcalRecHit();
00019   EcalRecHit(const DetId& id, float energy, float time);
00021   // For the moment not returning a specific id for subdetector
00022   DetId id() const { return DetId(detid());}
00023   bool isRecovered() const;
00024 };
00025 
00026 std::ostream& operator<<(std::ostream& s, const EcalRecHit& hit);
00027 
00028 #endif

Generated on Tue Jun 9 17:30:42 2009 for CMSSW by  doxygen 1.5.4