Skip to content
Snippets Groups Projects
Commit 761c2d9f authored by Goetz Gaycken's avatar Goetz Gaycken Committed by Graeme Stewart
Browse files

Fix jump depends on uninitialised (ATLASRECTS-2609).

BilloirVertex and Track are now initised with zero.The properties
of the BilloirVertex are corrected iteratively. Without
initialisation the start values are random. (TrkVertexBilloirTools-01-01-02)

	* Fix jump depends on uninitialised value (ATLASRECTS-2609).
parent 79734b40
No related branches found
No related tags found
No related merge requests found
......@@ -35,8 +35,8 @@ namespace
{
struct BilloirTrack
{
BilloirTrack() : DtWD() {};
virtual ~BilloirTrack() {};
BilloirTrack() : originalPerigee(nullptr),chi2{} { DtWD.setZero(); DtWDx.setZero(); xpVec.setZero();}
virtual ~BilloirTrack() {}
const Trk::TrackParameters * originalPerigee;
AmgMatrix(3,3) DtWD;
Amg::Vector3D DtWDx;
......@@ -46,8 +46,8 @@ namespace
struct BilloirVertex
{
BilloirVertex() {};
virtual ~BilloirVertex() {};
BilloirVertex() : chi2{},ndf{} { DtWD_Sum.setZero(); DtWDx_Sum.setZero();}
virtual ~BilloirVertex() {}
AmgMatrix(3,3) DtWD_Sum;
Amg::Vector3D DtWDx_Sum;
double chi2;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment