ATLAS Offline Software
Loading...
Searching...
No Matches
TrkTrackState.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3*/
4
6// TrkTrackState.h
7// Header file for class TrkTrackState
9// (c) ATLAS Detector software
11// Author: Dmitry Emeliyanov, RAL
12// D.Emeliyanov@rl.ac.uk
14
15#ifndef TRKDISTRIBUTEDKALMANFILTER_TRK_TRACKSTATE_H
16#define TRKDISTRIBUTEDKALMANFILTER_TRK_TRACKSTATE_H
17
18
19namespace Trk {
20 class TrkBaseNode;
21 class TrkPlanarSurface;
22 class MeasuredPerigee;
24 {
25 public:
27 TrkTrackState(const double[5]);
30 void report();
31 void resetCovariance();
32 void serialize(char fileName[]);
35 void setScatteringMode(int);
36 int getScatteringMode() const;
38 void updateTrackState(const double*);
39 void updateTrackCovariance(const double*);
40 void setTrackCovariance(double A[5][5]);
41 void setTrackState(const double A[5]);
42 void setSmootherGain(double A[5][5]);
44 void runSmoother();
46 void applyEnergyLoss(int);
47 inline double getTrackState(int i)
48 {
49 return m_Rk[i];
50 }
51 inline double getTrackCovariance(int i, int j)
52 {
53 return m_Gk[i][j];
54 }
55 inline int getStateSize()
56 {
57 return 5;
58 }
59 protected:
60 double m_Rk[5]{},m_Re[5]{};
61 double m_Gk[5][5]{},m_Ge[5][5]{};
66 double m_A[5][5]{};
67 };
68}
69
70#endif
double getTrackState(int i)
TrkPlanarSurface * getSurface()
void updateTrackCovariance(const double *)
int getScatteringMode() const
void setTrackState(const double A[5])
void updateTrackState(const double *)
double getTrackCovariance(int i, int j)
void setTrackCovariance(double A[5][5])
void setPreviousState(TrkTrackState *)
double m_Gk[5][5]
void serialize(char fileName[])
double m_Ge[5][5]
TrkPlanarSurface * m_pSurface
void setSmootherGain(double A[5][5])
void attachToSurface(TrkPlanarSurface *)
TrkTrackState * m_pPrevState
Ensure that the ATLAS eigen extensions are properly loaded.
Perigee MeasuredPerigee
hold the test vectors and ease the comparison