FairRoot/PandaRoot
|
#include <RhoKinHyperonVtxFitter.h>
Public Member Functions | |
RhoKinHyperonVtxFitter (RhoCandidate *b) | |
virtual | ~RhoKinHyperonVtxFitter () |
void | AddMassConstraint (double mass) |
double | GetPull () |
void | SetNMaxIterations (int nit=20) |
void | SetNIterationsExact (int nit=2) |
void | SetMinDChisq (double m=0.001) |
TMatrixD | GetAl0 () |
TMatrixD | GetVal0 () |
TMatrixD | GetVal_composite () |
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 | TransportToPoca (TMatrixD &, TMatrixD &, TMatrixD &, TMatrixD &, TMatrixD &) |
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 RhoKinHyperonVtxFitter.h.
RhoKinHyperonVtxFitter::RhoKinHyperonVtxFitter | ( | RhoCandidate * | b | ) |
Definition at line 24 of file RhoKinHyperonVtxFitter.cxx.
References fIterateExact, fMassConstraint, fMinDChisq, and fNMaxIterations.
|
virtual |
Definition at line 37 of file RhoKinHyperonVtxFitter.cxx.
void RhoKinHyperonVtxFitter::AddMassConstraint | ( | double | mass | ) |
|
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 RhoKinHyperonVtxFitter.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(), TransportToPoca(), 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 RhoKinHyperonVtxFitter.cxx.
References Bool_t, Compute(), RhoFitterBase::SetDaugthersFromComposite(), and SetOutput().
|
inline |
|
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 1219 of file RhoKinHyperonVtxFitter.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 |
|
inline |
|
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 514 of file RhoKinHyperonVtxFitter.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 618 of file RhoKinHyperonVtxFitter.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(), RhoKinVtxFitter::FitNode(), FitNode(), and RhoKinHyperonFitter::SetMatrices().
|
protectedinherited |
Definition at line 178 of file RhoFitterBase.cxx.
References RhoCandidate::SetDecayVtx().
Referenced by RhoKalmanVtxFitter::Calculate(), RhoKinVtxFitter::SetOutput(), and 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(), RhoKinVtxFitter::SetOutput(), and RhoKinFitter::SetOutput().
|
private |
|
inline |
|
inline |
Definition at line 32 of file RhoKinHyperonVtxFitter.h.
References fIterateExact, and fNMaxIterations.
|
inline |
Definition at line 31 of file RhoKinHyperonVtxFitter.h.
References fIterateExact, and fNMaxIterations.
|
private |
[ralfk:28.5.2013] Use flat Fourmomentum sum from RhoFitterBase
Definition at line 338 of file RhoKinHyperonVtxFitter.cxx.
References a, al0, al1, covC, Double_t, RhoFitterBase::fDaughters, fe, RhoFitterBase::fVerbose, RhoCalculationTools::GetBz(), i, m, p1, pos, RhoCandidate::SetCov7(), RhoFitterBase::SetDecayVertex(), RhoCandidate::SetP7(), RhoCandidate::SetPos(), V_al0, and vtx_ex.
Referenced by FitNode().
|
inlineinherited |
|
private |
Definition at line 816 of file RhoKinHyperonVtxFitter.cxx.
References a, b, c, cos(), Double_t, fabs(), RhoFitterBase::fDaughters, RhoCalculationTools::GetBz(), h, ptot, pz, s, sin(), sqrt(), t, x, x0, y, and z.
Referenced by Compute().
|
private |
Definition at line 961 of file RhoKinHyperonVtxFitter.cxx.
References a, atan2(), Double_t, fabs(), RhoFitterBase::fDaughters, RhoCalculationTools::GetBz(), ptot, pz, s, sqrt(), t, x, y, and z.
Referenced by Compute().
|
private |
Definition at line 60 of file RhoKinHyperonVtxFitter.h.
Referenced by Compute(), GetAl0(), ReadMatrix(), ResetMatrices(), SetMatrices(), and SetOutput().
|
private |
Definition at line 61 of file RhoKinHyperonVtxFitter.h.
Referenced by Compute(), ReadKinMatrix(), ReadMassKinMatrix(), ResetMatrices(), SetMatrices(), and SetOutput().
|
private |
Definition at line 64 of file RhoKinHyperonVtxFitter.h.
Referenced by Compute(), GetVal_composite(), ResetMatrices(), SetMatrices(), and SetOutput().
|
private |
Definition at line 86 of file RhoKinHyperonVtxFitter.h.
|
protectedinherited |
Definition at line 74 of file RhoFitterBase.h.
Referenced by RhoKalmanVtxFitter::Calculate(), DecayTreeFitter::Fitter::chiSquare(), RhoKinVtxFitter::Compute(), Compute(), Rho4CFitter::Do4CFit(), Rho4CFitter::Do4CFitWithMassConservation(), RhoKalmanVtxFitter::FitNode(), RhoKalmanVtxFitter::FitVertexFast(), RhoFitterBase::GetChi2(), RhoFitterBase::GetProb(), Rho4CFitter::Rho4CFitter(), RhoKinFitter::Solve(), and RhoKinHyperonFitter::Solve().
|
private |
Definition at line 108 of file RhoKinHyperonVtxFitter.h.
|
protectedinherited |
Definition at line 69 of file RhoFitterBase.h.
Referenced by RhoKinVtxFitter::Compute(), Compute(), Rho4CFitter::Do4CFit(), Rho4CFitter::Do4CFitWithMassConservation(), RhoFitterBase::FindAndAddFinalStateDaughters(), Rho4CFitter::Fit(), RhoKinHyperonFitter::Fit(), RhoKinFitter::Fit(), Rho4CFitter::FitConserveMasses(), RhoKinVtxFitter::GetCovariance(), GetCovariance(), RhoKinFitter::Read4MomKinMatrix(), RhoKinHyperonFitter::Read4MomKinMatrix(), RhoKinVtxFitter::ReadKinMatrix(), ReadKinMatrix(), RhoKinVtxFitter::ReadMassKinMatrix(), RhoKinFitter::ReadMassKinMatrix(), ReadMassKinMatrix(), RhoKinVtxFitter::ReadMatrix(), RhoKinFitter::ReadMatrix(), ReadMatrix(), RhoKinFitter::ReadMomKinMatrix(), RhoKinHyperonFitter::ReadMomKinMatrix(), RhoKinFitter::ReadTotEKinMatrix(), RhoKinHyperonFitter::ReadTotEKinMatrix(), RhoKinFitter::ReadTotMomKinMatrix(), RhoKinHyperonFitter::ReadTotMomKinMatrix(), RhoFitterBase::SetDaugthersFromComposite(), RhoKinVtxFitter::SetMatrices(), RhoKinFitter::SetMatrices(), RhoKinHyperonFitter::SetMatrices(), SetMatrices(), RhoKinVtxFitter::SetOutput(), RhoKinFitter::SetOutput(), RhoKinHyperonFitter::SetOutput(), SetOutput(), TransportToPoca(), RhoKinVtxFitter::TransportToVertex(), and 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 104 of file RhoKinHyperonVtxFitter.h.
Referenced by Compute(), RhoKinHyperonVtxFitter(), SetNIterationsExact(), and SetNMaxIterations().
|
private |
Definition at line 95 of file RhoKinHyperonVtxFitter.h.
Referenced by AddMassConstraint(), and ReadMassKinMatrix().
|
private |
Definition at line 98 of file RhoKinHyperonVtxFitter.h.
Referenced by AddMassConstraint(), Compute(), and RhoKinHyperonVtxFitter().
|
private |
Definition at line 102 of file RhoKinHyperonVtxFitter.h.
Referenced by Compute(), RhoKinHyperonVtxFitter(), and SetMinDChisq().
|
private |
Definition at line 78 of file RhoKinHyperonVtxFitter.h.
Referenced by Compute(), ReadKinMatrix(), ReadMassKinMatrix(), and SetMatrices().
|
private |
Definition at line 75 of file RhoKinHyperonVtxFitter.h.
Referenced by ReadKinMatrix(), ReadMassKinMatrix(), and SetMatrices().
|
protectedinherited |
Definition at line 75 of file RhoFitterBase.h.
Referenced by RhoKalmanVtxFitter::Calculate(), RhoKinVtxFitter::Compute(), Compute(), Rho4CFitter::Do4CFit(), Rho4CFitter::Do4CFitWithMassConservation(), RhoKalmanVtxFitter::FitVertexFast(), RhoFitterBase::GetNdf(), RhoFitterBase::GetProb(), RhoKinFitter::SetOutput(), and RhoKinHyperonFitter::SetOutput().
|
private |
Definition at line 107 of file RhoKinHyperonVtxFitter.h.
|
private |
Definition at line 79 of file RhoKinHyperonVtxFitter.h.
Referenced by SetMatrices().
|
private |
Definition at line 103 of file RhoKinHyperonVtxFitter.h.
Referenced by Compute(), RhoKinHyperonVtxFitter(), SetNIterationsExact(), and SetNMaxIterations().
|
private |
Definition at line 73 of file RhoKinHyperonVtxFitter.h.
Referenced by ReadKinMatrix(), ReadMassKinMatrix(), and SetMatrices().
|
private |
Definition at line 74 of file RhoKinHyperonVtxFitter.h.
Referenced by SetMatrices().
|
private |
Definition at line 80 of file RhoKinHyperonVtxFitter.h.
|
private |
Definition at line 72 of file RhoKinHyperonVtxFitter.h.
Referenced by SetMatrices().
|
private |
Definition at line 87 of file RhoKinHyperonVtxFitter.h.
|
protectedinherited |
Definition at line 58 of file RhoFitterBase.h.
Referenced by RhoKalmanVtxFitter::Calculate(), RhoKinVtxFitter::Compute(), Compute(), RhoKalmanVtxFitter::FitVertexFast(), RhoKalmanVtxFitter::RhoKalmanVtxFitter(), RhoKalmanVtxFitter::SetDebug(), RhoKinVtxFitter::SetOutput(), SetOutput(), RhoKalmanVtxFitter::SetSilent(), and RhoFitterBase::SetVerbose().
|
private |
Definition at line 66 of file RhoKinHyperonVtxFitter.h.
Referenced by Compute(), ReadKinMatrix(), and ReadMassKinMatrix().
|
private |
Definition at line 68 of file RhoKinHyperonVtxFitter.h.
Referenced by Compute(), ReadKinMatrix(), and ReadMassKinMatrix().
|
private |
Definition at line 67 of file RhoKinHyperonVtxFitter.h.
Referenced by Compute(), ReadKinMatrix(), and ReadMassKinMatrix().
|
private |
Definition at line 69 of file RhoKinHyperonVtxFitter.h.
Referenced by Compute(), ResetMatrices(), and SetMatrices().
|
private |
Definition at line 85 of file RhoKinHyperonVtxFitter.h.
|
private |
Definition at line 81 of file RhoKinHyperonVtxFitter.h.
Referenced by Compute(), and SetMatrices().
|
private |
Definition at line 62 of file RhoKinHyperonVtxFitter.h.
Referenced by Compute(), GetVal0(), ReadMatrix(), ResetMatrices(), SetMatrices(), and SetOutput().
|
private |
Definition at line 63 of file RhoKinHyperonVtxFitter.h.
Referenced by Compute(), ResetMatrices(), and SetMatrices().
|
private |
Definition at line 91 of file RhoKinHyperonVtxFitter.h.
Referenced by Compute(), ReadKinMatrix(), ReadMassKinMatrix(), ResetMatrices(), SetMatrices(), and SetOutput().
|
private |
Definition at line 92 of file RhoKinHyperonVtxFitter.h.
Referenced by Compute(), ResetMatrices(), and SetMatrices().