00001 #ifndef _VERTEXCVFIT_H_ 00002 #define _VERTEXCVFIT_H_ 00003 00004 #include "AlVertexFitter.h" 00005 #include "w_YFMVTR.h" 00006 //======================================================================= 00007 // VertexCVfit (derived from AlVertexFitter) 00008 // Vertex fit with additional vertex constraint 00009 // 00010 // 11/2001 K. Huettmann 00011 //======================================================================= 00012 00013 class VertexCVfit: public AlVertexFitter { 00014 00015 public: 00016 VertexCVfit() { _algo = new w_YFMVTR; } // uses Ytop's YFMVTR 00017 virtual ~VertexCVfit() {delete _algo;} 00018 00019 // set vertex constraint 00020 void setVertexC(QvrtBase* theVertexC) { 00021 Vertex temp_vtx(theVertexC); 00022 _algo->setVertexC(temp_vtx); 00023 } 00024 00025 }; 00026 #endif 00027