1#ifndef VertexFit_FastVertexFit_H
2#define VertexFit_FastVertexFit_H
4#include "CLHEP/Matrix/Matrix.h"
5#include "CLHEP/Matrix/SymMatrix.h"
6#include "CLHEP/Vector/ThreeVector.h"
7using CLHEP::Hep3Vector;
9using CLHEP::HepSymMatrix;
10using CLHEP::HepVector;
11#include "CLHEP/Geometry/Point3D.h"
12#ifndef ENABLE_BACKWARDS_COMPATIBILITY
15#include "VertexFit/VertexParameter.h"
31 void addTrack(
const int number,
const HepVector helix,
const HepSymMatrix err );
37 double chisq()
const {
return m_chisq; }
39 HepVector
Vx()
const {
return m_Vx; }
40 HepSymMatrix
Evx()
const {
return m_Evx; }
41 HepVector
Pull()
const;
44 void updateMatrices(
const HepVector helix,
const HepSymMatrix err );
47 std::vector<HepMatrix> m_D;
48 std::vector<HepSymMatrix> m_W;
49 std::vector<HepSymMatrix> m_DTWD;
50 std::vector<HepVector>
m_xp;
HepGeom::Point3D< double > HepPoint3D
NTuple::Item< double > m_xp
static FastVertexFit * instance()
VertexParameter vtx() const
void addTrack(const int number, const HepVector helix, const HepSymMatrix err)