00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014 #include "StTofCellCollection.h"
00015 #include "StTofCell.h"
00016
00017 StTofCellCollection::StTofCellCollection() { }
00018 StTofCellCollection::~StTofCellCollection(){ }
00019
00020 void StTofCellCollection::clear() {mCellVector.clear();}
00021
00022 bool StTofCellCollection::push_back(StTofCell* cell) {
00023 mCellVector.push_back(cell);
00024 return true;
00025 }
00026
00027 StTofCell* StTofCellCollection::front() const {
00028 return mCellVector.front();
00029 }
00030
00031 StTofCell* StTofCellCollection::getCell(size_t index) const {
00032 return mCellVector[index];
00033 }
00034
00035 StTofCell* StTofCellCollection::back() const {
00036 return mCellVector.back();
00037 }
00038
00039 size_t StTofCellCollection::size() const {
00040 return mCellVector.size();
00041 }