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

A class to determine the vertex. More...

#include <coresoftware/blob/master/offline/packages/HelixHough/helix_hough/VertexFinder.h>

Public Member Functions

 VertexFinder ()
 
virtual ~VertexFinder ()
 
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 VertexFinder.h.

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

Constructor & Destructor Documentation

VertexFinder::VertexFinder ( )

Definition at line 20 of file VertexFinder.cpp.

View newest version in sPHENIX GitHub at line 20 of file VertexFinder.cpp

virtual VertexFinder::~VertexFinder ( )
inlinevirtual

Definition at line 21 of file VertexFinder.h.

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

Member Function Documentation

bool VertexFinder::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 PHHoughSeeding::full_track_seeding().

+ Here is the caller graph for this function:

bool VertexFinder::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 33 of file VertexFinder.cpp.

View newest version in sPHENIX GitHub at line 33 of file VertexFinder.cpp


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