Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

w_YFMVTC.h

Go to the documentation of this file.
00001 #ifndef _W_YFMVTC_H_
00002 #define _w_YFMVTC_H_
00003 
00004 #include "VfAlgo.h"
00005 #include "VfTrack.h"
00006 
00007 //-----------------------------------------------------------------------
00008 // Mass Constrained Vertex Fit Algorithm              11/01 Kay Huettmann
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;     // mass constraint
00026   virtual void setVertexC(const Vertex& vertex_c) {} // dummy
00027 
00028 
00029 }; 
00030 #endif
00031   
00032  

Generated at Mon Nov 11 15:56:02 2002 for ALPHA++ by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001