15 #include "StGlobals.hh"
16 #include "StMuEpdHitCollection.h"
18 StMuEpdHitCollection::StMuEpdHitCollection()
21 StMuEpdHitCollection::~StMuEpdHitCollection()
27 StMuEpdHitCollection::clear()
29 int n = mHitVector.size();
30 for (
int i=0;i<n;i++) {
delete mHitVector[i];}
37 mHitVector.push_back(hit);
42 StMuEpdHitCollection::front()
const
44 return mHitVector.front();
48 StMuEpdHitCollection::getHit(
size_t index)
const
50 return mHitVector[index];
54 StMuEpdHitCollection::back()
const
56 return mHitVector.back();
60 StMuEpdHitCollection::size()
const
62 return mHitVector.size();