32 static void printMatrix(
const TMatrixD& m, std::string str);
38 static TMatrixD
getABC(
const TMatrixD& A,
const TMatrixD& B,
const TMatrixD& C);
39 static TMatrixD
getABCt(
const TMatrixD& A,
const TMatrixD& B,
const TMatrixD& C);
40 static TMatrixD
getAtBC(
const TMatrixD& A,
const TMatrixD& B,
const TMatrixD& C);
41 static TMatrixD
getABtC(
const TMatrixD& A,
const TMatrixD& B,
const TMatrixD& C);
42 static TMatrixD
getABtCinv(
const TMatrixD& A,
const TMatrixD& B,
const TMatrixD& C);
63 double get_mom(
double& px,
double& py,
double& pz);
66 double get_pos(
double& x,
double& y,
double& z);
103 void print(
bool verbose =
true);
137 void setZ(
double z) { _z = z; }
154 TMatrixD _measurement;
155 TMatrixD _measurement_cov;
157 TMatrixD _propagator;
161 bool _prediction_done;
Definition of hit structure.
TMatrixD getSmoothedResidual()
void setPredictionDone(bool flag=true)
TMatrixD getSmoothedResidualCov()
void print(bool verbose=true)
print for debugging purposes
TrkPar & getPredicted()
Gets.
void setFilterDone(bool flag=true)
TMatrixD & getMeasurement()
void setProjector(TMatrixD &p)
TMatrixD getPredictedResidualCov()
void setChisq(double chisq)
void addChisq(double chisq)
TMatrixD getFilteredResidual()
TMatrixD & getProjector()
TMatrixD & getMeasurementCov()
void setPropagator(TMatrixD &p)
void setSmoothDone(bool flag=true)
Node()
default constructor, only initialize the matrix dimension
TMatrixD getPredictedResidual()
Matrix calculations, should be called as less as possible.
void setMeasurement(TMatrixD &m, TMatrixD &cov)
Sets.
bool operator<(const Node &elem) const
Overriden operators.
TMatrixD & getPropagator()
TMatrixD getFilteredResidualCov()
static TMatrixD getABtCinv(const TMatrixD &A, const TMatrixD &B, const TMatrixD &C)
static TMatrixD getABtC(const TMatrixD &A, const TMatrixD &B, const TMatrixD &C)
static TMatrixD getABC(const TMatrixD &A, const TMatrixD &B, const TMatrixD &C)
static void unitMatrix(TMatrixD &m)
static TMatrixD getABCt(const TMatrixD &A, const TMatrixD &B, const TMatrixD &C)
static TMatrixD getAtBC(const TMatrixD &A, const TMatrixD &B, const TMatrixD &C)
static void zeroMatrix(TMatrixD &m)
static TMatrixD invertMatrix(const TMatrixD &m)
static TMatrixD invertMatrixFast(const TMatrixD &m)
static void printMatrix(const TMatrixD &m)
static TMatrixD transposeMatrix(const TMatrixD &m)
void set_covariance(TMatrixD &cov)
void print()
print for debugging purpose
const TMatrixD & get_state_vector()
Gets.
TMatrixD _state_kf
State vectors and its covariance.
void set_state_vector(TMatrixD &state)
Sets.
void set_dxdz(double val)
double get_pos(double &x, double &y, double &z)
const TMatrixD & get_covariance()
void set_dydz(double val)