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

w_YFMVTR.h

Go to the documentation of this file.
00001 #ifndef _W_YFMVTR_H_
00002 #define _W_YFMVTR_H_
00003 
00004 #include "VfAlgo.h"
00005 #include "VfTrack.h"
00006 
00007 //-----------------------------------------------------------------------
00008 // Simple Vertex Fit Algorithm                      11/01 Kay Huettmann
00009 // (also for vertex constrained fits)
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;                           // vertex constraint
00027   virtual void setMassC(double mass_c){}       // dummy
00028 
00029 };
00030 #endif
00031    
00032   
00033  
00034  

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