00001 #ifndef EVENT_RAWCALORIMETERHITIMPL_H
00002 #define EVENT_RAWCALORIMETERHITIMPL_H 1
00003
00004
00005 #include "EVENT/MCParticle.h"
00006 #include "EVENT/RawCalorimeterHit.h"
00007 #include <vector>
00008 #include "AccessChecked.h"
00009
00010 namespace IMPL {
00011
00012
00019 class RawCalorimeterHitImpl : public EVENT::RawCalorimeterHit , public AccessChecked {
00020
00021 public:
00022
00025 RawCalorimeterHitImpl() ;
00026
00028 virtual ~RawCalorimeterHitImpl() ;
00029
00030 virtual int id() const { return simpleUID() ; }
00031
00034 virtual int getCellID0() const ;
00035
00039 virtual int getCellID1() const ;
00040
00043 virtual int getAmplitude() const ;
00044
00048 virtual int getTimeStamp() const ;
00049
00050
00051 void setCellID0(int id0) ;
00052
00057 void setCellID1(int id1) ;
00058
00061 void setAmplitude(int amplitude) ;
00062
00065 void setTimeStamp(int time) ;
00066
00067 protected:
00068
00069 int _cellID0 ;
00070 int _cellID1 ;
00071 int _amplitude ;
00072 int _timeStamp ;
00073
00074 };
00075 }
00076 #endif