23 #include "StGlobals.hh"
25 #include "StMuTofHitCollection.h"
27 StMuTofHitCollection::StMuTofHitCollection()
30 StMuTofHitCollection::~StMuTofHitCollection()
36 StMuTofHitCollection::clear()
38 int n = mHitVector.size();
39 for (
int i=0;i<n;i++) {
delete mHitVector[i];}
46 mHitVector.push_back(hit);
51 StMuTofHitCollection::front()
const
53 return mHitVector.front();
57 StMuTofHitCollection::getHit(
size_t index)
const
59 return mHitVector[index];
63 StMuTofHitCollection::back()
const
65 return mHitVector.back();
69 StMuTofHitCollection::size()
const
71 return mHitVector.size();