ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
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) |
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
VertexFinder::VertexFinder | ( | ) |
Definition at line 20 of file VertexFinder.cpp.
View newest version in sPHENIX GitHub at line 20 of file VertexFinder.cpp
|
inlinevirtual |
Definition at line 21 of file VertexFinder.h.
View newest version in sPHENIX GitHub at line 21 of file VertexFinder.h
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 |
||
) |
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.
[in] | tracks | List of track candidates |
[in,out] | vertex | The vertex position in x,y,z |
Definition at line 33 of file VertexFinder.cpp.
View newest version in sPHENIX GitHub at line 33 of file VertexFinder.cpp