00001 #include "IMPL/RawCalorimeterHitImpl.h"
00002
00003 namespace IMPL{
00004
00005 RawCalorimeterHitImpl::RawCalorimeterHitImpl() :
00006 _cellID0(0),
00007 _cellID1(0),
00008 _amplitude(0),
00009 _timeStamp(0){
00010 }
00011
00012
00013 RawCalorimeterHitImpl::~RawCalorimeterHitImpl(){
00014 }
00015
00016 int RawCalorimeterHitImpl::getCellID0() const {
00017 return _cellID0 ;
00018 }
00019
00020 int RawCalorimeterHitImpl::getCellID1() const {
00021 return _cellID1 ;
00022 }
00023
00024 int RawCalorimeterHitImpl::getAmplitude() const {
00025 return _amplitude ;
00026 }
00027
00028 int RawCalorimeterHitImpl::getTimeStamp() const {
00029 return _timeStamp ;
00030 }
00031
00032
00033
00034 void RawCalorimeterHitImpl::setCellID0(int id0){
00035 checkAccess("RawCalorimeterHitImpl::setCellID0") ;
00036 _cellID0 = id0 ;
00037 }
00038
00039 void RawCalorimeterHitImpl::setCellID1(int id1){
00040 checkAccess("RawCalorimeterHitImpl::setCellID1") ;
00041 _cellID1 = id1 ;
00042 }
00043
00044 void RawCalorimeterHitImpl::setAmplitude(int amplitude){
00045 checkAccess("RawCalorimeterHitImpl::setAmplitude") ;
00046 _amplitude = amplitude ;
00047 }
00048
00049 void RawCalorimeterHitImpl::setTimeStamp(int timeStamp){
00050 checkAccess("RawCalorimeterHitImpl::setTimeStamp") ;
00051 _timeStamp = timeStamp ;
00052 }
00053
00054
00055
00056
00057 }