1#ifndef VertexFit_SecondVertexFit_H
2#define VertexFit_SecondVertexFit_H
3#include "VertexFit/TrackPool.h"
4#include "VertexFit/VertexFit.h"
33 void setChisqCut(
const double chicut = 500,
const double chiter = 1.0e-2) {m_chicut = chicut;m_chiter=chiter;}
45 double chisq()
const {
return m_chisq;}
48 double ctau()
const {
return m_ctau;}
50 double factor()
const {
return m_factor;}
52 HepLorentzVector
p4par()
const {
return m_p4par;}
71 HepLorentzVector m_p4par;
83 return HepPoint3D(m_crxyz[0], m_crxyz[1], m_crxyz[2]);
88 return Hep3Vector(m_crxyz[0] - m_vpar_primary.
Vx()[0],
89 m_crxyz[1] - m_vpar_primary.
Vx()[1],
90 m_crxyz[2] - m_vpar_primary.
Vx()[2]);
HepGeom::Point3D< double > HepPoint3D
void setMagCorrFactor(const double factor=1.000)
HepLorentzVector p4par() const
void setPrimaryVertex(const VertexParameter vpar)
HepPoint3D crossPoint() const
void setIterNumber(const int niter=10)
double decayLength() const
VertexParameter vpar() const
double decayLengthError() const
Hep3Vector crossVector() const
static SecondVertexFit * instance()
void setVpar(const VertexParameter vpar)
void setChisqCut(const double chicut=500, const double chiter=1.0e-2)
WTrackParameter wpar() const
void setEvx(const HepSymMatrix &eVx)
void setVx(const HepPoint3D &vx)