20 #include "StFtpcPlaneHitCollection.h"
22 static const char rcsid[] =
"$Id: StFtpcPlaneHitCollection.cxx,v 2.2 2001/04/05 04:00:50 ullrich Exp $";
28 StFtpcPlaneHitCollection::~StFtpcPlaneHitCollection() { }
31 StFtpcPlaneHitCollection::numberOfSectors()
const {
return mNumberOfSectors; }
35 if (i < mNumberOfSectors)
36 return &(mSectors[i]);
42 StFtpcPlaneHitCollection::sector(
unsigned int i)
const
44 if (i < mNumberOfSectors)
45 return &(mSectors[i]);
50 unsigned int StFtpcPlaneHitCollection::numberOfHits()
const
53 for (
int i=0; i < mNumberOfSectors; i++)
54 sum += mSectors[i].hits().size();