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/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) |
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
VertexFitter::VertexFitter | ( | ) |
Definition at line 17 of file VertexFitter.cc.
View newest version in sPHENIX GitHub at line 17 of file VertexFitter.cc
|
inlinevirtual |
Definition at line 21 of file VertexFitter.h.
View newest version in sPHENIX GitHub at line 21 of file VertexFitter.h
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().
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.
[in] | tracks | List of track candidates |
[in,out] | vertex | The vertex position in x,y,z |
Definition at line 30 of file VertexFitter.cc.
View newest version in sPHENIX GitHub at line 30 of file VertexFitter.cc