17 #include "StPxlLadderHitCollection.h"
24 StPxlLadderHitCollection::~StPxlLadderHitCollection() { }
27 StPxlLadderHitCollection::sensor(
unsigned int i)
29 return (i < mNumberOfSensors) ? &(mSensors[i]) : 0;
33 StPxlLadderHitCollection::sensor(
unsigned int i)
const
35 return (i < mNumberOfSensors) ? &(mSensors[i]) : 0;
38 unsigned int StPxlLadderHitCollection::numberOfHits()
const
41 for (
int i=0; i < mNumberOfSensors; i++) {
42 sum += mSensors[i].hits().size();