ATLAS Offline Software
Trigger/TrigAccel/TrigCudaFitter/src/TrkTrackState.h
Go to the documentation of this file.
1 // 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 
14 class TrkBaseNode;
15 class TrkPlanarSurface;
17 {
18  public:
19  TrkTrackState() = default;
20  TrkTrackState(const double[5]);
23 
24  void report();
26  void serialize(char fileName[]);
29  void setScatteringMode(int);
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]);
39  void runSmoother();
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]{};
58  int m_scattMode{0};
59  bool m_isScattered{false};
62  double m_A[5][5]{};
63 
64  private:
65  void applyEnergyLoss(int);
66 };
67 
68 #endif
TrkTrackState::~TrkTrackState
~TrkTrackState()
Definition: Trigger/TrigAccel/TrigCudaFitter/src/TrkTrackState.h:22
TrkTrackState::setPreviousState
void setPreviousState(TrkTrackState *)
TrkTrackState::getSurface
TrkPlanarSurface * getSurface()
TrkTrackState::getTrackState
double getTrackState(int i)
Definition: Trigger/TrigAccel/TrigCudaFitter/src/TrkTrackState.h:40
TrkTrackState
Definition: Trigger/TrigAccel/TrigCudaFitter/src/TrkTrackState.h:17
TrkTrackState::updateTrackState
void updateTrackState(double *)
TrkTrackState::m_Rk
double m_Rk[5]
Definition: Trigger/TrigAccel/TrigCudaFitter/src/TrkTrackState.h:54
TrkTrackState::m_A
double m_A[5][5]
Definition: Trigger/TrigAccel/TrigCudaFitter/src/TrkTrackState.h:62
TrkTrackState::runSmoother
void runSmoother()
TrkTrackState::m_Re
double m_Re[5]
Definition: Trigger/TrigAccel/TrigCudaFitter/src/TrkTrackState.h:55
TrkTrackState::m_isScattered
bool m_isScattered
Definition: Trigger/TrigAccel/TrigCudaFitter/src/TrkTrackState.h:59
TrkTrackState::applyMaterialEffects
void applyMaterialEffects()
TrkTrackState::serialize
void serialize(char fileName[])
TrkPlanarSurface
Definition: Trigger/TrigAccel/TrigCudaFitter/src/TrkPlanarSurface.h:15
A
FortranAlgorithmOptions.fileName
fileName
Definition: FortranAlgorithmOptions.py:13
TrkTrackState::TrkTrackState
TrkTrackState(const TrkTrackState *)
TrkTrackState::setScatteringMode
void setScatteringMode(int)
lumiFormat.i
int i
Definition: lumiFormat.py:85
TrkTrackState::setTrackCovariance
void setTrackCovariance(double A[5][5])
TrkTrackState::applyEnergyLoss
void applyEnergyLoss(int)
TrkTrackState::m_pSurface
TrkPlanarSurface * m_pSurface
Definition: Trigger/TrigAccel/TrigCudaFitter/src/TrkTrackState.h:60
TrkTrackState::resetCovariance
void resetCovariance()
TrkTrackState::attachToSurface
void attachToSurface(TrkPlanarSurface *)
TrkTrackState::TrkTrackState
TrkTrackState(const double[5])
TrkBaseNode
Definition: Trigger/TrigAccel/TrigCudaFitter/src/TrkBaseNode.h:18
TrkTrackState::m_Ge
double m_Ge[5][5]
Definition: Trigger/TrigAccel/TrigCudaFitter/src/TrkTrackState.h:57
TrkTrackState::m_pPrevState
TrkTrackState * m_pPrevState
Definition: Trigger/TrigAccel/TrigCudaFitter/src/TrkTrackState.h:61
TrkTrackState::TrkTrackState
TrkTrackState()=default
TrkTrackState::applyMultipleScattering
void applyMultipleScattering()
TrkTrackState::m_Gk
double m_Gk[5][5]
Definition: Trigger/TrigAccel/TrigCudaFitter/src/TrkTrackState.h:56
TrkTrackState::getScatteringMode
int getScatteringMode()
TrkTrackState::getStateSize
int getStateSize()
Definition: Trigger/TrigAccel/TrigCudaFitter/src/TrkTrackState.h:48
TrkTrackState::setSmootherGain
void setSmootherGain(double A[5][5])
TrkTrackState::updateTrackCovariance
void updateTrackCovariance(double *)
TrkTrackState::report
void report()
TrkTrackState::getTrackCovariance
double getTrackCovariance(int i, int j)
Definition: Trigger/TrigAccel/TrigCudaFitter/src/TrkTrackState.h:44
TrkTrackState::m_scattMode
int m_scattMode
Definition: Trigger/TrigAccel/TrigCudaFitter/src/TrkTrackState.h:58
TrkTrackState::setTrackState
void setTrackState(double A[5])