10 #include "StMcPxlLadderHitCollection.hh"
11 #include "StMcPxlHit.hh"
12 static const char rcsid[] =
"$Id: StMcPxlLadderHitCollection.cc,v 2.1 2013/03/25 23:50:36 perev Exp $";
22 StMcPxlLadderHitCollection::~StMcPxlLadderHitCollection()
28 StMcPxlLadderHitCollection::sensor(
unsigned int i)
30 return (i < kNumberOfSensors) ? &(mSensors[i]) : 0;
34 StMcPxlLadderHitCollection::sensor(
unsigned int i)
const
36 return (i < kNumberOfSensors) ? &(mSensors[i]) : 0;
39 unsigned int StMcPxlLadderHitCollection::numberOfHits()
const
42 for (
int iSen = 0; iSen < kNumberOfSensors; iSen++)
44 sum += mSensors[iSen].hits().size();