24 #include "StEtrHitCollection.h"
27 static const char rcsid[] =
"$Id: StEtrHitCollection.cxx,v 2.2 2012/03/22 00:08:57 perev Exp $";
33 StEtrHitCollection::~StEtrHitCollection() { }
38 assert(hit->layer() < mNumberOfLayers);
39 assert(hit->sector() < mNumberOfSectors);
45 StEtrHitCollection::numberOfLayers()
const {
return mNumberOfLayers; }
48 StEtrHitCollection::numberOfSectors()
const {
return mNumberOfSectors; }
51 StEtrHitCollection::numberOfHits()
const
56 const StSPtrVecEtrHit&
57 StEtrHitCollection::hits()
const {
return mHits; }
60 StEtrHitCollection::hits() {
return mHits; }