ATLAS Offline Software
Trigger/TrigAccel/TrigCudaFitter/src/TrkBaseNode.h
Go to the documentation of this file.
1 // TrkBaseNode.h old
3 // Header file for class TrkBaseNode
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 
12 #ifndef __TRK_BASE_NODE_H__
13 #define __TRK_BASE_NODE_H__
14 
15 class TrkTrackState;
16 class TrkPlanarSurface;
17 
18 class TrkBaseNode {
19  public:
21  virtual ~TrkBaseNode();
22 
23  virtual void validateMeasurement(TrkTrackState*) = 0;
24  virtual void updateTrackState(TrkTrackState*) = 0;
25  virtual double getChi2Distance(TrkTrackState*)=0;
26 
27  virtual void report() = 0;
28  virtual bool isValidated();
29  virtual void setNodeState(int);
30  virtual int getNodeState();
31  virtual void setNodeType(char);
32  virtual char getNodeType();
33  virtual void updateInternal();
36  virtual void serialize(char fileName[]) = 0;
37  double getChi2();
38 
39  int getNdof();
40  virtual int getKalmanGain(double[5][2]) = 0;
41  virtual int getResiduals(double[2]) = 0;
42  virtual int getInverseResidualVariance(double[2][2]) = 0;
43  virtual int getMeasurementMatrix(double[2][5]) = 0;
44 
45  protected:
47  double m_chi2Cut;
48  char m_nodeType;
50  double m_dChi2;
51  int m_ndof;
53 };
54 
55 #endif
TrkBaseNode::report
virtual void report()=0
TrkBaseNode::getTrackState
TrkTrackState * getTrackState()
TrkBaseNode::m_pTrackState
TrkTrackState * m_pTrackState
Definition: Trigger/TrigAccel/TrigCudaFitter/src/TrkBaseNode.h:52
TrkBaseNode::updateTrackState
virtual void updateTrackState(TrkTrackState *)=0
TrkBaseNode::m_nodeType
char m_nodeType
Definition: Trigger/TrigAccel/TrigCudaFitter/src/TrkBaseNode.h:48
TrkBaseNode::validateMeasurement
virtual void validateMeasurement(TrkTrackState *)=0
TrkTrackState
Definition: Trigger/TrigAccel/TrigCudaFitter/src/TrkTrackState.h:17
TrkBaseNode::TrkBaseNode
TrkBaseNode()
TrkBaseNode::serialize
virtual void serialize(char fileName[])=0
TrkBaseNode::setNodeState
virtual void setNodeState(int)
TrkBaseNode::setNodeType
virtual void setNodeType(char)
TrkBaseNode::updateInternal
virtual void updateInternal()
TrkBaseNode::m_chi2Cut
double m_chi2Cut
Definition: Trigger/TrigAccel/TrigCudaFitter/src/TrkBaseNode.h:47
TrkBaseNode::getResiduals
virtual int getResiduals(double[2])=0
TrkPlanarSurface
Definition: Trigger/TrigAccel/TrigCudaFitter/src/TrkPlanarSurface.h:15
FortranAlgorithmOptions.fileName
fileName
Definition: FortranAlgorithmOptions.py:13
TrkBaseNode::~TrkBaseNode
virtual ~TrkBaseNode()
TrkBaseNode::getNdof
int getNdof()
TrkBaseNode::getInverseResidualVariance
virtual int getInverseResidualVariance(double[2][2])=0
TrkBaseNode::m_ndof
int m_ndof
Definition: Trigger/TrigAccel/TrigCudaFitter/src/TrkBaseNode.h:51
TrkBaseNode::getSurface
virtual TrkPlanarSurface * getSurface()
TrkBaseNode::m_pSurface
TrkPlanarSurface * m_pSurface
Definition: Trigger/TrigAccel/TrigCudaFitter/src/TrkBaseNode.h:49
TrkBaseNode::m_nodeState
int m_nodeState
Definition: Trigger/TrigAccel/TrigCudaFitter/src/TrkBaseNode.h:46
TrkBaseNode
Definition: Trigger/TrigAccel/TrigCudaFitter/src/TrkBaseNode.h:18
TrkBaseNode::getChi2Distance
virtual double getChi2Distance(TrkTrackState *)=0
TrkBaseNode::getNodeType
virtual char getNodeType()
TrkBaseNode::getNodeState
virtual int getNodeState()
TrkBaseNode::getMeasurementMatrix
virtual int getMeasurementMatrix(double[2][5])=0
TrkBaseNode::getChi2
double getChi2()
TrkBaseNode::m_dChi2
double m_dChi2
Definition: Trigger/TrigAccel/TrigCudaFitter/src/TrkBaseNode.h:50
TrkBaseNode::getKalmanGain
virtual int getKalmanGain(double[5][2])=0
TrkBaseNode::isValidated
virtual bool isValidated()