18 #include "StTofSlatCollection.h"
19 #include "StTofSlat.h"
21 StTofSlatCollection::StTofSlatCollection() {}
22 StTofSlatCollection::~StTofSlatCollection(){}
24 void StTofSlatCollection::clear(){mSlatVector.clear();}
26 bool StTofSlatCollection::push_back(
StTofSlat* slat){
27 mSlatVector.push_back(slat);
31 StTofSlat* StTofSlatCollection::front()
const {
32 return mSlatVector.front();
35 StTofSlat* StTofSlatCollection::getSlat(
size_t index)
const {
36 return mSlatVector[index];
39 StTofSlat* StTofSlatCollection::back()
const {
40 return mSlatVector.back();
43 size_t StTofSlatCollection::size()
const {
44 return mSlatVector.size();