#include <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]
| TrkEndCapClusterNode::TrkEndCapClusterNode |
( |
TrkPlanarSurface * | pS, |
|
|
double | chi2Cut, |
|
|
double | Rc, |
|
|
double | pos, |
|
|
double | cov ) |
◆ ~TrkEndCapClusterNode()
| virtual Trk::TrkEndCapClusterNode::~TrkEndCapClusterNode |
( |
| ) |
|
|
inlinevirtual |
◆ calculateChi2()
| double TrkFilteringNode1D::calculateChi2 |
( |
| ) |
|
|
virtualinherited |
◆ getChi2()
| double TrkBaseNode::getChi2 |
( |
| ) |
const |
|
inherited |
◆ getChi2Distance()
| double TrkEndCapClusterNode::getChi2Distance |
( |
TrkTrackState * | pTS | ) |
|
|
virtual |
Implements Trk::TrkBaseNode.
Definition at line 259 of file TrkFilteringNodes.cxx.
259 {
260 double corr;
261
268
274
275
279 }
double getTrackState(int i)
double getTrackCovariance(int i, int j)
virtual double calculateChi2()
◆ getInverseResidualVariance()
| int TrkFilteringNode1D::getInverseResidualVariance |
( |
double | V[2][2] | ) |
|
|
virtualinherited |
◆ getKalmanGain()
| int TrkFilteringNode1D::getKalmanGain |
( |
double | K[5][2] | ) |
|
|
virtualinherited |
◆ getMeasurementMatrix()
| int TrkFilteringNode1D::getMeasurementMatrix |
( |
double | H[2][5] | ) |
|
|
virtualinherited |
◆ getNdof()
| int TrkBaseNode::getNdof |
( |
| ) |
const |
|
inherited |
◆ getNodeState()
| int TrkBaseNode::getNodeState |
( |
| ) |
|
|
virtualinherited |
◆ getNodeType()
| char TrkBaseNode::getNodeType |
( |
| ) |
|
|
virtualinherited |
◆ getPrepRawData()
◆ getResiduals()
| int TrkFilteringNode1D::getResiduals |
( |
double | r[2] | ) |
|
|
virtualinherited |
◆ getSurface()
◆ getTrackState()
Definition at line 43 of file TrkBaseNode.cxx.
43 {
45 }
TrkTrackState * m_pTrackState
◆ isValidated()
| bool TrkBaseNode::isValidated |
( |
| ) |
|
|
virtualinherited |
◆ report()
| virtual void Trk::TrkEndCapClusterNode::report |
( |
| ) |
|
|
inlinevirtual |
◆ runKalmanFilter()
Definition at line 37 of file TrkFilteringNodes.cxx.
37 {
39 double updState[5], updCov[15];
40
44 for (i = 0;
i < 5;
i++)
for (j = i; j < 5; j++) {
47 }
49 }
void updateTrackState(double *)
void updateTrackCovariance(double *)
◆ serialize()
| void 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 TrkBaseNode::setNodeState |
( |
int | s | ) |
|
|
virtualinherited |
◆ setNodeType()
| void TrkBaseNode::setNodeType |
( |
char | s | ) |
|
|
virtualinherited |
◆ updateInternal()
| void TrkBaseNode::updateInternal |
( |
| ) |
|
|
virtualinherited |
◆ updateTrackState()
| void TrkEndCapClusterNode::updateTrackState |
( |
TrkTrackState * | pTS | ) |
|
|
virtual |
◆ updateWithRIO()
| void TrkEndCapClusterNode::updateWithRIO |
( |
const RIO_OnTrack * | pRIO | ) |
|
|
virtual |
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 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: