|
BmnRoot
|
Kalman filter mother particle fitter for the BM@N detector. More...
#include <BmnMotherFitterPart.h>
Public Member Functions | |
| virtual void | Exec (Option_t *option) |
| void | Reset () |
| void | Register () |
| Double_t | BuildMother (BmnParticle *mother, vector< BmnParticle * > &vDaught) |
| Double_t | FindVertex (vector< BmnParticle * > vDaught, TVector3 &vtx) |
| Bool_t | ComputeAandB (const TMatrixD &xk0, const BmnParticle &part, TMatrixD &a, TMatrixD &b, TMatrixD &ck0, Bool_t flag=kTRUE) |
| Double_t | FieldConst () const |
| TMatrixD | ComputeQmatr (vector< BmnParticle * > vDaught) |
| TMatrixD & | GetCovariance () |
| Double_t | Chi2Vertex (BmnParticle *part, const CbmVertex *vtx) |
| compute Chi2 w.r.t. vertex | |
| virtual void | Exec (Option_t *option) |
| void | Reset () |
| void | Register () |
| Double_t | BuildMother (BmnParticle *mother, vector< BmnParticle * > &vDaught) |
| Double_t | FindVertex (vector< BmnParticle * > vDaught, TVector3 &vtx) |
| Bool_t | ComputeAandB (const TMatrixD &xk0, const BmnParticle &part, TMatrixD &a, TMatrixD &b, TMatrixD &ck0, Bool_t flag=kTRUE) |
| Double_t | FieldConst () const |
| TMatrixD | ComputeQmatr (vector< BmnParticle * > vDaught) |
| TMatrixD & | GetCovariance () |
| Double_t | Chi2Vertex (BmnParticle *part, const CbmVertex *vtx) |
| compute Chi2 w.r.t. vertex | |
Static Public Member Functions | |
| static BmnMotherFitterPart * | Instance () |
| get singleton instance | |
| static BmnMotherFitterPart * | Instance (const char *name, const char *title="FAIR Task") |
| get singleton instance | |
| static BmnMotherFitterPart * | Instance () |
| get singleton instance | |
| static BmnMotherFitterPart * | Instance (const char *name, const char *title="FAIR Task") |
| get singleton instance | |
Protected Member Functions | |
| virtual InitStatus | Init () |
| virtual InitStatus | ReInit () |
| virtual void | Finish () |
| virtual | ~BmnMotherFitterPart () |
| Destructor. | |
| virtual InitStatus | Init () |
| virtual InitStatus | ReInit () |
| virtual void | Finish () |
| virtual | ~BmnMotherFitterPart () |
| Destructor. | |
Kalman filter mother particle fitter for the BM@N detector.
(using BmnParticle)
Kalman filter mother particle fitter for the BM@N detector (using BmnParticle)
Definition at line 27 of file BmnMotherFitterPart.h.
|
protectedvirtual |
|
protectedvirtual |
Destructor.
| Double_t BmnMotherFitterPart::BuildMother | ( | BmnParticle * | mother, |
| vector< BmnParticle * > & | vDaught | ||
| ) |
Build mother particle from daughters which were smoothed according to the decay vertex constraint (after FindVertex)
Definition at line 150 of file BmnMotherFitterPart.cxx.
References BmnParticle::AddDaughter(), ComputeAandB(), ComputeQmatr(), BmnParticle::FillJ(), BmnParticle::FillJinv(), FindVertex(), BmnParticle::GetA(), BmnParticle::GetB(), BmnParticle::GetCharge(), GetCovariance(), BmnParticle::GetE(), BmnParticle::GetIndx(), BmnParticle::GetJ(), BmnParticle::GetJinv(), BmnParticle::GetMass(), BmnParticle::GetNDF(), BmnParticle::Getx(), i, Instance(), BmnParticle::Momentum3(), BmnParticle::ParamsAtDca(), BmnParticle::SetCharge(), BmnParticle::SetChi2(), BmnParticle::SetG(), BmnParticle::SetMass(), BmnParticle::SetNDF(), BmnParticle::Setq(), BmnParticle::Setx(), and BmnParticle::SetZ().
Referenced by BmnParticle::BuildMother().
| Double_t BmnMotherFitterPart::BuildMother | ( | BmnParticle * | mother, |
| vector< BmnParticle * > & | vDaught | ||
| ) |
| Double_t BmnMotherFitterPart::Chi2Vertex | ( | BmnParticle * | part, |
| const CbmVertex * | vtx | ||
| ) |
compute Chi2 w.r.t. vertex
Compute Chi2 w.r.t. vertex
Definition at line 1025 of file BmnMotherFitterPart.cxx.
References ComputeAandB(), CbmVertex::CovMatrix(), BmnParticle::GetG(), BmnParticle::GetMeas(), CbmVertex::GetX(), CbmVertex::GetY(), CbmVertex::GetZ(), and m.
Referenced by BmnParticle::Chi2Vertex().
| Double_t BmnMotherFitterPart::Chi2Vertex | ( | BmnParticle * | part, |
| const CbmVertex * | vtx | ||
| ) |
compute Chi2 w.r.t. vertex
| Bool_t BmnMotherFitterPart::ComputeAandB | ( | const TMatrixD & | xk0, |
| const BmnParticle & | part, | ||
| TMatrixD & | a, | ||
| TMatrixD & | b, | ||
| TMatrixD & | ck0, | ||
| Bool_t | flag = kTRUE |
||
| ) |
Compute matrices of derivatives w.r.t. vertex coordinates and particle momentum
Definition at line 695 of file BmnMotherFitterPart.cxx.
References CbmKFTrackInterface::Extrapolate(), BmnParticle::GetCharge(), CbmKFTrack::GetCovMatrix(), BmnParticle::GetKFTrack(), CbmKFTrack::GetTrack(), BmnParticle::GetZ0(), i, CbmKFMath::indexS(), and CbmKFTrackInterface::Propagate().
Referenced by BuildMother(), Chi2Vertex(), and FindVertex().
| Bool_t BmnMotherFitterPart::ComputeAandB | ( | const TMatrixD & | xk0, |
| const BmnParticle & | part, | ||
| TMatrixD & | a, | ||
| TMatrixD & | b, | ||
| TMatrixD & | ck0, | ||
| Bool_t | flag = kTRUE |
||
| ) |
| TMatrixD BmnMotherFitterPart::ComputeQmatr | ( | vector< BmnParticle * > | vDaught | ) |
Compute matrix Q = covariance cov(qk,qj) Qkj = Wk*Bkt*Gk*Ak*C*Ajt*Gj*Bj*Wj = Wk*Bkt*Gk*Ak*(-E), k!=j Qii = D
Definition at line 946 of file BmnMotherFitterPart.cxx.
References BmnParticle::GetA(), BmnParticle::GetB(), BmnParticle::GetCharge(), BmnParticle::GetD(), BmnParticle::GetE(), BmnParticle::GetG(), BmnParticle::GetJ(), BmnParticle::GetW(), and i.
Referenced by BuildMother().
| TMatrixD BmnMotherFitterPart::ComputeQmatr | ( | vector< BmnParticle * > | vDaught | ) |
|
virtual |
Definition at line 143 of file BmnMotherFitterPart.cxx.
|
virtual |
|
inline |
Definition at line 54 of file BmnMotherFitterPart.h.
|
inline |
Definition at line 54 of file BmnMotherFitterPart.h.
| Double_t BmnMotherFitterPart::FindVertex | ( | vector< BmnParticle * > | vDaught, |
| TVector3 & | vtx | ||
| ) |
Kalman filter based secondary vertex fitter
Definition at line 454 of file BmnMotherFitterPart.cxx.
References ComputeAandB(), BmnParticle::GetG(), BmnParticle::GetMeas(), i, and m.
Referenced by BuildMother().
| Double_t BmnMotherFitterPart::FindVertex | ( | vector< BmnParticle * > | vDaught, |
| TVector3 & | vtx | ||
| ) |
|
protectedvirtual |
Definition at line 137 of file BmnMotherFitterPart.cxx.
|
protectedvirtual |
|
inline |
Definition at line 56 of file BmnMotherFitterPart.h.
Referenced by BuildMother().
|
inline |
Definition at line 56 of file BmnMotherFitterPart.h.
|
protectedvirtual |
Definition at line 93 of file BmnMotherFitterPart.cxx.
Referenced by Instance(), and Instance().
|
protectedvirtual |
|
static |
get singleton instance
Get pointer to the mother fitter singleton object
Definition at line 59 of file BmnMotherFitterPart.cxx.
References Init().
Referenced by BuildMother(), BmnParticle::BuildMother(), and BmnParticle::Chi2Vertex().
|
static |
get singleton instance
|
static |
get singleton instance
Get pointer to the mother fitter singleton object
Definition at line 72 of file BmnMotherFitterPart.cxx.
References Init().
|
static |
get singleton instance
| void BmnMotherFitterPart::Register | ( | ) |
Definition at line 129 of file BmnMotherFitterPart.cxx.
| void BmnMotherFitterPart::Register | ( | ) |
|
protectedvirtual |
Definition at line 115 of file BmnMotherFitterPart.cxx.
|
protectedvirtual |
| void BmnMotherFitterPart::Reset | ( | ) |
Definition at line 122 of file BmnMotherFitterPart.cxx.
| void BmnMotherFitterPart::Reset | ( | ) |