14 #include "StMcIstLadderHitCollection.hh"
15 #include "StMcIstHit.hh"
16 static const char rcsid[] =
"$Id: StMcIstLadderHitCollection.cc,v 2.1 2015/03/12 23:23:43 perev Exp $";
23 StMcIstLadderHitCollection::~StMcIstLadderHitCollection(){ Clear(); }
25 void StMcIstLadderHitCollection::Clear(
const char*)
37 if (i < numberOfSensors())
38 return &(mSensors[i]);
44 if (i < numberOfSensors())
45 return &(mSensors[i]);
51 unsigned long StMcIstLadderHitCollection::numberOfHits()
const
53 unsigned long sum = 0;
54 for (
unsigned int j=0; j<numberOfSensors(); j++) {
55 sum += mSensors[j].hits().size();