25 #include "StRichCollection.h"
27 static const char rcsid[] =
"$Id: StRichCollection.cxx,v 2.3 2001/04/05 04:00:52 ullrich Exp $";
33 StRichCollection::~StRichCollection() { }
36 const StSPtrVecRichPixel&
37 StRichCollection::getRichPixels()
const
43 StRichCollection::getRichPixels()
48 const StSPtrVecRichCluster&
49 StRichCollection::getRichClusters()
const
55 StRichCollection::getRichClusters()
60 const StSPtrVecRichHit&
61 StRichCollection::getRichHits()
const
67 StRichCollection::getRichHits()
73 StRichCollection::getTracks()
const
79 StRichCollection::getTracks()
87 mRichPixels.push_back(aPix);
93 mRichClusters.push_back(aClus);
97 StRichCollection::addHit(
const StRichHit* aHit)
99 mRichHits.push_back(aHit);
105 mTracks.push_back(track);
109 StRichCollection::pixelsPresent()
const
111 if(mRichPixels.size() > 0)
118 StRichCollection::clustersPresent()
const
120 if(mRichClusters.size() > 0)
127 StRichCollection::hitsPresent()
const
129 if(mRichHits.size() > 0)