FairRoot/PandaRoot
|
#include <RhoKinVtxFitter.h>
Public Member Functions | |
RhoKinVtxFitter (RhoCandidate *b) | |
virtual | ~RhoKinVtxFitter () |
void | AddMassConstraint (double mass) |
double | GetPull () |
void | SetNMaxIterations (int nit=20) |
void | SetNIterationsExact (int nit=2) |
void | SetMinDChisq (double m=0.001) |
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) |
void | SetMatrices () |
void | ResetMatrices () |
void | ReadMatrix () |
void | ReadKinMatrix () |
void | ReadMassKinMatrix () |
Bool_t | Compute (RhoCandidate *c) |
void | SetOutput (RhoCandidate *head) |
void | TransportToVertex (TMatrixD &, TMatrixD &, TMatrixD &, TMatrixD &, TMatrixD &) |
void | GetCovariance (TMatrixD &a_cov0, TMatrixD &cov_al_x, TMatrixD &V_vtx, TMatrixD &covS) |
Private Attributes | |
TMatrixD | al0 |
TMatrixD | al1 |
TMatrixD | V_al0 |
TMatrixD | V_al1 |
TMatrixD | covC |
TMatrixD | mD |
TMatrixD | mE |
TMatrixD | md |
TMatrixD | mPull |
Int_t | fNvar |
Int_t | fNpar |
Int_t | fNpart |
Int_t | fNcon |
Int_t | fNc |
Int_t | fNiter |
Int_t | fNumKnown |
Int_t | NumCon |
int | niter |
double | fChi2Diff |
double | fPull |
TMatrixD | vtx_ex |
TMatrixD | vtx_st |
double | fMass |
int | fMassConstraint |
double | fMinDChisq |
int | fNMaxIterations |
bool | fIterateExact |
int | fnDof |
double | fchiSquare |
Definition at line 22 of file RhoKinVtxFitter.h.
RhoKinVtxFitter::RhoKinVtxFitter | ( | RhoCandidate * | b | ) |
Definition at line 24 of file RhoKinVtxFitter.cxx.
References fIterateExact, fMassConstraint, fMinDChisq, and fNMaxIterations.
|
virtual |
Definition at line 37 of file RhoKinVtxFitter.cxx.
void RhoKinVtxFitter::AddMassConstraint | ( | double | mass | ) |
Definition at line 41 of file RhoKinVtxFitter.cxx.
References fMass, and fMassConstraint.
Referenced by newana_check_eta().
|
inherited |
access to the fitted candidates
Definition at line 86 of file RhoFitterBase.cxx.
References Double_t, RhoFitterBase::fChi2Map, uid(), and RhoCandidate::Uid().
|
private |
Definition at line 100 of file RhoKinVtxFitter.cxx.
References al0, al1, covC, fabs(), RhoFitterBase::fChiSquare, RhoFitterBase::fDaughters, fIterateExact, fMassConstraint, fMinDChisq, fNc, RhoFitterBase::fNDegreesOfFreedom, fNMaxIterations, fPull, RhoFitterBase::fVerbose, GetCovariance(), RhoVtxPoca::GetPocaVtx(), mD, md, mE, mPull, NumCon, ReadKinMatrix(), ReadMassKinMatrix(), ReadMatrix(), ResetMatrices(), SetMatrices(), TransportToVertex(), V_al0, V_al1, vtx_ex, and vtx_st.
Referenced by FitNode().
|
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 54 of file RhoKinVtxFitter.cxx.
References Bool_t, Compute(), RhoFitterBase::SetDaugthersFromComposite(), and SetOutput().
|
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().
|
private |
Definition at line 944 of file RhoKinVtxFitter.cxx.
References a, Double_t, RhoFitterBase::fDaughters, RhoCalculationTools::GetBz(), i, and jj.
Referenced by Compute().
|
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().
|
inline |
|
inlineprotectedinherited |
|
inlineprotectedinherited |
Definition at line 66 of file RhoFitterBase.h.
References RhoFitterBase::fChi2Map, and RhoCandidate::Uid().
Referenced by RhoKalmanVtxFitter::Calculate().
|
private |
Definition at line 511 of file RhoKinVtxFitter.cxx.
References a, al1, Double_t, RhoFitterBase::fDaughters, fNc, fNcon, fNpar, RhoCalculationTools::GetBz(), mD, md, mE, pz, sqrt(), and vtx_ex.
Referenced by Compute().
|
private |
Definition at line 615 of file RhoKinVtxFitter.cxx.
References a, al1, Double_t, RhoFitterBase::fDaughters, fMass, fNc, fNcon, fNpar, RhoCalculationTools::GetBz(), m, mD, md, mE, p1, pz, CAMath::Sqrt(), and vtx_ex.
Referenced by Compute().
|
private |
|
private |
|
protectedinherited |
Definition at line 136 of file RhoFitterBase.cxx.
References RhoCandidate::Daughter(), RhoFitterBase::fDaughters, RhoCandidate::IsComposite(), and RhoCandidate::NDaughters().
Referenced by RhoKinHyperonFitter::Fit(), FitNode(), RhoKinHyperonVtxFitter::FitNode(), and RhoKinHyperonFitter::SetMatrices().
|
protectedinherited |
Definition at line 178 of file RhoFitterBase.cxx.
References RhoCandidate::SetDecayVtx().
Referenced by RhoKalmanVtxFitter::Calculate(), SetOutput(), and RhoKinHyperonVtxFitter::SetOutput().
|
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 RhoKalmanVtxFitter::Calculate(), Rho4CFitter::Fit(), Rho4CFitter::FitConserveMasses(), SetOutput(), and RhoKinFitter::SetOutput().
|
private |
|
inline |
|
inline |
Definition at line 32 of file RhoKinVtxFitter.h.
References fIterateExact, and fNMaxIterations.
Referenced by PndPmtTask::Exec().
|
inline |
|
private |
[ralfk:28.5.2013] Use flat Fourmomentum sum from RhoFitterBase
Definition at line 329 of file RhoKinVtxFitter.cxx.
References a, al0, al1, covC, Double_t, RhoFitterBase::fDaughters, RhoFitterBase::fVerbose, RhoCalculationTools::GetBz(), i, m, p1, pos, RhoFitterBase::SetDecayVertex(), RhoFitterBase::SetFourMomentumByDaughters(), RhoCandidate::SetPos(), V_al0, and vtx_ex.
Referenced by FitNode().
|
inlineinherited |
|
private |
Correct one helix and/or track(s) to vertex point for charged and/or neutral particles
Definition at line 816 of file RhoKinVtxFitter.cxx.
References a, atan2(), Double_t, fabs(), RhoFitterBase::fDaughters, RhoCalculationTools::GetBz(), ptot, pz, s, sqrt(), x, y, and z.
Referenced by Compute().
|
private |
Definition at line 55 of file RhoKinVtxFitter.h.
Referenced by Compute(), ReadMatrix(), ResetMatrices(), SetMatrices(), and SetOutput().
|
private |
Definition at line 56 of file RhoKinVtxFitter.h.
Referenced by Compute(), ReadKinMatrix(), ReadMassKinMatrix(), ResetMatrices(), SetMatrices(), and SetOutput().
|
private |
Definition at line 59 of file RhoKinVtxFitter.h.
Referenced by Compute(), ResetMatrices(), SetMatrices(), and SetOutput().
|
private |
Definition at line 81 of file RhoKinVtxFitter.h.
|
protectedinherited |
Definition at line 74 of file RhoFitterBase.h.
Referenced by RhoKalmanVtxFitter::Calculate(), DecayTreeFitter::Fitter::chiSquare(), Compute(), RhoKinHyperonVtxFitter::Compute(), Rho4CFitter::Do4CFit(), Rho4CFitter::Do4CFitWithMassConservation(), RhoKalmanVtxFitter::FitNode(), RhoKalmanVtxFitter::FitVertexFast(), RhoFitterBase::GetChi2(), RhoFitterBase::GetProb(), Rho4CFitter::Rho4CFitter(), RhoKinFitter::Solve(), and RhoKinHyperonFitter::Solve().
|
private |
Definition at line 103 of file RhoKinVtxFitter.h.
|
protectedinherited |
Definition at line 69 of file RhoFitterBase.h.
Referenced by Compute(), RhoKinHyperonVtxFitter::Compute(), Rho4CFitter::Do4CFit(), Rho4CFitter::Do4CFitWithMassConservation(), RhoFitterBase::FindAndAddFinalStateDaughters(), Rho4CFitter::Fit(), RhoKinFitter::Fit(), RhoKinHyperonFitter::Fit(), Rho4CFitter::FitConserveMasses(), GetCovariance(), RhoKinHyperonVtxFitter::GetCovariance(), RhoKinFitter::Read4MomKinMatrix(), RhoKinHyperonFitter::Read4MomKinMatrix(), ReadKinMatrix(), RhoKinHyperonVtxFitter::ReadKinMatrix(), ReadMassKinMatrix(), RhoKinFitter::ReadMassKinMatrix(), RhoKinHyperonVtxFitter::ReadMassKinMatrix(), ReadMatrix(), RhoKinFitter::ReadMatrix(), RhoKinHyperonVtxFitter::ReadMatrix(), RhoKinFitter::ReadMomKinMatrix(), RhoKinHyperonFitter::ReadMomKinMatrix(), RhoKinFitter::ReadTotEKinMatrix(), RhoKinHyperonFitter::ReadTotEKinMatrix(), RhoKinFitter::ReadTotMomKinMatrix(), RhoKinHyperonFitter::ReadTotMomKinMatrix(), RhoFitterBase::SetDaugthersFromComposite(), SetMatrices(), RhoKinFitter::SetMatrices(), RhoKinHyperonFitter::SetMatrices(), RhoKinHyperonVtxFitter::SetMatrices(), SetOutput(), RhoKinFitter::SetOutput(), RhoKinHyperonFitter::SetOutput(), RhoKinHyperonVtxFitter::SetOutput(), RhoKinHyperonVtxFitter::TransportToPoca(), TransportToVertex(), and RhoKinHyperonVtxFitter::TransportToVertex().
|
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::RhoKalmanVtxFitter(), RhoKinHyperonFitter::SetMatrices(), RhoKinFitter::SetOutput(), and RhoKinHyperonFitter::SetOutput().
|
private |
Definition at line 99 of file RhoKinVtxFitter.h.
Referenced by Compute(), RhoKinVtxFitter(), SetNIterationsExact(), and SetNMaxIterations().
|
private |
Definition at line 90 of file RhoKinVtxFitter.h.
Referenced by AddMassConstraint(), and ReadMassKinMatrix().
|
private |
Definition at line 93 of file RhoKinVtxFitter.h.
Referenced by AddMassConstraint(), Compute(), and RhoKinVtxFitter().
|
private |
Definition at line 97 of file RhoKinVtxFitter.h.
Referenced by Compute(), RhoKinVtxFitter(), and SetMinDChisq().
|
private |
Definition at line 73 of file RhoKinVtxFitter.h.
Referenced by Compute(), ReadKinMatrix(), ReadMassKinMatrix(), and SetMatrices().
|
private |
Definition at line 70 of file RhoKinVtxFitter.h.
Referenced by ReadKinMatrix(), ReadMassKinMatrix(), and SetMatrices().
|
protectedinherited |
Definition at line 75 of file RhoFitterBase.h.
Referenced by RhoKalmanVtxFitter::Calculate(), Compute(), RhoKinHyperonVtxFitter::Compute(), Rho4CFitter::Do4CFit(), Rho4CFitter::Do4CFitWithMassConservation(), RhoKalmanVtxFitter::FitVertexFast(), RhoFitterBase::GetNdf(), RhoFitterBase::GetProb(), RhoKinFitter::SetOutput(), and RhoKinHyperonFitter::SetOutput().
|
private |
Definition at line 102 of file RhoKinVtxFitter.h.
|
private |
Definition at line 74 of file RhoKinVtxFitter.h.
Referenced by SetMatrices().
|
private |
Definition at line 98 of file RhoKinVtxFitter.h.
Referenced by Compute(), RhoKinVtxFitter(), SetNIterationsExact(), and SetNMaxIterations().
|
private |
Definition at line 68 of file RhoKinVtxFitter.h.
Referenced by ReadKinMatrix(), ReadMassKinMatrix(), and SetMatrices().
|
private |
Definition at line 69 of file RhoKinVtxFitter.h.
Referenced by SetMatrices().
|
private |
Definition at line 75 of file RhoKinVtxFitter.h.
|
private |
Definition at line 67 of file RhoKinVtxFitter.h.
Referenced by SetMatrices().
|
private |
Definition at line 82 of file RhoKinVtxFitter.h.
|
protectedinherited |
Definition at line 58 of file RhoFitterBase.h.
Referenced by RhoKalmanVtxFitter::Calculate(), Compute(), RhoKinHyperonVtxFitter::Compute(), RhoKalmanVtxFitter::FitVertexFast(), RhoKalmanVtxFitter::RhoKalmanVtxFitter(), RhoKalmanVtxFitter::SetDebug(), SetOutput(), RhoKinHyperonVtxFitter::SetOutput(), RhoKalmanVtxFitter::SetSilent(), and RhoFitterBase::SetVerbose().
|
private |
Definition at line 61 of file RhoKinVtxFitter.h.
Referenced by Compute(), ReadKinMatrix(), and ReadMassKinMatrix().
|
private |
Definition at line 63 of file RhoKinVtxFitter.h.
Referenced by Compute(), ReadKinMatrix(), and ReadMassKinMatrix().
|
private |
Definition at line 62 of file RhoKinVtxFitter.h.
Referenced by Compute(), ReadKinMatrix(), and ReadMassKinMatrix().
|
private |
Definition at line 64 of file RhoKinVtxFitter.h.
Referenced by Compute(), ResetMatrices(), and SetMatrices().
|
private |
Definition at line 80 of file RhoKinVtxFitter.h.
|
private |
Definition at line 76 of file RhoKinVtxFitter.h.
Referenced by Compute(), and SetMatrices().
|
private |
Definition at line 57 of file RhoKinVtxFitter.h.
Referenced by Compute(), ReadMatrix(), ResetMatrices(), SetMatrices(), and SetOutput().
|
private |
Definition at line 58 of file RhoKinVtxFitter.h.
Referenced by Compute(), ResetMatrices(), and SetMatrices().
|
private |
Definition at line 86 of file RhoKinVtxFitter.h.
Referenced by Compute(), ReadKinMatrix(), ReadMassKinMatrix(), ResetMatrices(), SetMatrices(), and SetOutput().
|
private |
Definition at line 87 of file RhoKinVtxFitter.h.
Referenced by Compute(), ResetMatrices(), and SetMatrices().