21 #include "StGlobals.hh"
22 #include "StMuBTofHitCollection.h"
24 StMuBTofHitCollection::StMuBTofHitCollection()
27 StMuBTofHitCollection::~StMuBTofHitCollection()
33 StMuBTofHitCollection::clear()
35 int n = mHitVector.size();
36 for (
int i=0;i<n;i++) {
delete mHitVector[i];}
43 mHitVector.push_back(hit);
48 StMuBTofHitCollection::front()
const
50 return mHitVector.front();
54 StMuBTofHitCollection::getHit(
size_t index)
const
56 return mHitVector[index];
60 StMuBTofHitCollection::back()
const
62 return mHitVector.back();
66 StMuBTofHitCollection::size()
const
68 return mHitVector.size();