27 #include "StMcTpcSectorHitCollection.hh"
29 static const char rcsid[] =
"$Id: StMcTpcSectorHitCollection.cc,v 2.2 2005/01/27 23:40:49 calderon Exp $";
31 StMcTpcSectorHitCollection::StMcTpcSectorHitCollection() { }
33 StMcTpcSectorHitCollection::~StMcTpcSectorHitCollection() { }
36 StMcTpcSectorHitCollection::numberOfPadrows()
const {
return mNumberOfPadrows; }
40 if (i < mNumberOfPadrows)
41 return &(mPadrows[i]);
47 StMcTpcSectorHitCollection::padrow(
unsigned int i)
const
49 if (i < mNumberOfPadrows)
50 return &(mPadrows[i]);
55 unsigned long StMcTpcSectorHitCollection::numberOfHits()
const
57 unsigned long sum = 0;
58 for (
unsigned int i=0; i < mNumberOfPadrows; i++)
59 sum += mPadrows[i].hits().size();