00001 #include "Stiostream.h"
00002 #include "StiVertexFinder.h"
00003 #include "StiToolkit.h"
00004
00005
00006 StiVertexFinder::StiVertexFinder(const string & name): Named(name)
00007 {
00008 _hitFactory= StiToolkit::instance()->getHitFactory();
00009 cout <<"StiVertexFinder::StiVertexFinder() -I- Started :" << name<<endl;
00010 }
00011
00012
00013 StiVertexFinder::~StiVertexFinder()
00014 {}
00015
00016 const std::vector<StiHit* >* StiVertexFinder::result()
00017 {
00018
00019 _result.clear();
00020 StiHit *hit=0;
00021 for (int i=0;(hit=getVertex(i));i++) {_result.push_back(hit);}
00022 return &_result;
00023 }