36 #include "StMcSvtLadderHitCollection.hh"
38 static const char rcsid[] =
"$Id: StMcSvtLadderHitCollection.cc,v 2.5 2005/01/27 23:40:48 calderon Exp $";
40 StMcSvtLadderHitCollection::StMcSvtLadderHitCollection()
45 StMcSvtLadderHitCollection::~StMcSvtLadderHitCollection() { }
48 StMcSvtLadderHitCollection::setBarrelNumber(
int i)
50 if (mBarrelNumber == -1) mBarrelNumber = i;
54 StMcSvtLadderHitCollection::numberOfWafers()
const
56 switch (mBarrelNumber) {
75 StMcSvtLadderHitCollection::numberOfHits()
const
77 unsigned long sum = 0;
78 for (
unsigned int j=0; j<numberOfWafers(); j++) {
79 sum += mWafers[j].hits().size();
85 StMcSvtLadderHitCollection::wafer(
unsigned int i)
87 if (i < numberOfWafers())
94 StMcSvtLadderHitCollection::wafer(
unsigned int i)
const
96 if (i < numberOfWafers())