18 #include "StEvent/StFttCollection.h"
20 #include "StEvent/StFttRawHit.h"
21 #include "StEvent/StFttCluster.h"
22 #include "StEvent/StFttPoint.h"
28 StFttCollection::~StFttCollection() {}
30 void StFttCollection::addRawHit(
StFttRawHit*
hit){mRawHits.push_back(hit);}
31 StSPtrVecFttRawHit& StFttCollection::rawHits() {
return mRawHits;}
32 const StSPtrVecFttRawHit& StFttCollection::rawHits()
const {
return mRawHits;}
33 unsigned int StFttCollection::numberOfRawHits()
const {
return mRawHits.size(); }
35 void StFttCollection::addCluster(
StFttCluster* cluster){mClusters.push_back(cluster);}
36 StSPtrVecFttCluster& StFttCollection::clusters() {
return mClusters;}
37 const StSPtrVecFttCluster& StFttCollection::clusters()
const {
return mClusters;}
38 unsigned int StFttCollection::numberOfClusters()
const {
return mClusters.size(); }
40 void StFttCollection::addPoint(
StFttPoint* point){mPoints.push_back(point);}
41 StSPtrVecFttPoint& StFttCollection::points() {
return mPoints;}
42 const StSPtrVecFttPoint& StFttCollection::points()
const {
return mPoints;}
43 unsigned int StFttCollection::numberOfPoints()
const {
return mPoints.size(); }
45 void StFttCollection::print(
int option) {
46 cout <<
" *** Print Ftt collection *** " << endl;