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