ATLAS Offline Software
Tracking
TrkFitter
TrkDistributedKalmanFilter
src
TrkBaseNode.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3
*/
4
6
// TrkBaseNode.cpp
7
// Implementation of class TrkBaseNode
9
// (c) ATLAS Detector software
11
// Author: Dmitry Emeliyanov, RAL
12
// D.Emeliyanov@rl.ac.uk
14
15
#include "
TrkDistributedKalmanFilter/TrkBaseNode.h
"
16
#include "
TrkDistributedKalmanFilter/TrkPlanarSurface.h
"
17
#include "
TrkDistributedKalmanFilter/TrkTrackState.h
"
18
#include "
TrkPrepRawData/PrepRawData.h
"
19
20
namespace
Trk
{
21
TrkBaseNode::TrkBaseNode
()
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
) {}
30
31
bool
TrkBaseNode::isValidated
() {
32
return
(
m_nodeState
!= 0);
33
}
34
35
TrkPlanarSurface
*
TrkBaseNode::getSurface
() {
36
return
m_pSurface
;
37
}
38
39
const
PrepRawData
*
TrkBaseNode::getPrepRawData
() {
40
return
m_pPRD
;
41
}
42
43
TrkTrackState
*
TrkBaseNode::getTrackState
() {
44
return
m_pTrackState
;
45
}
46
47
TrkBaseNode::~TrkBaseNode
() =
default
;
48
49
void
TrkBaseNode::setNodeState
(
int
s
) {
50
m_nodeState
=
s
;
51
}
52
53
int
TrkBaseNode::getNodeState
() {
54
return
m_nodeState
;
55
}
56
57
void
TrkBaseNode::setNodeType
(
char
s
) {
58
m_nodeType
=
s
;
59
}
60
61
char
TrkBaseNode::getNodeType
() {
62
return
m_nodeType
;
63
}
64
65
int
TrkBaseNode::getNdof
()
const
{
66
return
m_ndof
;
67
}
68
69
double
TrkBaseNode::getChi2
()
const
{
70
return
m_dChi2
;
71
}
72
73
void
TrkBaseNode::updateInternal
() {
74
}
75
}
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::updateInternal
virtual void updateInternal()
Definition:
TrkBaseNode.cxx:73
Trk::TrkBaseNode::TrkBaseNode
TrkBaseNode()
Definition:
TrkBaseNode.cxx:21
Trk::TrkTrackState
Definition:
Tracking/TrkFitter/TrkDistributedKalmanFilter/TrkDistributedKalmanFilter/TrkTrackState.h:24
Trk::TrkPlanarSurface
Definition:
Tracking/TrkFitter/TrkDistributedKalmanFilter/TrkDistributedKalmanFilter/TrkPlanarSurface.h:25
Trk::TrkBaseNode::getSurface
virtual TrkPlanarSurface * getSurface()
Definition:
TrkBaseNode.cxx:35
Trk::TrkBaseNode::getNodeType
virtual char getNodeType()
Definition:
TrkBaseNode.cxx:61
Trk::TrkBaseNode::~TrkBaseNode
virtual ~TrkBaseNode()
PrepRawData.h
Trk::TrkBaseNode::m_pTrackState
TrkTrackState * m_pTrackState
Definition:
Tracking/TrkFitter/TrkDistributedKalmanFilter/TrkDistributedKalmanFilter/TrkBaseNode.h:58
Trk::TrkBaseNode::getNdof
int getNdof() const
Definition:
TrkBaseNode.cxx:65
TrkTrackState.h
Trk::TrkBaseNode::m_dChi2
double m_dChi2
Definition:
Tracking/TrkFitter/TrkDistributedKalmanFilter/TrkDistributedKalmanFilter/TrkBaseNode.h:56
TrkBaseNode.h
Trk::TrkBaseNode::m_nodeType
char m_nodeType
Definition:
Tracking/TrkFitter/TrkDistributedKalmanFilter/TrkDistributedKalmanFilter/TrkBaseNode.h:53
Trk::TrkBaseNode::isValidated
virtual bool isValidated()
Definition:
TrkBaseNode.cxx:31
Trk::TrkBaseNode::setNodeType
virtual void setNodeType(char)
Definition:
TrkBaseNode.cxx:57
Trk::TrkBaseNode::m_ndof
int m_ndof
Definition:
Tracking/TrkFitter/TrkDistributedKalmanFilter/TrkDistributedKalmanFilter/TrkBaseNode.h:57
Trk::TrkBaseNode::getTrackState
TrkTrackState * getTrackState()
Definition:
TrkBaseNode.cxx:43
Trk::PrepRawData
Definition:
PrepRawData.h:62
Trk::TrkBaseNode::m_nodeState
int m_nodeState
Definition:
Tracking/TrkFitter/TrkDistributedKalmanFilter/TrkDistributedKalmanFilter/TrkBaseNode.h:51
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition:
FakeTrackBuilder.h:9
Trk::TrkBaseNode::m_pPRD
const PrepRawData * m_pPRD
Definition:
Tracking/TrkFitter/TrkDistributedKalmanFilter/TrkDistributedKalmanFilter/TrkBaseNode.h:55
Trk::TrkBaseNode::getChi2
double getChi2() const
Definition:
TrkBaseNode.cxx:69
Trk::TrkBaseNode::getPrepRawData
virtual const PrepRawData * getPrepRawData()
Definition:
TrkBaseNode.cxx:39
Trk::TrkBaseNode::setNodeState
virtual void setNodeState(int)
Definition:
TrkBaseNode.cxx:49
TrkPlanarSurface.h
Trk::TrkBaseNode::getNodeState
virtual int getNodeState()
Definition:
TrkBaseNode.cxx:53
Generated on Thu Nov 7 2024 21:30:19 for ATLAS Offline Software by
1.8.18