10#ifndef VERTEXFITREFINE_VERTEXFITREFINE_H
11#define VERTEXFITREFINE_VERTEXFITREFINE_H
18extern const double&
muon;
19extern const double&
pion;
20extern const double&
kaon;
21extern const double&
proton;
23extern const double empikp[5];
52 int n4,
int n5,
int n6);
54 int n4,
int n5,
int n6,
int n7);
56 int n4,
int n5,
int n6,
int n7,
int n8);
58 int n4,
int n5,
int n6,
int n7,
int n8,
int n9);
60 int n4,
int n5,
int n6,
int n7,
int n8,
int n9,
int n10);
62 int n4,
int n5,
int n6,
int n7,
int n8,
int n9,
int n10,
65 int n4,
int n5,
int n6,
int n7,
int n8,
int n9,
int n10,
71 void setChisqCut(
const double chicut = 1000,
const double chiter = 1.0e-3);
82 HepLorentzVector
pfit(
int n)
const;
84 HepVector
w(
int n)
const;
85 HepSymMatrix
Ew(
int n)
const;
90 HepVector
Vx(
int n)
const;
91 HepSymMatrix
Evx(
int n)
const;
96 HepVector
helix(
int n)
const;
113 static const double obeampipe;
118 std::vector<int> m_trkIdxOrigin;
119 std::vector<RecMdcKalTrack*> m_tracksOrigin;
120 std::vector<RecMdcKalTrack::PidType> m_trkPidOrigin;
121 std::vector<WTrackParameter> m_wtrkInfit;
122 std::vector<HepLorentzVector> m_p4Infit;
123 std::vector<HepPoint3D> m_x3Infit;
125 std::vector<HepVector> m_helices;
128 std::vector<VertexParameter> m_vtxsOrigin;
WTrackParameter wVirtualTrack(int n) const
HepSymMatrix Ew(int n) const
HepVector Vx(int n) const
HepLorentzVector pfit(int n) const
void AddTrack(const int index, RecMdcKalTrack *p, const RecMdcKalTrack::PidType pid)
HepSymMatrix Evx(int n) const
void setChisqCut(const double chicut=1000, const double chiter=1.0e-3)
WTrackParameter wtrk(int n) const
void setMagCorrFactor(const double factor=1.000)
static VertexFitRefine * instance()
void AddBeamFit(int number, VertexParameter vpar, int n)
void setIterNumber(const int niter=10)
HepPoint3D xfit(int n) const
void AddVertex(int number, VertexParameter vpar, std::vector< int > lis)
double errorVx(int n, int i) const
VertexParameter vpar(int n) const
HepVector helix(int n) const
HepPoint3D vx(int n) const