00001 #ifndef IMPL_TrackerRawDataImpl_H
00002 #define IMPL_TrackerRawDataImpl_H 1
00003
00004 #include "EVENT/TrackerRawData.h"
00005 #include "AccessChecked.h"
00006
00007 namespace IMPL {
00008
00015 class TrackerRawDataImpl : public EVENT::TrackerRawData , public AccessChecked {
00016
00017 public:
00018
00021 TrackerRawDataImpl() ;
00022
00024 virtual ~TrackerRawDataImpl() ;
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
00037
00040 virtual int getTime() const { return _time ; }
00041
00044 virtual const EVENT::ShortVec & getADCValues() const { return _adc ; }
00045
00046 void setCellID0( int cellID0 ) ;
00047 void setCellID1( int cellID1 ) ;
00048 void setTime( int time ) ;
00049
00052 void setADCValues( const EVENT::ShortVec & adc ) ;
00053
00060 EVENT::ShortVec & adcValues() ;
00061
00062
00063 protected:
00064
00065 int _cellID0 ;
00066 int _cellID1 ;
00067 int _channelID ;
00068 int _time ;
00069 EVENT::ShortVec _adc{} ;
00070
00071 };
00072 }
00073 #endif