MarlinTPC  1.2.0
Public Attributes | List of all members
marlintpc::LinearTrackRegression::StraightLine Struct Reference

A nested struct which is used as return value of the regression. More...

#include <LinearTrackRegression.h>

Public Attributes

float slope1
 
float intersept1
 
float slope2
 
float intersept2
 

Detailed Description

A nested struct which is used as return value of the regression.

Slope1 and intersept1 are the track parameters in the xy-plane.
Slope2 and intersept2 are the track parameters in the xz- or yz-plane, respectively.

Depending on the orientation of the track this could be

y = slope1 * x + intersept1
z = slope2 * x + intersept2

or

x = slope1 * y + intersept1
z = slope2 * y + intersept2


The documentation for this struct was generated from the following file: