FairRoot/PandaRoot
|
#include <RhoKinFitter.h>
Public Member Functions | |
RhoKinFitter (RhoCandidate *b) | |
virtual | ~RhoKinFitter () |
void | Add4MomConstraint (TLorentzVector lv) |
void | AddMomConstraint (TVector3 v) |
void | AddTotEConstraint (double energy) |
void | AddTotMomConstraint (double momentum) |
void | AddMassConstraint (double mass) |
Bool_t | Fit () |
Bool_t | FitAll () |
double | Chi2Diff () |
double | GetPull () |
double | Chi2Contribution (const RhoCandidate &) const |
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 |
virtual Bool_t | FitNode (RhoCandidate *b) |
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 | |
void | SetMatrices () |
void | ZeroMatrices () |
void | ReadMatrix () |
void | ReadKinMatrix () |
void | ReadMassKinMatrix () |
void | Read4MomKinMatrix () |
void | ReadMomKinMatrix () |
void | ReadTotEKinMatrix () |
void | ReadTotMomKinMatrix () |
Bool_t | Solve () |
void | SetOutput () |
Private Attributes | |
TMatrixD | fAl0 |
TMatrixD | fAl1 |
TMatrixD | fV_al0 |
TMatrixD | fV_al1 |
TMatrixD | fmD |
TMatrixD | fmE |
TMatrixD | fmd |
TMatrixD | fmPull |
Int_t | fNvar |
Int_t | fNpar |
Int_t | fNcon |
Int_t | fNc |
Int_t | fNiter |
Int_t | fNunKnown |
Int_t | fNumCon |
double | fMass |
TLorentzVector | flmm |
TVector3 | fmm |
double | fEc |
double | fMom |
int | f4MomConstraint |
int | fMomConstraint |
int | fTotEConstraint |
int | fMassConstraint |
int | fTotMomConstraint |
double | fChi2Diff |
double | fPull |
Definition at line 21 of file RhoKinFitter.h.
RhoKinFitter::RhoKinFitter | ( | RhoCandidate * | b | ) |
Definition at line 19 of file RhoKinFitter.cxx.
References f4MomConstraint, fMassConstraint, fMomConstraint, fTotEConstraint, and fTotMomConstraint.
|
virtual |
Definition at line 29 of file RhoKinFitter.cxx.
void RhoKinFitter::Add4MomConstraint | ( | TLorentzVector | lv | ) |
Definition at line 34 of file RhoKinFitter.cxx.
References f4MomConstraint, and flmm.
Referenced by ana_complete(), ana_day1(), ana_jpsi(), ana_multi(), anaideal_complete(), PndTripleAnaTask::DsDs2317Analysis(), PndAnaWithTrigger::Exec(), PndScrutAnaTask::Exec(), PndSimpleCombinerTask::Exec(), PndTripleAnaTask::JpsiAnalysis(), PndTripleAnaTask::ThreePiAnalysis(), tut_ana(), tut_ana_fast(), tut_ana_fit(), tut_ana_ntp(), tut_ana_ntp_noqa(), and tut_ana_ntp_qa().
void RhoKinFitter::AddMassConstraint | ( | double | mass | ) |
Definition at line 56 of file RhoKinFitter.cxx.
References fMass, and fMassConstraint.
Referenced by ana_complete(), ana_day1(), ana_multi(), anaideal_complete(), anatut_psi2s(), PndTripleAnaTask::DsDs2317Analysis(), PndMyAnalysisTask::Exec(), tut_ana(), tut_ana_fast(), tut_ana_fit(), tut_ana_ntp(), tut_ana_ntp_noqa(), and tut_ana_ntp_qa().
void RhoKinFitter::AddMomConstraint | ( | TVector3 | v | ) |
void RhoKinFitter::AddTotEConstraint | ( | double | energy | ) |
void RhoKinFitter::AddTotMomConstraint | ( | double | momentum | ) |
|
inline |
Definition at line 37 of file RhoKinFitter.h.
|
inherited |
access to the fitted candidates
Definition at line 86 of file RhoFitterBase.cxx.
References Double_t, RhoFitterBase::fChi2Map, uid(), and RhoCandidate::Uid().
|
inline |
|
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(), Fit(), and Rho4CFitter::FitConserveMasses().
Bool_t RhoKinFitter::Fit | ( | ) |
Definition at line 62 of file RhoKinFitter.cxx.
References Bool_t, f4MomConstraint, RhoFitterBase::fDaughters, RhoFitterBase::fHeadOfTree, RhoFitterBase::FindAndAddFinalStateDaughters(), fMassConstraint, fMomConstraint, fNumCon, fTotEConstraint, fTotMomConstraint, ReadMatrix(), SetMatrices(), SetOutput(), Solve(), and ZeroMatrices().
Referenced by ana_complete(), ana_day1(), ana_jpsi(), ana_multi(), anaideal_complete(), anatut_psi2s(), PndTripleAnaTask::DsDs2317Analysis(), PndMyAnalysisTask::Exec(), PndScrutAnaTask::Exec(), PndAnaWithTrigger::Exec(), PndSimpleCombinerTask::Exec(), PndTripleAnaTask::JpsiAnalysis(), PndTripleAnaTask::ThreePiAnalysis(), tut_ana(), tut_ana_fast(), tut_ana_fit(), tut_ana_ntp(), tut_ana_ntp_noqa(), and tut_ana_ntp_qa().
|
inline |
Definition at line 33 of file RhoKinFitter.h.
|
protectedvirtualinherited |
Reimplemented in RhoKinHyperonVtxFitter, RhoKinVtxFitter, and RhoKalmanVtxFitter.
Definition at line 130 of file RhoFitterBase.cxx.
Referenced by RhoFitterBase::Fit(), and RhoFitterBase::IterateAndFit().
|
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().
|
inline |
|
inlineprotectedinherited |
|
inlineprotectedinherited |
Definition at line 66 of file RhoFitterBase.h.
References RhoFitterBase::fChi2Map, and RhoCandidate::Uid().
Referenced by RhoKalmanVtxFitter::Calculate().
|
private |
|
private |
|
private |
Definition at line 299 of file RhoKinFitter.cxx.
References a, Double_t, fAl1, RhoFitterBase::fDaughters, fMass, fmD, fmd, fNc, RhoCalculationTools::GetBz(), m, p1, pz, and CAMath::Sqrt().
Referenced by Solve().
|
private |
|
private |
|
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(), RhoKinHyperonVtxFitter::FitNode(), and RhoKinHyperonFitter::SetMatrices().
|
protectedinherited |
Definition at line 178 of file RhoFitterBase.cxx.
References RhoCandidate::SetDecayVtx().
Referenced by RhoKalmanVtxFitter::Calculate(), RhoKinVtxFitter::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(), RhoKinVtxFitter::SetOutput(), and SetOutput().
|
private |
|
private |
Definition at line 173 of file RhoKinFitter.cxx.
References a, Double_t, f4MomConstraint, fAl0, RhoFitterBase::fDaughters, RhoFitterBase::fHeadOfTree, fMassConstraint, fMomConstraint, RhoFitterBase::fNDegreesOfFreedom, fTotEConstraint, fTotMomConstraint, fV_al0, RhoCalculationTools::GetBz(), i, m, p1, pos, and RhoFitterBase::SetFourMomentumByDaughters().
Referenced by Fit().
|
inlineinherited |
|
private |
Definition at line 132 of file RhoKinFitter.cxx.
References f4MomConstraint, fAl0, fAl1, RhoFitterBase::fChiSquare, fMassConstraint, fmD, fmd, fMomConstraint, fmPull, fNcon, fPull, fTotEConstraint, fTotMomConstraint, fV_al0, i, Read4MomKinMatrix(), ReadMassKinMatrix(), ReadMomKinMatrix(), ReadTotEKinMatrix(), ReadTotMomKinMatrix(), and sqrt().
Referenced by Fit().
|
private |
|
private |
Definition at line 76 of file RhoKinFitter.h.
Referenced by Add4MomConstraint(), Fit(), RhoKinFitter(), SetOutput(), and Solve().
|
private |
Definition at line 52 of file RhoKinFitter.h.
Referenced by ReadMatrix(), SetMatrices(), SetOutput(), Solve(), and ZeroMatrices().
|
private |
Definition at line 53 of file RhoKinFitter.h.
Referenced by Read4MomKinMatrix(), ReadMassKinMatrix(), ReadMomKinMatrix(), ReadTotEKinMatrix(), ReadTotMomKinMatrix(), SetMatrices(), Solve(), and ZeroMatrices().
|
private |
Definition at line 82 of file RhoKinFitter.h.
Referenced by Chi2Diff().
|
protectedinherited |
Definition at line 74 of file RhoFitterBase.h.
Referenced by RhoKalmanVtxFitter::Calculate(), DecayTreeFitter::Fitter::chiSquare(), RhoKinVtxFitter::Compute(), RhoKinHyperonVtxFitter::Compute(), Rho4CFitter::Do4CFit(), Rho4CFitter::Do4CFitWithMassConservation(), RhoKalmanVtxFitter::FitNode(), RhoKalmanVtxFitter::FitVertexFast(), RhoFitterBase::GetChi2(), RhoFitterBase::GetProb(), Rho4CFitter::Rho4CFitter(), Solve(), and RhoKinHyperonFitter::Solve().
|
protectedinherited |
Definition at line 69 of file RhoFitterBase.h.
Referenced by RhoKinVtxFitter::Compute(), RhoKinHyperonVtxFitter::Compute(), Rho4CFitter::Do4CFit(), Rho4CFitter::Do4CFitWithMassConservation(), RhoFitterBase::FindAndAddFinalStateDaughters(), Rho4CFitter::Fit(), RhoKinHyperonFitter::Fit(), Fit(), Rho4CFitter::FitConserveMasses(), RhoKinVtxFitter::GetCovariance(), RhoKinHyperonVtxFitter::GetCovariance(), Read4MomKinMatrix(), RhoKinHyperonFitter::Read4MomKinMatrix(), RhoKinVtxFitter::ReadKinMatrix(), RhoKinHyperonVtxFitter::ReadKinMatrix(), RhoKinVtxFitter::ReadMassKinMatrix(), ReadMassKinMatrix(), RhoKinHyperonVtxFitter::ReadMassKinMatrix(), RhoKinVtxFitter::ReadMatrix(), ReadMatrix(), RhoKinHyperonVtxFitter::ReadMatrix(), ReadMomKinMatrix(), RhoKinHyperonFitter::ReadMomKinMatrix(), ReadTotEKinMatrix(), RhoKinHyperonFitter::ReadTotEKinMatrix(), ReadTotMomKinMatrix(), RhoKinHyperonFitter::ReadTotMomKinMatrix(), RhoFitterBase::SetDaugthersFromComposite(), RhoKinVtxFitter::SetMatrices(), SetMatrices(), RhoKinHyperonFitter::SetMatrices(), RhoKinHyperonVtxFitter::SetMatrices(), RhoKinVtxFitter::SetOutput(), SetOutput(), RhoKinHyperonFitter::SetOutput(), RhoKinHyperonVtxFitter::SetOutput(), RhoKinHyperonVtxFitter::TransportToPoca(), RhoKinVtxFitter::TransportToVertex(), and RhoKinHyperonVtxFitter::TransportToVertex().
|
private |
Definition at line 73 of file RhoKinFitter.h.
Referenced by AddTotEConstraint(), and ReadTotEKinMatrix().
|
protectedinherited |
Definition at line 62 of file RhoFitterBase.h.
Referenced by Rho4CFitter::Fit(), Fit(), RhoKinHyperonFitter::Fit(), RhoFitterBase::Fit(), RhoFitterBase::FitAll(), Rho4CFitter::FitConserveMasses(), RhoFitterBase::HeadOfTree(), RhoKinHyperonFitter::ReadMatrix(), RhoFitterBase::RhoFitterBase(), RhoKalmanVtxFitter::RhoKalmanVtxFitter(), RhoKinHyperonFitter::SetMatrices(), SetOutput(), and RhoKinHyperonFitter::SetOutput().
|
private |
Definition at line 71 of file RhoKinFitter.h.
Referenced by Add4MomConstraint(), and Read4MomKinMatrix().
|
private |
Definition at line 70 of file RhoKinFitter.h.
Referenced by AddMassConstraint(), and ReadMassKinMatrix().
|
private |
Definition at line 79 of file RhoKinFitter.h.
Referenced by AddMassConstraint(), Fit(), RhoKinFitter(), SetOutput(), and Solve().
|
private |
Definition at line 57 of file RhoKinFitter.h.
Referenced by Read4MomKinMatrix(), ReadMassKinMatrix(), ReadMomKinMatrix(), ReadTotEKinMatrix(), ReadTotMomKinMatrix(), SetMatrices(), Solve(), and ZeroMatrices().
|
private |
Definition at line 59 of file RhoKinFitter.h.
Referenced by Read4MomKinMatrix(), ReadMassKinMatrix(), ReadMomKinMatrix(), ReadTotEKinMatrix(), ReadTotMomKinMatrix(), SetMatrices(), Solve(), and ZeroMatrices().
|
private |
Definition at line 58 of file RhoKinFitter.h.
Referenced by SetMatrices(), and ZeroMatrices().
|
private |
Definition at line 72 of file RhoKinFitter.h.
Referenced by AddMomConstraint(), and ReadMomKinMatrix().
|
private |
Definition at line 74 of file RhoKinFitter.h.
Referenced by AddTotMomConstraint(), and ReadTotMomKinMatrix().
|
private |
Definition at line 77 of file RhoKinFitter.h.
Referenced by AddMomConstraint(), Fit(), RhoKinFitter(), SetOutput(), and Solve().
|
private |
Definition at line 60 of file RhoKinFitter.h.
Referenced by SetMatrices(), Solve(), and ZeroMatrices().
|
private |
Definition at line 65 of file RhoKinFitter.h.
Referenced by Read4MomKinMatrix(), ReadMassKinMatrix(), ReadMomKinMatrix(), ReadTotEKinMatrix(), ReadTotMomKinMatrix(), and SetMatrices().
|
private |
Definition at line 64 of file RhoKinFitter.h.
Referenced by SetMatrices(), and Solve().
|
protectedinherited |
Definition at line 75 of file RhoFitterBase.h.
Referenced by RhoKalmanVtxFitter::Calculate(), RhoKinVtxFitter::Compute(), RhoKinHyperonVtxFitter::Compute(), Rho4CFitter::Do4CFit(), Rho4CFitter::Do4CFitWithMassConservation(), RhoKalmanVtxFitter::FitVertexFast(), RhoFitterBase::GetNdf(), RhoFitterBase::GetProb(), SetOutput(), and RhoKinHyperonFitter::SetOutput().
|
private |
Definition at line 66 of file RhoKinFitter.h.
Referenced by SetMatrices().
|
private |
Definition at line 63 of file RhoKinFitter.h.
Referenced by SetMatrices().
|
private |
Definition at line 68 of file RhoKinFitter.h.
Referenced by Fit(), and SetMatrices().
|
private |
Definition at line 67 of file RhoKinFitter.h.
|
private |
Definition at line 62 of file RhoKinFitter.h.
Referenced by SetMatrices().
|
private |
Definition at line 83 of file RhoKinFitter.h.
|
private |
Definition at line 78 of file RhoKinFitter.h.
Referenced by AddTotEConstraint(), Fit(), RhoKinFitter(), SetOutput(), and Solve().
|
private |
Definition at line 80 of file RhoKinFitter.h.
Referenced by AddTotMomConstraint(), Fit(), RhoKinFitter(), SetOutput(), and Solve().
|
private |
Definition at line 54 of file RhoKinFitter.h.
Referenced by ReadMatrix(), SetMatrices(), SetOutput(), Solve(), and ZeroMatrices().
|
private |
Definition at line 55 of file RhoKinFitter.h.
Referenced by SetMatrices(), and ZeroMatrices().
|
protectedinherited |
Definition at line 58 of file RhoFitterBase.h.
Referenced by RhoKalmanVtxFitter::Calculate(), RhoKinVtxFitter::Compute(), RhoKinHyperonVtxFitter::Compute(), RhoKalmanVtxFitter::FitVertexFast(), RhoKalmanVtxFitter::RhoKalmanVtxFitter(), RhoKalmanVtxFitter::SetDebug(), RhoKinVtxFitter::SetOutput(), RhoKinHyperonVtxFitter::SetOutput(), RhoKalmanVtxFitter::SetSilent(), and RhoFitterBase::SetVerbose().