FairRoot/PandaRoot
|
#include <RhoKalmanVtxFitter.h>
Public Member Functions | |
RhoKalmanVtxFitter (RhoCandidate *b) | |
virtual | ~RhoKalmanVtxFitter () |
void | SetExpansionPoint (TVector3 P) |
void | SetNIterations (int i) |
double | FitVertexFast (TVector3 &vtx, TMatrixD &cov, bool skipcov=false, int niter=2) |
void | SetDebug (bool db=true) |
void | SetSilent () |
Bool_t | Fit () |
Bool_t | FitAll () |
double | Chi2Contribution (const RhoCandidate *) |
double | GetChi2 () const |
int | GetNdf () const |
double | GetProb () const |
void | SetVerbose (Bool_t v=kTRUE) |
Protected Member Functions | |
RhoCandidate & | HeadOfTree () const |
RhoCandidate * | CopyCand (RhoCandidate *) |
uppermost particle composite in tree More... | |
RhoCandidate * | CopyTree (RhoCandidate *) |
void | InsertChi2 (const RhoCandidate *bc, const double chi2) |
void | SetDaugthersFromComposite (RhoCandidate *cand) |
void | FindAndAddFinalStateDaughters (RhoCandidate *cand) |
void | SetFourMomentumByDaughters (RhoCandidate *composite) |
void | SetDecayVertex (RhoCandidate *composite, const TVector3 &vtx, const TMatrixD &CovVV) |
Protected Attributes | |
Bool_t | fVerbose |
RhoCandidate * | fHeadOfTree |
std::vector< RhoCandidate * > | fDaughters |
double | fChiSquare |
int | fNDegreesOfFreedom |
Private Member Functions | |
Bool_t | FitNode (RhoCandidate *b) |
Bool_t | Calculate () |
Bool_t | CalcPrgParams (RhoCandidate *cand, TVector3 expansionpoint) |
Bool_t | CalcPrgParams (RhoCandidate *cand) |
Private Attributes | |
RhoCandidate * | fCurrentHead |
bool | fDebug |
int | fNIterations |
TVector3 | fExpansionPoint |
Float_t | fPrgParams [5] |
TMatrixD | fPrgCov |
TMatrixD | fJacobian |
Definition at line 21 of file RhoKalmanVtxFitter.h.
RhoKalmanVtxFitter::RhoKalmanVtxFitter | ( | RhoCandidate * | b | ) |
Definition at line 16 of file RhoKalmanVtxFitter.cxx.
References fCurrentHead, RhoFitterBase::fHeadOfTree, and RhoFitterBase::fVerbose.
|
virtual |
Definition at line 28 of file RhoKalmanVtxFitter.cxx.
|
private |
Definition at line 33 of file RhoKalmanVtxFitter.cxx.
References Bool_t, RhoCandidate::Cov7(), Double_t, fJacobian, fPrgCov, fPrgParams, RhoCandidate::GetCharge(), RhoCandidate::GetPosition(), mom, RhoCandidate::P4(), RhoCalculationTools::P7toPRG(), and pos.
Referenced by Calculate(), and FitVertexFast().
|
inlineprivate |
Definition at line 40 of file RhoKalmanVtxFitter.h.
|
private |
Definition at line 192 of file RhoKalmanVtxFitter.cxx.
References Bool_t, CalcPrgParams(), RhoCandidate::Daughter(), Double_t, RhoCandidate::E(), RhoFitterBase::fChiSquare, fCurrentHead, fDebug, fExpansionPoint, fJacobian, RhoFitterBase::fNDegreesOfFreedom, fNIterations, fPrgCov, fPrgParams, RhoFitterBase::fVerbose, RhoCandidate::GetCharge(), RhoCandidate::GetMomentum(), RhoCandidate::GetPosition(), i, RhoFitterBase::InsertChi2(), RhoCandidate::NDaughters(), Print(), printf(), RhoCandidate::SetCov7(), RhoFitterBase::SetDecayVertex(), RhoFitterBase::SetFourMomentumByDaughters(), RhoCandidate::SetP3(), RhoCandidate::SetPos(), T, and W.
Referenced by FitNode().
|
inherited |
access to the fitted candidates
Definition at line 86 of file RhoFitterBase.cxx.
References Double_t, RhoFitterBase::fChi2Map, uid(), and RhoCandidate::Uid().
|
protectedinherited |
uppermost particle composite in tree
Definition at line 51 of file RhoFitterBase.cxx.
References RhoFactory::Instance(), RhoFactory::NewCandidate(), RhoCandidate::RemoveAssociations(), and RhoCandidate::SetFit().
Referenced by RhoFitterBase::CopyTree().
|
protectedinherited |
Definition at line 61 of file RhoFitterBase.cxx.
References RhoFitterBase::CopyCand(), RhoCandidate::Daughter(), i, RhoCandidate::IsComposite(), RhoCandidate::NDaughters(), and RhoCandidate::SetMotherLink().
Referenced by RhoFitterBase::RhoFitterBase().
|
protectedinherited |
Definition at line 149 of file RhoFitterBase.cxx.
References RhoCandidate::Daughter(), RhoFitterBase::fDaughters, RhoCandidate::IsComposite(), RhoCandidate::IsLocked(), and RhoCandidate::NDaughters().
Referenced by Rho4CFitter::Fit(), RhoKinFitter::Fit(), and Rho4CFitter::FitConserveMasses().
|
inherited |
This function has to be overridden by the real algoritms implementations
Definition at line 95 of file RhoFitterBase.cxx.
References RhoFitterBase::fChi2Map, RhoFitterBase::fHeadOfTree, and RhoFitterBase::FitNode().
Referenced by ana_check(), ana_check_psi(), ana_complete(), ana_day1(), ana_invariantmass_2pi_tpc(), ana_multi(), anaDMesonsCharged(), anaideal_complete(), anatut_psi2s(), PndTripleAnaTask::DsDs2317Analysis(), PndPmtTask::Exec(), PndProdAnaTask::Exec(), PndLLbarAnaTask::Exec(), PndMyAnalysisTask::Exec(), PndSimpleCombinerTask::Exec(), DecayTreeFitter::Fitter::FitAll(), PndTripleAnaTask::JpsiAnalysis(), newana_check_eta(), poormantracks(), run_ana_eta_c_stt(), run_ana_eta_c_stt_v2(), run_ana_eta_c_tpc(), run_ana_invariantmass_2pi_stt(), run_ana_invariantmass_2pi_tpc(), run_ana_invariantmass_4pi_stt(), run_ana_invariantmass_4pi_tpc(), run_ana_mertens_evt7(), tut_ana(), tut_ana_fast(), tut_ana_fit(), tut_ana_ntp(), tut_ana_ntp_noqa(), and tut_ana_ntp_qa().
|
inherited |
Definition at line 101 of file RhoFitterBase.cxx.
References RhoFitterBase::fHeadOfTree, RhoCandidate::IsLocked(), and RhoFitterBase::IterateAndFit().
|
privatevirtual |
Reimplemented from RhoFitterBase.
Definition at line 46 of file RhoKalmanVtxFitter.cxx.
References b, Bool_t, Calculate(), RhoFitterBase::fChiSquare, and fCurrentHead.
Double_t RhoKalmanVtxFitter::FitVertexFast | ( | TVector3 & | vtx, |
TMatrixD & | cov, | ||
bool | skipcov = false , |
||
int | niter = 2 |
||
) |
Definition at line 75 of file RhoKalmanVtxFitter.cxx.
References Bool_t, c, CalcPrgParams(), cos(), RhoCandidate::Daughter(), Double_t, RhoFitterBase::fChiSquare, fCurrentHead, fDebug, fExpansionPoint, fJacobian, RhoFitterBase::fNDegreesOfFreedom, fPrgCov, fPrgParams, RhoFitterBase::fVerbose, i, RhoCandidate::NDaughters(), niter, printf(), s, sin(), t, and CAMath::Tan().
Referenced by PndPmtTask::Exec(), poormantracks(), and PndRhoTupleQA::qaPRG().
|
inlineinherited |
Definition at line 48 of file RhoFitterBase.h.
References RhoFitterBase::fChiSquare.
Referenced by ana_check(), ana_check_psi(), ana_complete(), ana_day1(), ana_multi(), anaideal_complete(), anatut_psi2s(), PndTripleAnaTask::DsDs2317Analysis(), PndPmtTask::Exec(), PndProdAnaTask::Exec(), PndLLbarAnaTask::Exec(), PndAnaWithTrigger::Exec(), PndMyAnalysisTask::Exec(), PndScrutAnaTask::Exec(), PndSimpleCombinerTask::Exec(), PndTripleAnaTask::JpsiAnalysis(), newana_check_eta(), poormantracks(), PndRhoTupleQA::qaFitter(), run_ana_eta_c_stt(), run_ana_eta_c_stt_v2(), run_ana_eta_c_tpc(), PndTripleAnaTask::ThreePiAnalysis(), tut_ana(), tut_ana_fast(), tut_ana_fit(), tut_ana_ntp(), tut_ana_ntp_noqa(), and tut_ana_ntp_qa().
|
inlineinherited |
Definition at line 49 of file RhoFitterBase.h.
References RhoFitterBase::fNDegreesOfFreedom.
Referenced by poormantracks(), and PndRhoTupleQA::qaFitter().
|
inlineinherited |
Definition at line 50 of file RhoFitterBase.h.
References RhoFitterBase::fChiSquare, and RhoFitterBase::fNDegreesOfFreedom.
Referenced by ana_complete(), ana_day1(), ana_multi(), anaideal_complete(), PndPmtTask::Exec(), PndLLbarAnaTask::Exec(), poormantracks(), PndRhoTupleQA::qaFitter(), tut_ana(), tut_ana_fast(), tut_ana_fit(), tut_ana_ntp(), tut_ana_ntp_noqa(), and tut_ana_ntp_qa().
|
inlineprotectedinherited |
|
inlineprotectedinherited |
Definition at line 66 of file RhoFitterBase.h.
References RhoFitterBase::fChi2Map, and RhoCandidate::Uid().
Referenced by Calculate().
|
protectedinherited |
Definition at line 136 of file RhoFitterBase.cxx.
References RhoCandidate::Daughter(), RhoFitterBase::fDaughters, RhoCandidate::IsComposite(), and RhoCandidate::NDaughters().
Referenced by RhoKinHyperonFitter::Fit(), RhoKinVtxFitter::FitNode(), RhoKinHyperonVtxFitter::FitNode(), and RhoKinHyperonFitter::SetMatrices().
|
inline |
|
protectedinherited |
Definition at line 178 of file RhoFitterBase.cxx.
References RhoCandidate::SetDecayVtx().
Referenced by Calculate(), RhoKinVtxFitter::SetOutput(), and RhoKinHyperonVtxFitter::SetOutput().
|
inline |
Definition at line 26 of file RhoKalmanVtxFitter.h.
References fExpansionPoint, and P.
Referenced by PndPmtTask::Exec().
|
protectedinherited |
Definition at line 160 of file RhoFitterBase.cxx.
References RhoCandidate::Cov7(), RhoCandidate::Daughter(), RhoCandidate::IsComposite(), RhoCandidate::IsLocked(), RhoCandidate::NDaughters(), RhoCandidate::P4(), RhoCandidate::SetCov7(), and RhoCandidate::SetP4().
Referenced by Calculate(), Rho4CFitter::Fit(), Rho4CFitter::FitConserveMasses(), RhoKinVtxFitter::SetOutput(), and RhoKinFitter::SetOutput().
|
inline |
Definition at line 27 of file RhoKalmanVtxFitter.h.
References fNIterations, and i.
Referenced by PndPmtTask::Exec().
|
inline |
Definition at line 33 of file RhoKalmanVtxFitter.h.
References fDebug, and RhoFitterBase::fVerbose.
Referenced by PndPmtTask::Exec(), poormantracks(), and PndRhoTupleQA::qaPRG().
|
inlineinherited |
|
protectedinherited |
Definition at line 74 of file RhoFitterBase.h.
Referenced by Calculate(), DecayTreeFitter::Fitter::chiSquare(), RhoKinVtxFitter::Compute(), RhoKinHyperonVtxFitter::Compute(), Rho4CFitter::Do4CFit(), Rho4CFitter::Do4CFitWithMassConservation(), FitNode(), FitVertexFast(), RhoFitterBase::GetChi2(), RhoFitterBase::GetProb(), Rho4CFitter::Rho4CFitter(), RhoKinFitter::Solve(), and RhoKinHyperonFitter::Solve().
|
private |
Definition at line 36 of file RhoKalmanVtxFitter.h.
Referenced by Calculate(), FitNode(), FitVertexFast(), and RhoKalmanVtxFitter().
|
protectedinherited |
Definition at line 69 of file RhoFitterBase.h.
Referenced by RhoKinVtxFitter::Compute(), RhoKinHyperonVtxFitter::Compute(), Rho4CFitter::Do4CFit(), Rho4CFitter::Do4CFitWithMassConservation(), RhoFitterBase::FindAndAddFinalStateDaughters(), Rho4CFitter::Fit(), RhoKinFitter::Fit(), RhoKinHyperonFitter::Fit(), Rho4CFitter::FitConserveMasses(), RhoKinVtxFitter::GetCovariance(), RhoKinHyperonVtxFitter::GetCovariance(), RhoKinFitter::Read4MomKinMatrix(), RhoKinHyperonFitter::Read4MomKinMatrix(), RhoKinVtxFitter::ReadKinMatrix(), RhoKinHyperonVtxFitter::ReadKinMatrix(), RhoKinVtxFitter::ReadMassKinMatrix(), RhoKinFitter::ReadMassKinMatrix(), RhoKinHyperonVtxFitter::ReadMassKinMatrix(), RhoKinVtxFitter::ReadMatrix(), RhoKinFitter::ReadMatrix(), RhoKinHyperonVtxFitter::ReadMatrix(), RhoKinFitter::ReadMomKinMatrix(), RhoKinHyperonFitter::ReadMomKinMatrix(), RhoKinFitter::ReadTotEKinMatrix(), RhoKinHyperonFitter::ReadTotEKinMatrix(), RhoKinFitter::ReadTotMomKinMatrix(), RhoKinHyperonFitter::ReadTotMomKinMatrix(), RhoFitterBase::SetDaugthersFromComposite(), RhoKinVtxFitter::SetMatrices(), RhoKinFitter::SetMatrices(), RhoKinHyperonFitter::SetMatrices(), RhoKinHyperonVtxFitter::SetMatrices(), RhoKinVtxFitter::SetOutput(), RhoKinFitter::SetOutput(), RhoKinHyperonFitter::SetOutput(), RhoKinHyperonVtxFitter::SetOutput(), RhoKinHyperonVtxFitter::TransportToPoca(), RhoKinVtxFitter::TransportToVertex(), and RhoKinHyperonVtxFitter::TransportToVertex().
|
private |
Definition at line 40 of file RhoKalmanVtxFitter.h.
Referenced by Calculate(), FitVertexFast(), SetDebug(), and SetSilent().
|
private |
Definition at line 44 of file RhoKalmanVtxFitter.h.
Referenced by Calculate(), FitVertexFast(), and SetExpansionPoint().
|
protectedinherited |
Definition at line 62 of file RhoFitterBase.h.
Referenced by Rho4CFitter::Fit(), RhoKinFitter::Fit(), RhoKinHyperonFitter::Fit(), RhoFitterBase::Fit(), RhoFitterBase::FitAll(), Rho4CFitter::FitConserveMasses(), RhoFitterBase::HeadOfTree(), RhoKinHyperonFitter::ReadMatrix(), RhoFitterBase::RhoFitterBase(), RhoKalmanVtxFitter(), RhoKinHyperonFitter::SetMatrices(), RhoKinFitter::SetOutput(), and RhoKinHyperonFitter::SetOutput().
|
private |
Definition at line 47 of file RhoKalmanVtxFitter.h.
Referenced by CalcPrgParams(), Calculate(), and FitVertexFast().
|
protectedinherited |
Definition at line 75 of file RhoFitterBase.h.
Referenced by Calculate(), RhoKinVtxFitter::Compute(), RhoKinHyperonVtxFitter::Compute(), Rho4CFitter::Do4CFit(), Rho4CFitter::Do4CFitWithMassConservation(), FitVertexFast(), RhoFitterBase::GetNdf(), RhoFitterBase::GetProb(), RhoKinFitter::SetOutput(), and RhoKinHyperonFitter::SetOutput().
|
private |
Definition at line 43 of file RhoKalmanVtxFitter.h.
Referenced by Calculate(), and SetNIterations().
|
private |
Definition at line 46 of file RhoKalmanVtxFitter.h.
Referenced by CalcPrgParams(), Calculate(), and FitVertexFast().
|
private |
Definition at line 45 of file RhoKalmanVtxFitter.h.
Referenced by CalcPrgParams(), Calculate(), and FitVertexFast().
|
protectedinherited |
Definition at line 58 of file RhoFitterBase.h.
Referenced by Calculate(), RhoKinVtxFitter::Compute(), RhoKinHyperonVtxFitter::Compute(), FitVertexFast(), RhoKalmanVtxFitter(), SetDebug(), RhoKinVtxFitter::SetOutput(), RhoKinHyperonVtxFitter::SetOutput(), SetSilent(), and RhoFitterBase::SetVerbose().