ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
VertexFitter Class Reference

A class to determine the vertex. More...

#include <coresoftware/blob/master/offline/packages/trackreco/VertexFitter.h>

Public Member Functions

 VertexFitter ()
 
virtual ~VertexFitter ()
 
bool findVertex (std::vector< SimpleTrack3D > &tracks, std::vector< Eigen::Matrix< float, 5, 5 > > &covariances, std::vector< float > &vertex, float sigma, bool fix_xy=false)
 
bool findVertex (std::vector< SimpleTrack3D > &tracks, std::vector< float > &vertex, float sigma, bool fix_xy=false)
 

Detailed Description

A class to determine the vertex.

This class incorporates Newton's method for gradient descent against an expo-dca^2 function.

Definition at line 18 of file VertexFitter.h.

View newest version in sPHENIX GitHub at line 18 of file VertexFitter.h

Constructor & Destructor Documentation

VertexFitter::VertexFitter ( )

Definition at line 17 of file VertexFitter.cc.

View newest version in sPHENIX GitHub at line 17 of file VertexFitter.cc

virtual VertexFitter::~VertexFitter ( )
inlinevirtual

Definition at line 21 of file VertexFitter.h.

View newest version in sPHENIX GitHub at line 21 of file VertexFitter.h

Member Function Documentation

bool VertexFitter::findVertex ( std::vector< SimpleTrack3D > &  tracks,
std::vector< Eigen::Matrix< float, 5, 5 > > &  covariances,
std::vector< float > &  vertex,
float  sigma,
bool  fix_xy = false 
)

Referenced by PHInitZVertexing::fit_vertex(), and PHPatternReco::fit_vertex().

+ Here is the caller graph for this function:

bool VertexFitter::findVertex ( std::vector< SimpleTrack3D > &  tracks,
std::vector< float > &  vertex,
float  sigma,
bool  fix_xy = false 
)

The method will find the vertex given an initial guess and a list of track candidates.

Parameters
[in]tracksList of track candidates
[in,out]vertexThe vertex position in x,y,z
Returns
true if successful

Definition at line 30 of file VertexFitter.cc.

View newest version in sPHENIX GitHub at line 30 of file VertexFitter.cc


The documentation for this class was generated from the following files: