00001 #ifndef IMPL_TrackerDataImpl_H
00002 #define IMPL_TrackerDataImpl_H 1
00003
00004 #include "EVENT/TrackerData.h"
00005 #include "AccessChecked.h"
00006
00007 namespace IMPL {
00008
00015 class TrackerDataImpl : public EVENT::TrackerData , public AccessChecked {
00016
00017 public:
00018
00021 TrackerDataImpl() ;
00022
00024 virtual ~TrackerDataImpl() ;
00025
00026 virtual int id() const { return simpleUID() ; }
00027
00030 virtual int getCellID0() const { return _cellID0 ; }
00031
00035 virtual int getCellID1() const { return _cellID1 ; }
00036
00039 virtual float getTime() const { return _time ; }
00040
00043 virtual const EVENT::FloatVec & getChargeValues() const { return _charge ; }
00044
00045
00046 void setCellID0( int cellID0 ) ;
00047 void setCellID1( int cellID1 ) ;
00048 void setTime( float time ) ;
00049
00052 void setChargeValues( const EVENT::FloatVec & charge ) ;
00053
00060 EVENT::FloatVec & chargeValues() ;
00061
00062
00063 protected:
00064
00065 int _cellID0 ;
00066 int _cellID1 ;
00067 float _time ;
00068 EVENT::FloatVec _charge{} ;
00069
00070 };
00071 }
00072 #endif