00001 #ifndef _W_YFMVTR_H_
00002 #define _W_YFMVTR_H_
00003
00004 #include "VfAlgo.h"
00005 #include "VfTrack.h"
00006
00007
00008
00009
00010
00011
00012 class w_YFMVTR: public VfAlgo {
00013
00014 public:
00015 w_YFMVTR() {_pVertexC = NULL;}
00016 virtual ~w_YFMVTR() { delete _pVertexC; }
00017 virtual bool getResult(const vector<Helix>& vTrack,
00018 HepLorentzVector& motherTrack, HepSymMatrix& covMatrixTrack,
00019 Hep3Vector& endVertex, HepSymMatrix& covMatrixVertex,
00020 HepMatrix& corrVertexTrack,
00021 float& chi2) const;
00022
00023 virtual void setVertexC(const Vertex& vertex_c) { _pVertexC = new Vertex; *_pVertexC = vertex_c;}
00024
00025 private:
00026 Vertex* _pVertexC;
00027 virtual void setMassC(double mass_c){}
00028
00029 };
00030 #endif
00031
00032
00033
00034