24 #include "StTofHitCollection.h"
27 StTofHitCollection::StTofHitCollection() {}
28 StTofHitCollection::~StTofHitCollection(){}
30 void StTofHitCollection::clear() {mHitVector.clear(); }
33 mHitVector.push_back(hit);
37 StTofHit* StTofHitCollection::front()
const {
38 return mHitVector.front();
41 StTofHit* StTofHitCollection::getHit(
size_t index)
const {
42 return mHitVector[index];
45 StTofHit* StTofHitCollection::back()
const {
46 return mHitVector.back();
49 size_t StTofHitCollection::size()
const {
50 return mHitVector.size();