ATLAS Offline Software
Public Member Functions | Protected Attributes | List of all members
Trk::TrkBaseNode Class Referenceabstract

#include <TrkBaseNode.h>

Inheritance diagram for Trk::TrkBaseNode:
Collaboration diagram for Trk::TrkBaseNode:

Public Member Functions

 TrkBaseNode ()
 
virtual ~TrkBaseNode ()
 
virtual void validateMeasurement (TrkTrackState *)=0
 
virtual void updateTrackState (TrkTrackState *)=0
 
virtual void report ()=0
 
virtual bool isValidated ()
 
virtual void setNodeState (int)
 
virtual int getNodeState ()
 
virtual void setNodeType (char)
 
virtual char getNodeType ()
 
virtual void updateInternal ()
 
virtual void updateWithRIO (const RIO_OnTrack *)=0
 
TrkTrackStategetTrackState ()
 
virtual TrkPlanarSurfacegetSurface ()
 
virtual const PrepRawDatagetPrepRawData ()
 
virtual void serialize (char fileName[])=0
 
double getChi2 () const
 
virtual double getChi2Distance (TrkTrackState *)=0
 
int getNdof () const
 
virtual int getKalmanGain (double[5][2])=0
 
virtual int getResiduals (double[2])=0
 
virtual int getInverseResidualVariance (double[2][2])=0
 
virtual int getMeasurementMatrix (double[2][5])=0
 

Protected Attributes

int m_nodeState
 
double m_chi2Cut
 
char m_nodeType
 
TrkPlanarSurfacem_pSurface
 
const PrepRawDatam_pPRD
 
double m_dChi2
 
int m_ndof
 
TrkTrackStatem_pTrackState
 

Detailed Description

Definition at line 23 of file Tracking/TrkFitter/TrkDistributedKalmanFilter/TrkDistributedKalmanFilter/TrkBaseNode.h.

Constructor & Destructor Documentation

◆ TrkBaseNode()

TrkBaseNode::TrkBaseNode ( )

Definition at line 21 of file TrkBaseNode.cxx.

22  : m_nodeState(1),
23  m_chi2Cut{},
24  m_nodeType{},
25  m_pSurface{},
26  m_pPRD{},
27  m_dChi2(0.0),
28  m_ndof(0),
29  m_pTrackState(nullptr) {}

◆ ~TrkBaseNode()

TrkBaseNode::~TrkBaseNode ( )
virtualdefault

Member Function Documentation

◆ getChi2()

double TrkBaseNode::getChi2 ( ) const

Definition at line 69 of file TrkBaseNode.cxx.

69  {
70  return m_dChi2;
71  }

◆ getChi2Distance()

virtual double Trk::TrkBaseNode::getChi2Distance ( TrkTrackState )
pure virtual

◆ getInverseResidualVariance()

virtual int Trk::TrkBaseNode::getInverseResidualVariance ( double  [2][2])
pure virtual

◆ getKalmanGain()

virtual int Trk::TrkBaseNode::getKalmanGain ( double  [5][2])
pure virtual

◆ getMeasurementMatrix()

virtual int Trk::TrkBaseNode::getMeasurementMatrix ( double  [2][5])
pure virtual

◆ getNdof()

int TrkBaseNode::getNdof ( ) const

Definition at line 65 of file TrkBaseNode.cxx.

65  {
66  return m_ndof;
67  }

◆ getNodeState()

int TrkBaseNode::getNodeState ( )
virtual

Definition at line 53 of file TrkBaseNode.cxx.

53  {
54  return m_nodeState;
55  }

◆ getNodeType()

char TrkBaseNode::getNodeType ( )
virtual

Definition at line 61 of file TrkBaseNode.cxx.

61  {
62  return m_nodeType;
63  }

◆ getPrepRawData()

const PrepRawData * TrkBaseNode::getPrepRawData ( )
virtual

Definition at line 39 of file TrkBaseNode.cxx.

39  {
40  return m_pPRD;
41  }

◆ getResiduals()

virtual int Trk::TrkBaseNode::getResiduals ( double  [2])
pure virtual

◆ getSurface()

TrkPlanarSurface * TrkBaseNode::getSurface ( )
virtual

Definition at line 35 of file TrkBaseNode.cxx.

35  {
36  return m_pSurface;
37  }

◆ getTrackState()

TrkTrackState * TrkBaseNode::getTrackState ( )

Definition at line 43 of file TrkBaseNode.cxx.

43  {
44  return m_pTrackState;
45  }

◆ isValidated()

bool TrkBaseNode::isValidated ( )
virtual

Definition at line 31 of file TrkBaseNode.cxx.

31  {
32  return (m_nodeState != 0);
33  }

◆ report()

virtual void Trk::TrkBaseNode::report ( )
pure virtual

◆ serialize()

virtual void Trk::TrkBaseNode::serialize ( char  fileName[])
pure virtual

◆ setNodeState()

void TrkBaseNode::setNodeState ( int  s)
virtual

Definition at line 49 of file TrkBaseNode.cxx.

49  {
50  m_nodeState = s;
51  }

◆ setNodeType()

void TrkBaseNode::setNodeType ( char  s)
virtual

Definition at line 57 of file TrkBaseNode.cxx.

57  {
58  m_nodeType = s;
59  }

◆ updateInternal()

void TrkBaseNode::updateInternal ( )
virtual

Reimplemented in Trk::TrkTrtNode.

Definition at line 73 of file TrkBaseNode.cxx.

73  {
74  }

◆ updateTrackState()

virtual void Trk::TrkBaseNode::updateTrackState ( TrkTrackState )
pure virtual

◆ updateWithRIO()

virtual void Trk::TrkBaseNode::updateWithRIO ( const RIO_OnTrack )
pure virtual

◆ validateMeasurement()

virtual void Trk::TrkBaseNode::validateMeasurement ( TrkTrackState )
pure virtual

Member Data Documentation

◆ m_chi2Cut

double Trk::TrkBaseNode::m_chi2Cut
protected

◆ m_dChi2

double Trk::TrkBaseNode::m_dChi2
protected

◆ m_ndof

int Trk::TrkBaseNode::m_ndof
protected

◆ m_nodeState

int Trk::TrkBaseNode::m_nodeState
protected

◆ m_nodeType

char Trk::TrkBaseNode::m_nodeType
protected

◆ m_pPRD

const PrepRawData* Trk::TrkBaseNode::m_pPRD
protected

◆ m_pSurface

TrkPlanarSurface* Trk::TrkBaseNode::m_pSurface
protected

◆ m_pTrackState

TrkTrackState* Trk::TrkBaseNode::m_pTrackState
protected

The documentation for this class was generated from the following files:
Trk::TrkBaseNode::m_pSurface
TrkPlanarSurface * m_pSurface
Definition: Tracking/TrkFitter/TrkDistributedKalmanFilter/TrkDistributedKalmanFilter/TrkBaseNode.h:54
python.SystemOfUnits.s
int s
Definition: SystemOfUnits.py:131
Trk::TrkBaseNode::m_chi2Cut
double m_chi2Cut
Definition: Tracking/TrkFitter/TrkDistributedKalmanFilter/TrkDistributedKalmanFilter/TrkBaseNode.h:52
Trk::TrkBaseNode::m_pTrackState
TrkTrackState * m_pTrackState
Definition: Tracking/TrkFitter/TrkDistributedKalmanFilter/TrkDistributedKalmanFilter/TrkBaseNode.h:58
Trk::TrkBaseNode::m_dChi2
double m_dChi2
Definition: Tracking/TrkFitter/TrkDistributedKalmanFilter/TrkDistributedKalmanFilter/TrkBaseNode.h:56
Trk::TrkBaseNode::m_nodeType
char m_nodeType
Definition: Tracking/TrkFitter/TrkDistributedKalmanFilter/TrkDistributedKalmanFilter/TrkBaseNode.h:53
Trk::TrkBaseNode::m_ndof
int m_ndof
Definition: Tracking/TrkFitter/TrkDistributedKalmanFilter/TrkDistributedKalmanFilter/TrkBaseNode.h:57
Trk::TrkBaseNode::m_nodeState
int m_nodeState
Definition: Tracking/TrkFitter/TrkDistributedKalmanFilter/TrkDistributedKalmanFilter/TrkBaseNode.h:51
Trk::TrkBaseNode::m_pPRD
const PrepRawData * m_pPRD
Definition: Tracking/TrkFitter/TrkDistributedKalmanFilter/TrkDistributedKalmanFilter/TrkBaseNode.h:55