14 #include "StTofCellCollection.h"
15 #include "StTofCell.h"
17 StTofCellCollection::StTofCellCollection() { }
18 StTofCellCollection::~StTofCellCollection(){ }
20 void StTofCellCollection::clear() {mCellVector.clear();}
22 bool StTofCellCollection::push_back(
StTofCell* cell) {
23 mCellVector.push_back(cell);
27 StTofCell* StTofCellCollection::front()
const {
28 return mCellVector.front();
31 StTofCell* StTofCellCollection::getCell(
size_t index)
const {
32 return mCellVector[index];
35 StTofCell* StTofCellCollection::back()
const {
36 return mCellVector.back();
39 size_t StTofCellCollection::size()
const {
40 return mCellVector.size();