4 #include "StMcEtrHitCollection.hh"
5 #include "StMcEtrHit.hh"
7 static const char rcsid[] =
"$Id: StMcEtrHitCollection.cc,v 2.1 2012/03/22 01:06:09 perev Exp $";
13 StMcEtrHitCollection::~StMcEtrHitCollection()
16 for (
unsigned int i=0; i<mHits.size(); i++) {
27 if (hit && (p = hit->layer()) < mNumberOfLayers && (p = hit->sector()) < mNumberOfSectors) {
36 StMcEtrHitCollection::numberOfLayers()
const {
return mNumberOfLayers; }
39 StMcEtrHitCollection::numberOfSectors()
const {
return mNumberOfSectors; }
42 StMcEtrHitCollection::numberOfHits()
const
47 const StSPtrVecMcEtrHit&
48 StMcEtrHitCollection::hits()
const {
return mHits; }
51 StMcEtrHitCollection::hits() {
return mHits; }