20 #include "StPxlSectorHitCollection.h"
27 StPxlSectorHitCollection::~StPxlSectorHitCollection() { }
30 StPxlSectorHitCollection::ladder(
unsigned int i)
32 return (i < mNumberOfLadders) ? &(mLadders[i]) : 0;
36 StPxlSectorHitCollection::ladder(
unsigned int i)
const
38 return (i < mNumberOfLadders) ? &(mLadders[i]) : 0;
41 unsigned int StPxlSectorHitCollection::numberOfHits()
const
44 for (
unsigned int i=0; i < mNumberOfLadders; i++) {
45 for (
unsigned int j=0; j < mLadders[i].numberOfSensors(); j++) {
46 sum += mLadders[i].sensor(j)->hits().size();