24 #include "StMcFtpcHitCollection.hh"
25 #include "StMcFtpcHit.hh"
27 static const char rcsid[] =
"$Id: StMcFtpcHitCollection.cc,v 2.2 2005/01/27 23:40:47 calderon Exp $";
33 StMcFtpcHitCollection::~StMcFtpcHitCollection() { }
39 if (hit && (p = hit->plane()-1) < mNumberOfPlanes) {
40 mPlanes[p].hits().push_back(hit);
48 StMcFtpcHitCollection::numberOfPlanes()
const {
return mNumberOfPlanes; }
51 StMcFtpcHitCollection::numberOfHits()
const
53 unsigned long sum = 0;
54 for (
int i=0; i<mNumberOfPlanes; i++)
55 sum += mPlanes[i].numberOfHits();
61 StMcFtpcHitCollection::plane(
unsigned int i)
63 if (i < mNumberOfPlanes)
70 StMcFtpcHitCollection::plane(
unsigned int i)
const
72 if (i < mNumberOfPlanes)