#include <TrkFilteringNodes.h>
Definition at line 81 of file TrkFilteringNodes.h.
◆ TrkEndCapClusterNode() [1/3]
Definition at line 188 of file TrkFilteringNodes.cxx.
188 {
191 m_m = pPRD->localPosition()[0];
192 m_V = pPRD->localCovariance()(0, 0);
194
195 const Trk::SurfaceBounds& rBounds = pPRD->detectorElement()->surface().bounds();
196 const Trk::TrapezoidBounds& ecBounds = dynamic_cast<const Trk::TrapezoidBounds&>(rBounds);
197
202
204 C[0][0] = pPRD->localCovariance()(0, 0);
205 C[0][1] =
C[1][0] = pPRD->localCovariance()(0, 1);
206 C[1][1] = pPRD->localCovariance()(1, 1);
208
209 }
double halflengthY() const
This method returns the halflength in Y (second coordinate of local surface frame).
double minHalflengthX() const
This method returns the minimal halflength in X (first coordinate of local surface frame).
double maxHalflengthX() const
This method returns the maximal halflength in X (first coordinate of local surface frame).
const PrepRawData * m_pPRD
TrkPlanarSurface * m_pSurface
◆ TrkEndCapClusterNode() [2/3]
Definition at line 211 of file TrkFilteringNodes.cxx.
217 m_m = pPRD->localPosition()[0];
218 m_V = pPRD->localCovariance()(0, 0);
220
224 C[0][0] = pPRD->localCovariance()(0, 0);
225 C[0][1] =
C[1][0] = pPRD->localCovariance()(0, 1);
226 C[1][1] = pPRD->localCovariance()(1, 1);
228
229 }
◆ TrkEndCapClusterNode() [3/3]
| Trk::TrkEndCapClusterNode::TrkEndCapClusterNode |
( |
TrkPlanarSurface * | pS, |
|
|
double | chi2Cut, |
|
|
double | Rc, |
|
|
double | pos, |
|
|
double | cov ) |
◆ ~TrkEndCapClusterNode()
| virtual Trk::TrkEndCapClusterNode::~TrkEndCapClusterNode |
( |
| ) |
|
|
inlinevirtual |
◆ calculateChi2()
| double Trk::TrkFilteringNode1D::calculateChi2 |
( |
| ) |
|
|
virtualinherited |
◆ getChi2()
| double Trk::TrkBaseNode::getChi2 |
( |
| ) |
const |
|
inherited |
◆ getChi2Distance()
| double Trk::TrkEndCapClusterNode::getChi2Distance |
( |
TrkTrackState * | pTS | ) |
|
|
virtual |
Implements Trk::TrkBaseNode.
Definition at line 259 of file TrkFilteringNodes.cxx.
259 {
260 double corr;
261
262 corr = 1.0 / (pTS->getTrackState(1) +
m_Rc);
264 m_H[1] = -pTS->getTrackState(0) *
m_Rc * corr * corr;
268
269 m_B[0] =
m_H[0] * pTS->getTrackCovariance(0, 0) +
m_H[1] * pTS->getTrackCovariance(0, 1);
270 m_B[1] =
m_H[0] * pTS->getTrackCovariance(0, 1) +
m_H[1] * pTS->getTrackCovariance(1, 1);
271 m_B[2] =
m_H[0] * pTS->getTrackCovariance(0, 2) +
m_H[1] * pTS->getTrackCovariance(1, 2);
272 m_B[3] =
m_H[0] * pTS->getTrackCovariance(0, 3) +
m_H[1] * pTS->getTrackCovariance(1, 3);
273 m_B[4] =
m_H[0] * pTS->getTrackCovariance(0, 4) +
m_H[1] * pTS->getTrackCovariance(1, 4);
274
275
279 }
virtual double calculateChi2()
◆ getInverseResidualVariance()
| int Trk::TrkFilteringNode1D::getInverseResidualVariance |
( |
double | V[2][2] | ) |
|
|
virtualinherited |
◆ getKalmanGain()
| int Trk::TrkFilteringNode1D::getKalmanGain |
( |
double | K[5][2] | ) |
|
|
virtualinherited |
◆ getMeasurementMatrix()
| int Trk::TrkFilteringNode1D::getMeasurementMatrix |
( |
double | H[2][5] | ) |
|
|
virtualinherited |
◆ getNdof()
| int Trk::TrkBaseNode::getNdof |
( |
| ) |
const |
|
inherited |
◆ getNodeState()
| int Trk::TrkBaseNode::getNodeState |
( |
| ) |
|
|
virtualinherited |
◆ getNodeType()
| char Trk::TrkBaseNode::getNodeType |
( |
| ) |
|
|
virtualinherited |
◆ getPrepRawData()
◆ getResiduals()
| int Trk::TrkFilteringNode1D::getResiduals |
( |
double | r[2] | ) |
|
|
virtualinherited |
◆ getSurface()
◆ getTrackState()
Definition at line 43 of file TrkBaseNode.cxx.
43 {
45 }
TrkTrackState * m_pTrackState
◆ isValidated()
| bool Trk::TrkBaseNode::isValidated |
( |
| ) |
|
|
virtualinherited |
◆ report()
| virtual void Trk::TrkEndCapClusterNode::report |
( |
| ) |
|
|
inlinevirtual |
◆ runKalmanFilter()
| void Trk::TrkFilteringNode1D::runKalmanFilter |
( |
TrkTrackState * | pTS | ) |
|
|
virtualinherited |
Definition at line 37 of file TrkFilteringNodes.cxx.
37 {
39 double updState[5], updCov[15];
40
43 pTS->updateTrackState(updState);
44 for (i = 0;
i < 5;
i++)
for (j = i;
j < 5;
j++) {
47 }
48 pTS->updateTrackCovariance(updCov);
49 }
float j(const xAOD::IParticle &, const xAOD::TrackMeasurementValidation &hit, const Eigen::Matrix3d &jab_inv)
◆ serialize()
| void Trk::TrkEndCapClusterNode::serialize |
( |
char | fileName[] | ) |
|
|
virtual |
Implements Trk::TrkBaseNode.
Definition at line 245 of file TrkFilteringNodes.cxx.
245 {
246 FILE* pFile = fopen(fileName, "a");
247 if (!pFile) {
248 std::cerr <<
"Cannot open file " <<
fileName <<
" for write.\n";
249 std::abort();
250 }
251 fclose(pFile);
252 }
◆ setNodeState()
| void Trk::TrkBaseNode::setNodeState |
( |
int | s | ) |
|
|
virtualinherited |
◆ setNodeType()
| void Trk::TrkBaseNode::setNodeType |
( |
char | s | ) |
|
|
virtualinherited |
◆ updateInternal()
| void Trk::TrkBaseNode::updateInternal |
( |
| ) |
|
|
virtualinherited |
◆ updateTrackState()
| void Trk::TrkEndCapClusterNode::updateTrackState |
( |
TrkTrackState * | pTS | ) |
|
|
virtual |
◆ updateWithRIO()
Implements Trk::TrkBaseNode.
Definition at line 286 of file TrkFilteringNodes.cxx.
286 {
287
288
289
290
293 C[0][0] = pRIO->localCovariance()(0, 0);
294 C[0][1] =
C[1][0] = pRIO->localCovariance()(0, 1);
295 C[1][1] = pRIO->localCovariance()(1, 1);
297
298 }
◆ validateMeasurement()
| void Trk::TrkEndCapClusterNode::validateMeasurement |
( |
TrkTrackState * | pTS | ) |
|
|
virtual |
◆ m_B
| double Trk::TrkFilteringNode1D::m_B[5] |
|
protectedinherited |
◆ m_chi2Cut
| double Trk::TrkBaseNode::m_chi2Cut |
|
protectedinherited |
◆ m_D
| double Trk::TrkFilteringNode1D::m_D |
|
protectedinherited |
◆ m_dChi2
| double Trk::TrkBaseNode::m_dChi2 |
|
protectedinherited |
◆ m_H
| double Trk::TrkFilteringNode1D::m_H[5] |
|
protectedinherited |
◆ m_K
| double Trk::TrkFilteringNode1D::m_K[5] |
|
protectedinherited |
◆ m_m
| double Trk::TrkFilteringNode1D::m_m |
|
protectedinherited |
◆ m_ndof
| int Trk::TrkBaseNode::m_ndof |
|
protectedinherited |
◆ m_nodeState
| int Trk::TrkBaseNode::m_nodeState |
|
protectedinherited |
◆ m_nodeType
| char Trk::TrkBaseNode::m_nodeType |
|
protectedinherited |
◆ m_pPRD
◆ m_pSurface
◆ m_pTrackState
◆ m_Rc
| double Trk::TrkEndCapClusterNode::m_Rc |
|
protected |
◆ m_resid
| double Trk::TrkFilteringNode1D::m_resid |
|
protectedinherited |
◆ m_V
| double Trk::TrkFilteringNode1D::m_V |
|
protectedinherited |
The documentation for this class was generated from the following files: