ATLAS Offline Software
Loading...
Searching...
No Matches
Trigger/TrigAccel/TrigCudaFitter/src/TrkTrackState.h
Go to the documentation of this file.
1
2// TrkTrackState.h
3// Header file for class TrkTrackState
5// Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
7// Author: Dmitry Emeliyanov, RAL
8// D.Emeliyanov@rl.ac.uk
10
11#ifndef __TRK_TRACK_STATE_H__
12#define __TRK_TRACK_STATE_H__
13
14class TrkBaseNode;
17{
18 public:
19 TrkTrackState() = default;
20 TrkTrackState(const double[5]);
23
24 void report();
26 void serialize(char fileName[]);
33 void updateTrackState(double*);
34 void updateTrackCovariance(double*);
35 void setTrackCovariance(double A[5][5]);
36 void setTrackState(double A[5]);
37 void setSmootherGain(double A[5][5]);
40 inline double getTrackState(int i)
41 {
42 return m_Rk[i];
43 }
44 inline double getTrackCovariance(int i, int j)
45 {
46 return m_Gk[i][j];
47 }
48 inline int getStateSize()
49 {
50 return 5;
51 }
52
53 protected:
54 double m_Rk[5]{};
55 double m_Re[5]{};
56 double m_Gk[5][5]{};
57 double m_Ge[5][5]{};
59 bool m_isScattered{false};
62 double m_A[5][5]{};
63
64 private:
65 void applyEnergyLoss(int);
66};
67
68#endif
void applyMultipleScattering()
void applyMaterialEffects()
int getScatteringMode()
void setPreviousState(TrkTrackState *)
TrkTrackState(const TrkTrackState *)
void updateTrackState(double *)
void attachToSurface(TrkPlanarSurface *)
void setTrackCovariance(double A[5][5])
void applyEnergyLoss(int)
void setTrackState(double A[5])
TrkPlanarSurface * getSurface()
void setSmootherGain(double A[5][5])
void setScatteringMode(int)
void runSmoother()
void updateTrackCovariance(double *)
TrkTrackState(const double[5])
void resetCovariance()
void serialize(char fileName[])
TrkTrackState()=default
hold the test vectors and ease the comparison