#include "hgeomvertexfit2.h"

HGeomVertexFit2


class description - source file - inheritance tree (.pdf)

class HGeomVertexFit2 : public TObject

Inheritance Chart:
TObject
<-
HGeomVertexFit2

    public:
HGeomVertexFit2() HGeomVertexFit2(const HGeomVertexFit2&) ~HGeomVertexFit2() void addLine(const HGeomVector& r, const HGeomVector& alpha, HSymMat4& cov, Float_t zv, const Double_t w = 1.0) static TClass* Class() void getVertex(HGeomVector& out) virtual TClass* IsA() const HGeomVertexFit2& operator=(const HGeomVertexFit2&) void reset() virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members

    private:
HGeomMatrix fM Temporal matrix for calculations protected:
HGeomMatrix fSys LSM system inverse matrix HGeomVector fB LSM independent term

Class Description

HGeomVertexFit

  Calculates the point of maximun approach to any given
set of n tracks with user specified weights.

  To start the operation the function reset() is called, then
addLine() should be used on all tracks on the sample and
finally getVertex() will provide the desired point.

  Note that getVertex() is not destructive, you can continue
adding lines after getVertex() was called


HGeomVertexFit2(void)
 The default constructor

~HGeomVertexFit2(void)
 Everything that is constructed has to be destructed

void addLine(const HGeomVector &r, const HGeomVector &alpha, HSymMat4 &cov,Float_t zv,const Double_t w)
 Function to add lines to the fit.
 Input
   r --> A point in the straight line
   alpha --> Direction vector
   w --> weight of this line in the fit
   cov --> Covariance matrix with elements
   		sigma(x, y, x', y')
   zv --> Stimation of z coord. of vertex

void getVertex(HGeomVector &out)
 This method fills the vector "out" with the coordinates
of the point of maximun approach to the lines added with
addLine()

void reset(void)
 Resets the fitting procedure. That is, the class goes to the
state where no line was added



Inline Functions


                 TClass* Class()
                 TClass* IsA() const
                    void ShowMembers(TMemberInspector& insp, char* parent)
                    void Streamer(TBuffer& b)
                    void StreamerNVirtual(TBuffer& b)
         HGeomVertexFit2 HGeomVertexFit2(const HGeomVertexFit2&)
        HGeomVertexFit2& operator=(const HGeomVertexFit2&)


Author: M. Sanchez
Last update: 07.03.2001 (M. Sanchez)


ROOT page - Class index - Class Hierarchy - Top of the page

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.