FairRoot/PandaRoot
|
#include <RhoFitterBase.h>
Public Member Functions | |
RhoFitterBase () | |
RhoFitterBase (RhoCandidate *decayTree) | |
RhoFitterBase (const RhoFitterBase &) | |
~RhoFitterBase () | |
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 |
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 | |
Bool_t | IterateAndFit (RhoCandidate *b) |
Private Attributes | |
std::map< Int_t, Double_t > | fChi2Map |
! each particle's contribution to the chi^2 More... | |
Definition at line 21 of file RhoFitterBase.h.
|
inline |
RhoFitterBase::RhoFitterBase | ( | RhoCandidate * | decayTree | ) |
Definition at line 30 of file RhoFitterBase.cxx.
References CopyTree(), fChi2Map, and fHeadOfTree.
RhoFitterBase::RhoFitterBase | ( | const RhoFitterBase & | other | ) |
RhoFitterBase::~RhoFitterBase | ( | ) |
Definition at line 38 of file RhoFitterBase.cxx.
Double_t RhoFitterBase::Chi2Contribution | ( | const RhoCandidate * | b | ) |
access to the fitted candidates
Definition at line 86 of file RhoFitterBase.cxx.
References Double_t, fChi2Map, uid(), and RhoCandidate::Uid().
|
protected |
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 CopyTree().
|
protected |
Definition at line 61 of file RhoFitterBase.cxx.
References CopyCand(), RhoCandidate::Daughter(), i, RhoCandidate::IsComposite(), RhoCandidate::NDaughters(), and RhoCandidate::SetMotherLink().
Referenced by RhoFitterBase().
|
protected |
Definition at line 149 of file RhoFitterBase.cxx.
References RhoCandidate::Daughter(), fDaughters, RhoCandidate::IsComposite(), RhoCandidate::IsLocked(), and RhoCandidate::NDaughters().
Referenced by Rho4CFitter::Fit(), RhoKinFitter::Fit(), and Rho4CFitter::FitConserveMasses().
Bool_t RhoFitterBase::Fit | ( | ) |
This function has to be overridden by the real algoritms implementations
Definition at line 95 of file RhoFitterBase.cxx.
References fChi2Map, fHeadOfTree, and 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().
Bool_t RhoFitterBase::FitAll | ( | ) |
Definition at line 101 of file RhoFitterBase.cxx.
References fHeadOfTree, RhoCandidate::IsLocked(), and IterateAndFit().
|
protectedvirtual |
Reimplemented in RhoKinHyperonVtxFitter, RhoKinVtxFitter, and RhoKalmanVtxFitter.
Definition at line 130 of file RhoFitterBase.cxx.
Referenced by Fit(), and IterateAndFit().
|
inline |
Definition at line 48 of file RhoFitterBase.h.
References 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().
|
inline |
Definition at line 49 of file RhoFitterBase.h.
References fNDegreesOfFreedom.
Referenced by poormantracks(), and PndRhoTupleQA::qaFitter().
|
inline |
Definition at line 50 of file RhoFitterBase.h.
References fChiSquare, and 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().
|
inlineprotected |
|
inlineprotected |
Definition at line 66 of file RhoFitterBase.h.
References fChi2Map, and RhoCandidate::Uid().
Referenced by RhoKalmanVtxFitter::Calculate().
|
private |
Definition at line 112 of file RhoFitterBase.cxx.
References Bool_t, RhoCandidate::Daughter(), FitNode(), i, RhoCandidate::IsComposite(), RhoCandidate::IsLocked(), and RhoCandidate::NDaughters().
Referenced by FitAll().
|
protected |
Definition at line 136 of file RhoFitterBase.cxx.
References RhoCandidate::Daughter(), fDaughters, RhoCandidate::IsComposite(), and RhoCandidate::NDaughters().
Referenced by RhoKinHyperonFitter::Fit(), RhoKinVtxFitter::FitNode(), RhoKinHyperonVtxFitter::FitNode(), and RhoKinHyperonFitter::SetMatrices().
|
protected |
Definition at line 178 of file RhoFitterBase.cxx.
References RhoCandidate::SetDecayVtx().
Referenced by RhoKalmanVtxFitter::Calculate(), RhoKinVtxFitter::SetOutput(), and RhoKinHyperonVtxFitter::SetOutput().
|
protected |
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().
|
inline |
Definition at line 52 of file RhoFitterBase.h.
! each particle's contribution to the chi^2
Definition at line 80 of file RhoFitterBase.h.
Referenced by Chi2Contribution(), Fit(), InsertChi2(), and RhoFitterBase().
|
protected |
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(), GetChi2(), GetProb(), Rho4CFitter::Rho4CFitter(), RhoKinFitter::Solve(), and RhoKinHyperonFitter::Solve().
|
protected |
Definition at line 69 of file RhoFitterBase.h.
Referenced by RhoKinVtxFitter::Compute(), RhoKinHyperonVtxFitter::Compute(), Rho4CFitter::Do4CFit(), Rho4CFitter::Do4CFitWithMassConservation(), FindAndAddFinalStateDaughters(), Rho4CFitter::Fit(), RhoKinHyperonFitter::Fit(), RhoKinFitter::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(), SetDaugthersFromComposite(), RhoKinVtxFitter::SetMatrices(), RhoKinFitter::SetMatrices(), RhoKinHyperonFitter::SetMatrices(), RhoKinHyperonVtxFitter::SetMatrices(), RhoKinVtxFitter::SetOutput(), RhoKinFitter::SetOutput(), RhoKinHyperonFitter::SetOutput(), RhoKinHyperonVtxFitter::SetOutput(), RhoKinHyperonVtxFitter::TransportToPoca(), RhoKinVtxFitter::TransportToVertex(), and RhoKinHyperonVtxFitter::TransportToVertex().
|
protected |
Definition at line 62 of file RhoFitterBase.h.
Referenced by Rho4CFitter::Fit(), RhoKinFitter::Fit(), RhoKinHyperonFitter::Fit(), Fit(), FitAll(), Rho4CFitter::FitConserveMasses(), HeadOfTree(), RhoKinHyperonFitter::ReadMatrix(), RhoFitterBase(), RhoKalmanVtxFitter::RhoKalmanVtxFitter(), RhoKinHyperonFitter::SetMatrices(), RhoKinFitter::SetOutput(), and RhoKinHyperonFitter::SetOutput().
|
protected |
Definition at line 75 of file RhoFitterBase.h.
Referenced by RhoKalmanVtxFitter::Calculate(), RhoKinVtxFitter::Compute(), RhoKinHyperonVtxFitter::Compute(), Rho4CFitter::Do4CFit(), Rho4CFitter::Do4CFitWithMassConservation(), RhoKalmanVtxFitter::FitVertexFast(), GetNdf(), GetProb(), RhoKinFitter::SetOutput(), and RhoKinHyperonFitter::SetOutput().
|
protected |
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 SetVerbose().