|
BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
|
The BmnKFPrimaryVertexFinder class - adaptation of MpdKfPrimaryVertexFinder. More...
#include <BmnKFPrimaryVertexFinder.h>
Private Attributes | |
| std::vector< CbmKFTrackInterface * > | fTracks |
| TClonesArray * | fInputTracks |
| CbmVertex * | fPrimVert |
| TH1D * | fHist [2] |
| TH1D * | fHistw [2] |
| TH1D * | fHistPca |
| TH1D * | fHistErr [2] |
| TH1D * | fHistZ |
| TH1D * | fHistR |
| TH2D * | fHZR |
| TH3D * | fHist3 |
| TH3D * | fHistw3 |
| Double_t | fSigma [3] |
| Double_t | fMean [3] |
| std::vector< int > | fTrkID |
Class to find primary vertex with the Kalman Filter method
Definition at line 24 of file BmnKFPrimaryVertexFinder.h.
|
inline |
Definition at line 38 of file BmnKFPrimaryVertexFinder.h.
|
inline |
Definition at line 41 of file BmnKFPrimaryVertexFinder.h.
References fPrimVert.
|
inline |
Definition at line 38 of file BmnKFPrimaryVertexFinder.h.
|
inline |
Definition at line 41 of file BmnKFPrimaryVertexFinder.h.
References fPrimVert.
| void BmnKFPrimaryVertexFinder::AddTrack | ( | CbmKFTrackInterface * | Track | ) |
Definition at line 158 of file BmnKFPrimaryVertexFinder.cxx.
References fTracks.
Referenced by Exec().
| void BmnKFPrimaryVertexFinder::AddTrack | ( | CbmKFTrackInterface * | Track | ) |
| void BmnKFPrimaryVertexFinder::Clear | ( | ) |
| void BmnKFPrimaryVertexFinder::Clear | ( | ) |
| Bool_t BmnKFPrimaryVertexFinder::ComputeAandB | ( | TMatrixD & | xk0, |
| CbmKFTrackInterface & | track, | ||
| Double_t | zhit, | ||
| TMatrixD & | a, | ||
| TMatrixD & | b, | ||
| TMatrixD & | ck0 ) |
Compute matrices of derivatives w.r.t. vertex coordinates and track momentum
Definition at line 811 of file BmnKFPrimaryVertexFinder.cxx.
References CbmKFTrackInterface::Extrapolate(), CbmKFTrackInterface::GetCovMatrix(), TMatrixT< class Element >::GetMatrixArray(), CbmKFTrack::GetTrack(), i, CbmKFMath::indexS(), TMatrixT< Double_t >::kMult, TMath::Sign(), and TMath::Sqrt().
Referenced by Fit().
| Bool_t BmnKFPrimaryVertexFinder::ComputeAandB | ( | TMatrixD & | xk0, |
| CbmKFTrackInterface & | track, | ||
| Double_t | zhit, | ||
| TMatrixD & | a, | ||
| TMatrixD & | b, | ||
| TMatrixD & | ck0 ) |
| void BmnKFPrimaryVertexFinder::EvalVertex | ( | ) |
Definition at line 172 of file BmnKFPrimaryVertexFinder.cxx.
References TMath::Abs(), dist(), TH1::Draw(), CbmKFTrackInterface::Extrapolate(), fHist, fHist3, fHistErr, fHistR, fHistw, fHistw3, fHistZ, fHZR, TAxis::FindBin(), fInputTracks, fMean, fPrimVert, fSigma, fTracks, CbmKFTrack::GetCovMatrix(), TH1::GetMaximum(), TH1::GetMaximumBin(), TAxis::GetNbins(), CbmStsTrack::GetNStsHits(), CbmStsTrack::GetParamFirst(), CbmKFTrack::GetTrack(), TH1::GetXaxis(), i, CbmKF::Instance(), TMath::Max(), TMath::Min(), TPad::Modified(), TAxis::SetRange(), TMath::Sqrt(), TCanvas::Update(), CbmKF::vTargets, CbmKFTube::z, and z.
Referenced by Exec().
| void BmnKFPrimaryVertexFinder::EvalVertex | ( | ) |
| void BmnKFPrimaryVertexFinder::Exec | ( | Option_t * | option | ) |
Definition at line 60 of file BmnKFPrimaryVertexFinder.cxx.
References AddTrack(), Clear(), EvalVertex(), fInputTracks, Fit(), fPrimVert, fTrkID, CbmStsTrack::GetChi2(), CbmStsTrack::GetFlag(), CbmStsTrack::GetNDF(), CbmStsTrack::GetNStsHits(), i, TMath::Min(), CbmStsTrack::SetFlag(), CbmKFTrack::SetStsTrack(), and v.
| void BmnKFPrimaryVertexFinder::Exec | ( | Option_t * | option | ) |
| void BmnKFPrimaryVertexFinder::FindPca | ( | CbmKFTrackInterface & | track, |
| Double_t * | vert ) |
Definition at line 928 of file BmnKFPrimaryVertexFinder.cxx.
References dist(), CbmKFTrackInterface::Extrapolate(), fHistPca, TF1::GetMinimumX(), CbmKFTrackInterface::GetTrack(), i, and TMath::Sqrt().
| void BmnKFPrimaryVertexFinder::FindPca | ( | CbmKFTrackInterface & | track, |
| Double_t * | vert ) |
| void BmnKFPrimaryVertexFinder::Fit | ( | CbmKFVertexInterface & | vtx | ) |
Definition at line 420 of file BmnKFPrimaryVertexFinder.cxx.
References ComputeAandB(), CbmKFTube::dz, fMean, fSigma, fTracks, fTrkID, CbmKFVertexInterface::GetCovMatrix(), CbmKFVertexInterface::GetRefChi2(), CbmKFVertexInterface::GetRefNDF(), CbmKFVertexInterface::GetRefNTracks(), CbmKFVertexInterface::GetRefX(), CbmKFVertexInterface::GetRefY(), CbmKFVertexInterface::GetRefZ(), i, CbmKFMath::indexS(), CbmKF::Instance(), TMatrixT< class Element >::Invert(), TMatrixT< Double_t >::kInverted, TMatrixT< Double_t >::kMult, TMatrixT< Double_t >::kTransposeMult, m, TMath::Max(), TMath::Min(), CbmKFTube::RR, TMath::Sqrt(), CbmKF::vTargets, and CbmKFTube::z.
Referenced by Exec().
| void BmnKFPrimaryVertexFinder::Fit | ( | CbmKFVertexInterface & | vtx | ) |
|
inline |
Definition at line 63 of file BmnKFPrimaryVertexFinder.h.
References fPrimVert.
|
inline |
Definition at line 63 of file BmnKFPrimaryVertexFinder.h.
References fPrimVert.
| InitStatus BmnKFPrimaryVertexFinder::Init | ( | ) |
| InitStatus BmnKFPrimaryVertexFinder::Init | ( | ) |
|
inline |
Definition at line 64 of file BmnKFPrimaryVertexFinder.h.
References fInputTracks.
|
inline |
Definition at line 64 of file BmnKFPrimaryVertexFinder.h.
References fInputTracks.
| void BmnKFPrimaryVertexFinder::SetTracks | ( | std::vector< CbmKFTrackInterface * > & | vTracks | ) |
| void BmnKFPrimaryVertexFinder::SetTracks | ( | std::vector< CbmKFTrackInterface * > & | vTracks | ) |
|
private |
Definition at line 29 of file BmnKFPrimaryVertexFinder.h.
Referenced by Clear(), EvalVertex(), and Init().
|
private |
Definition at line 31 of file BmnKFPrimaryVertexFinder.h.
Referenced by Clear(), EvalVertex(), and Init().
|
private |
Definition at line 29 of file BmnKFPrimaryVertexFinder.h.
Referenced by Clear(), EvalVertex(), and Init().
|
private |
Definition at line 29 of file BmnKFPrimaryVertexFinder.h.
|
private |
Definition at line 29 of file BmnKFPrimaryVertexFinder.h.
Referenced by Clear(), EvalVertex(), and Init().
|
private |
Definition at line 29 of file BmnKFPrimaryVertexFinder.h.
Referenced by Clear(), EvalVertex(), and Init().
|
private |
Definition at line 31 of file BmnKFPrimaryVertexFinder.h.
Referenced by Clear(), EvalVertex(), and Init().
|
private |
Definition at line 29 of file BmnKFPrimaryVertexFinder.h.
Referenced by Clear(), EvalVertex(), and Init().
|
private |
Definition at line 30 of file BmnKFPrimaryVertexFinder.h.
Referenced by Clear(), EvalVertex(), and Init().
|
private |
Definition at line 27 of file BmnKFPrimaryVertexFinder.h.
Referenced by EvalVertex(), Exec(), Init(), and SetTrackArray().
|
private |
Definition at line 33 of file BmnKFPrimaryVertexFinder.h.
Referenced by EvalVertex(), and Fit().
|
private |
Definition at line 28 of file BmnKFPrimaryVertexFinder.h.
Referenced by BmnKFPrimaryVertexFinder(), ~BmnKFPrimaryVertexFinder(), EvalVertex(), Exec(), GetVertex(), and Init().
|
private |
Definition at line 32 of file BmnKFPrimaryVertexFinder.h.
Referenced by EvalVertex(), and Fit().
|
private |
Definition at line 26 of file BmnKFPrimaryVertexFinder.h.
Referenced by BmnKFPrimaryVertexFinder(), AddTrack(), Clear(), EvalVertex(), and Fit().
|
private |
Definition at line 34 of file BmnKFPrimaryVertexFinder.h.