2 #include "StiVertexFinder.h"
5 static const double kBigErr2 = 100;
7 StiVertexFinder::StiVertexFinder(
const string & name):
Named(name)
9 _hitFactory= StiToolkit::instance()->getHitFactory();
10 cout <<
"StiVertexFinder::StiVertexFinder() -I- Started :" << name<<endl;
14 StiVertexFinder::~StiVertexFinder()
17 const std::vector<StiHit* >* StiVertexFinder::result()
22 for (
int i=0;(hit=getVertex(i));i++) {
23 if (hit->
sxx() > kBigErr2)
continue;
24 if (hit->syy() > kBigErr2)
continue;
25 if (hit->szz() > kBigErr2)
continue;
26 _result.push_back(hit);
Float_t sxx() const
Return components of the error matrix.