Class Reference for E1039 Core & Analysis Software
|
#include </dev/shm/kenichi/update-github-e1039-doc/e1039-core/packages/reco/kfitter/KalmanUtil.h>
Public Member Functions | |
Node () | |
default constructor, only initialize the matrix dimension More... | |
Node (const Hit &_hit) | |
constructor from a Hit to a Node More... | |
Node (const SignedHit &_hit_signed) | |
Constructor from a signed hit to a Node. More... | |
void | print (bool verbose=true) |
print for debugging purposes More... | |
TrkPar & | getPredicted () |
Gets. More... | |
TrkPar & | getFiltered () |
TrkPar & | getSmoothed () |
TMatrixD & | getMeasurement () |
TMatrixD & | getMeasurementCov () |
TMatrixD | getPredictedResidual () |
Matrix calculations, should be called as less as possible. More... | |
TMatrixD | getPredictedResidualCov () |
TMatrixD | getFilteredResidual () |
TMatrixD | getFilteredResidualCov () |
TMatrixD | getSmoothedResidual () |
TMatrixD | getSmoothedResidualCov () |
TMatrixD & | getPropagator () |
TMatrixD & | getProjector () |
TMatrixD | getKalmanGain () |
double | getZ () |
double | getChisq () |
Hit & | getHit () |
bool | isPredictionDone () |
bool | isFilterDone () |
bool | isSmoothDone () |
void | setMeasurement (TMatrixD &m, TMatrixD &cov) |
Sets. More... | |
void | setZ (double z) |
void | setProjector (TMatrixD &p) |
void | setPropagator (TMatrixD &p) |
void | setPredictionDone (bool flag=true) |
void | setFilterDone (bool flag=true) |
void | setSmoothDone (bool flag=true) |
void | setChisq (double chisq) |
void | addChisq (double chisq) |
void | resetFlags () |
bool | operator< (const Node &elem) const |
Overriden operators. More... | |
Definition at line 90 of file KalmanUtil.h.
Node::Node | ( | ) |
default constructor, only initialize the matrix dimension
Definition at line 234 of file KalmanUtil.cxx.
Node::Node | ( | const Hit & | _hit | ) |
constructor from a Hit to a Node
Definition at line 249 of file KalmanUtil.cxx.
References TrkPar::_z, Hit::detectorID, Hit::driftDistance, GeomSvc::getCostheta(), GeomSvc::getPlanePosition(), GeomSvc::getPlaneResolution(), GeomSvc::getSintheta(), GeomSvc::instance(), and Hit::pos.
Node::Node | ( | const SignedHit & | _hit_signed | ) |
Constructor from a signed hit to a Node.
Definition at line 281 of file KalmanUtil.cxx.
References TrkPar::_z, Hit::detectorID, Hit::driftDistance, GeomSvc::getCostheta(), GeomSvc::getPlanePosition(), GeomSvc::getPlaneResolution(), GeomSvc::getSintheta(), SignedHit::hit, Hit::index, GeomSvc::instance(), Hit::pos, and SignedHit::sign.
|
inline |
Definition at line 146 of file KalmanUtil.h.
|
inline |
Definition at line 127 of file KalmanUtil.h.
Referenced by VertexFit::findVertex(), KalmanTrack::getMomentumVertex(), and SRecTrack::setZVertex().
|
inline |
Definition at line 107 of file KalmanUtil.h.
Referenced by KalmanTrack::addHit(), KalmanFilter::filter(), VertexFit::findSingleMuonVertex(), KalmanTrack::getExpPosErrorFast(), KalmanTrack::getExpPositionFast(), KalmanTrack::getMomentumVertex(), KalmanFitter::initSmoother(), KalmanTrack::KalmanTrack(), KalmanFilter::setCurrTrkpar(), SRecTrack::setZVertex(), KalmanFilter::smooth(), and VertexFit::updateVertex().
TMatrixD Node::getFilteredResidual | ( | ) |
Definition at line 343 of file KalmanUtil.cxx.
References TrkPar::_state_kf.
TMatrixD Node::getFilteredResidualCov | ( | ) |
Definition at line 351 of file KalmanUtil.cxx.
References TrkPar::_covar_kf, and SMatrix::getABCt().
|
inline |
Definition at line 129 of file KalmanUtil.h.
Referenced by KalmanTrack::getCurrentDetectorID(), KalmanTrack::getExpPosError(), KalmanTrack::getNodeDownstream(), and KalmanTrack::getNodeUpstream().
TMatrixD Node::getKalmanGain | ( | ) |
Definition at line 375 of file KalmanUtil.cxx.
References TrkPar::_covar_kf, SMatrix::getABCt(), SMatrix::getABtC(), and SMatrix::invertMatrix().
|
inline |
Definition at line 110 of file KalmanUtil.h.
Referenced by KalmanFilter::filter(), KalmanTrack::getMomentumVertex(), SRecTrack::setZVertex(), and VertexFit::VertexFit().
|
inline |
Definition at line 111 of file KalmanUtil.h.
Referenced by KalmanFilter::filter(), KalmanTrack::getMomentumVertex(), SRecTrack::setZVertex(), and VertexFit::VertexFit().
|
inline |
Gets.
Definition at line 106 of file KalmanUtil.h.
Referenced by KalmanTrack::addHit(), KalmanFilter::filter(), VertexFit::findSingleMuonVertex(), KalmanTrack::getExpLcSlopErr(), KalmanTrack::getExpLocalSlop(), KalmanTrack::getExpPosError(), KalmanTrack::getExpPosErrorFast(), KalmanTrack::getExpPosErrorX(), KalmanTrack::getExpPosErrorY(), KalmanTrack::getExpPosition(), KalmanTrack::getExpPositionFast(), KalmanTrack::getExpPositionX(), KalmanTrack::getExpPositionY(), KalmanTrack::KalmanTrack(), KalmanFilter::predict(), and KalmanFilter::smooth().
TMatrixD Node::getPredictedResidual | ( | ) |
Matrix calculations, should be called as less as possible.
Definition at line 327 of file KalmanUtil.cxx.
References TrkPar::_state_kf.
TMatrixD Node::getPredictedResidualCov | ( | ) |
Definition at line 335 of file KalmanUtil.cxx.
References TrkPar::_covar_kf, and SMatrix::getABCt().
|
inline |
Definition at line 122 of file KalmanUtil.h.
Referenced by KalmanFilter::filter(), KalmanTrack::getExpLcSlopErr(), KalmanTrack::getExpLocalSlop(), KalmanTrack::getExpPosError(), KalmanTrack::getExpPosition(), KalmanTrack::getMomentumVertex(), SRecTrack::setZVertex(), and VertexFit::VertexFit().
|
inline |
Definition at line 121 of file KalmanUtil.h.
Referenced by KalmanFilter::predict(), and KalmanFilter::smooth().
|
inline |
Definition at line 108 of file KalmanUtil.h.
Referenced by VertexFit::findSingleMuonVertex(), KalmanTrack::getExpPosErrorFast(), KalmanTrack::getExpPositionFast(), KalmanFitter::initSmoother(), KalmanTrack::KalmanTrack(), KalmanFitter::setStartingParameter(), and KalmanFilter::smooth().
TMatrixD Node::getSmoothedResidual | ( | ) |
Definition at line 359 of file KalmanUtil.cxx.
References TrkPar::_state_kf.
TMatrixD Node::getSmoothedResidualCov | ( | ) |
Definition at line 367 of file KalmanUtil.cxx.
References TrkPar::_covar_kf, and SMatrix::getABCt().
|
inline |
Definition at line 126 of file KalmanUtil.h.
Referenced by VertexFit::findVertex(), and KalmanFilter::predict().
|
inline |
Definition at line 132 of file KalmanUtil.h.
Referenced by KalmanFilter::filter(), VertexFit::findSingleMuonVertex(), KalmanTrack::getExpPosErrorFast(), KalmanTrack::getExpPositionFast(), KalmanFitter::initSmoother(), and KalmanFilter::smooth().
|
inline |
Definition at line 131 of file KalmanUtil.h.
Referenced by KalmanFilter::filter(), and KalmanFilter::predict().
|
inline |
Definition at line 133 of file KalmanUtil.h.
Referenced by VertexFit::findSingleMuonVertex(), KalmanTrack::getExpPosErrorFast(), KalmanTrack::getExpPositionFast(), KalmanFitter::initSmoother(), and KalmanFilter::smooth().
|
inline |
Overriden operators.
Definition at line 151 of file KalmanUtil.h.
void Node::print | ( | bool | verbose = true | ) |
print for debugging purposes
Definition at line 197 of file KalmanUtil.cxx.
References TrkPar::_state_kf, TrkPar::print(), and SMatrix::printMatrix().
void Node::resetFlags | ( | ) |
Definition at line 381 of file KalmanUtil.cxx.
Referenced by VertexFit::findVertex().
|
inline |
Definition at line 145 of file KalmanUtil.h.
Referenced by KalmanFilter::filter(), and KalmanTrack::KalmanTrack().
|
inline |
Definition at line 142 of file KalmanUtil.h.
Referenced by KalmanFilter::filter(), and KalmanTrack::KalmanTrack().
void Node::setMeasurement | ( | TMatrixD & | m, |
TMatrixD & | cov | ||
) |
Sets.
Definition at line 321 of file KalmanUtil.cxx.
|
inline |
Definition at line 141 of file KalmanUtil.h.
Referenced by KalmanTrack::addHit(), KalmanTrack::KalmanTrack(), and KalmanFilter::predict().
|
inline |
Definition at line 138 of file KalmanUtil.h.
|
inline |
Definition at line 139 of file KalmanUtil.h.
|
inline |
Definition at line 143 of file KalmanUtil.h.
Referenced by KalmanFitter::initSmoother(), KalmanTrack::KalmanTrack(), and KalmanFilter::smooth().
|
inline |
Definition at line 137 of file KalmanUtil.h.
Referenced by VertexFit::findVertex(), KalmanTrack::getMomentumVertex(), KalmanTrack::KalmanTrack(), and SRecTrack::setZVertex().